archidata/README.md

59 lines
937 B
Markdown

Generic backend for archidata in java
===================================
mvn install
// create a single package jar
mvn clean compile assembly:single
generic interface for all KAR web application
auto-update to the last version dependency:
```bash
mvn versions:use-latest-versions
```
Add Gitea in the dependency for the registry:
=============================================
Read instruction for tocken in ~/.m2/setting.xml
edit file: ```~/.m2/settings.xml```
```xml
<settings>
<servers>
<server>
<id>gitea</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
</settings>
```
release:
========
```
export PATH=/usr/lib/jvm/java-18-openjdk/bin:$PATH
mvn install
mvn deploy
```