|
|
@@ -0,0 +1,49 @@
|
|
|
+# assira library
|
|
|
+
|
|
|
+## deployment to maven central
|
|
|
+```
|
|
|
+JDK 8
|
|
|
+mvn clean deploy -P release,asm,common,jdk8
|
|
|
+
|
|
|
+JDK 11
|
|
|
+mvn clean deploy -P release,jdk11
|
|
|
+```
|
|
|
+
|
|
|
+## profiles
|
|
|
+- asm: modules
|
|
|
+- common: modules
|
|
|
+- jdk8: modules
|
|
|
+- jdk11: modules
|
|
|
+- release: settings for deployment
|
|
|
+- offline: disable tests which require internet connection
|
|
|
+
|
|
|
+### activate profile "offline":
|
|
|
+
|
|
|
+```xml
|
|
|
+<profiles>
|
|
|
+ <profile>
|
|
|
+ <id>offline</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ <properties>
|
|
|
+ <net.ranides.offline>true</net.ranides.offline>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+</profiles>
|
|
|
+```
|
|
|
+
|
|
|
+### select correct GPG certificate:
|
|
|
+```xml
|
|
|
+<profiles>
|
|
|
+ <profile>
|
|
|
+ <id>ossrh</id>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ <properties>
|
|
|
+ <gpg.keyname>1D0A66ED980F117DA5037470B83FAF4841FC4F70</gpg.keyname>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+</profiles>
|
|
|
+```
|