[MPL2] generic back tools for all websites (simplify back development). it contains a tool to simply access and request bdd with object introspection
.github | ||
src/org/kar/archidata | ||
test | ||
tools | ||
.checkstyle | ||
.classpath | ||
.gitignore | ||
.jenkinsfile | ||
.project | ||
CheckStyle.xml | ||
CleanUp.xml | ||
dependabot.yml | ||
Formatter.xml | ||
LICENSE | ||
pom.xml | ||
README.md | ||
version.txt |
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
Somes tools:
Auto-update dependency:
auto-update to the last version dependency:
mvn versions:use-latest-versions
Format the code
Simply run the cmd-line:
mvn formatter:format
Add Gitea in the dependency for the registry:
Read instruction for tocken in ~/.m2/setting.xml
edit file: ~/.m2/settings.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=$(ls -d --color=never /usr/lib/jvm/java-2*-openjdk)/bin:$PATH
mvn install
mvn deploy