2022-11-07 00:26:59 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
|
2023-01-05 00:11:07 +01:00
|
|
|
auto-update to the last version dependency:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
mvn versions:use-latest-versions
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Add Gitea in the dependency for the registry:
|
|
|
|
=============================================
|
2022-11-07 00:26:59 +01:00
|
|
|
|
2022-11-26 00:24:03 +01:00
|
|
|
Read instruction for tocken in ~/.m2/setting.xml
|
|
|
|
|
2023-01-05 00:11:07 +01:00
|
|
|
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>
|
|
|
|
```
|
|
|
|
|
2022-11-26 00:24:03 +01:00
|
|
|
release:
|
2023-01-05 00:11:07 +01:00
|
|
|
========
|
2022-11-26 00:24:03 +01:00
|
|
|
|
2023-01-06 00:25:18 +01:00
|
|
|
```
|
2023-02-17 19:01:53 +01:00
|
|
|
export PATH=/usr/lib/jvm/java-19-openjdk/bin:$PATH
|
2022-11-26 00:24:03 +01:00
|
|
|
mvn install
|
|
|
|
mvn deploy
|
2023-01-06 00:25:18 +01:00
|
|
|
```
|
2022-11-26 00:24:03 +01:00
|
|
|
|
|
|
|
|