branch develop updated (e485b5d -> f580b78)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository pom. See http://git.nuiton.org/pom.git from e485b5d [jgitflow-maven-plugin]Updating develop poms back to pre merge state new 8113f1a Make mandatory javaVersion, signatureArtifactId and signatureVersion (See #3912) new ffe383e Add documentation (See #3912) new f580b78 Fixes #3912 Merge branch 'feature/3912' into develop The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit f580b783ff7d047953f9697eb03705688ee5d806 Merge: e485b5d ffe383e Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:57:44 2016 +0100 Fixes #3912 Merge branch 'feature/3912' into develop commit ffe383eedbf8faf643c947caad823d531d8cea58 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:57:29 2016 +0100 Add documentation (See #3912) commit 8113f1a023ceea01b46a39c7d78168fb600e026d Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:52:28 2016 +0100 Make mandatory javaVersion, signatureArtifactId and signatureVersion (See #3912) Summary of changes: README.md | 3 ++ pom.xml | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 90 insertions(+), 9 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pom. See http://git.nuiton.org/pom.git commit 8113f1a023ceea01b46a39c7d78168fb600e026d Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:52:28 2016 +0100 Make mandatory javaVersion, signatureArtifactId and signatureVersion (See #3912) --- pom.xml | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 87 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 3d4d01e..fb6db7d 100644 --- a/pom.xml +++ b/pom.xml @@ -170,9 +170,13 @@ <properties> - <!-- the redmine plateform used --> + <!-- the redmine plateform used (filled by direct child of pom) --> <platform /> + <!-- ////////////////////////////////////////////////////////////////// --> + <!-- //// Mandatory properties you need to define in your project //// --> + <!-- ////////////////////////////////////////////////////////////////// --> + <!-- a proprerty to define the id of the project, in a multi-module project, you must use a hard-cored value, otherwise for modules the artifactId will be expanded , otherwise, no need to override it @@ -182,6 +186,21 @@ <!-- a proprerty to define the id of the ci view. --> <ciViewId /> + <!-- To define java level (use 1.6, 1.7 or 1.8) --> + <javaVersion/> + + <!-- + To define which java level to check in your java code (should be synch with javaVersion). + Use (16, 17 or 18) (this is the version of the animal-sniffer signature artifactId to use) + --> + <signatureArtifactId/> + + <!-- + To define which java level to check in your java code (should be synch with javaVersion). + Use (1.0 for most case) (this is the version of the animal-sniffer signature version to use) + --> + <signatureVersion/> + <redmineDomain>forge.${platform}</redmineDomain> <!-- default encoding --> @@ -309,7 +328,6 @@ <!-- //// Compiler configuration //// --> <!-- ////////////////////////////////////////////////////////////////// --> - <javaVersion>1.8</javaVersion> <maven.compiler.source>${javaVersion}</maven.compiler.source> <maven.compiler.target>${javaVersion}</maven.compiler.target> <maven.compiler.showWarnings>true</maven.compiler.showWarnings> @@ -923,6 +941,69 @@ </execution> <execution> + <id>enforce-javaVersion</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>validate</phase> + <configuration> + <rules> + <requireProperty> + <property>javaVersion</property> + <message>"javaVersion property must be specified."</message> + <regex>1\.6|1\.7|1\.8$</regex> + <regexMessage>"javaVersion property can not be empty and must be 1.6 or 1.7 or 1.8."</regexMessage> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> + </execution> + + <execution> + <id>enforce-signatureArtifactId</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>validate</phase> + <configuration> + <rules> + <requireProperty> + <property>signatureArtifactId</property> + <message>"signatureArtifactId property must be specified."</message> + <regex>16|17|18$</regex> + <regexMessage>"signatureArtifactId property can not be empty and must be 16 or 17 or 18."</regexMessage> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> + </execution> + + <execution> + <id>enforce-signatureVersion</id> + <goals> + <goal>enforce</goal> + </goals> + <phase>validate</phase> + <configuration> + <rules> + <requireProperty> + <property>signatureVersion</property> + <message>"signatureVersion property must be specified."</message> + <regex>.+$</regex> + <regexMessage>"signatureVersion property can not be empty."</regexMessage> + </requireProperty> + </rules> + <ignoreCache>true</ignoreCache> + <failFast>true</failFast> + <fail>true</fail> + </configuration> + </execution> + + <execution> <id>enforce-java-versions</id> <goals> <goal>enforce</goal> @@ -1094,13 +1175,6 @@ </property> </activation> - <properties> - - <signatureArtifactId>java18</signatureArtifactId> - <signatureVersion>1.0</signatureVersion> - - </properties> - <build> <plugins> @@ -1932,6 +2006,10 @@ <platform>nuiton.org</platform> <projectId>pom</projectId> <ciViewId>dummy</ciViewId> + <javaVersion>1.8</javaVersion> + <signatureArtifactId>18</signatureArtifactId> + <signatureVersion>1.0</signatureVersion> + <!-- Deploy on central release repository --> <release.repository>${central.release.repository}</release.repository> <repository.home.url>${central.release.home.url}</repository.home.url> -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pom. See http://git.nuiton.org/pom.git commit ffe383eedbf8faf643c947caad823d531d8cea58 Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:57:29 2016 +0100 Add documentation (See #3912) --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e0cc941..7d8958c 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,9 @@ * Mandatory property **projectId** project's redmine id * Mandatory property **ciViewId** project's ci view id +* Mandatory property **javaVersion** project's java compilation level (1.6, 1.7 or 1.8) +* Mandatory property **signatureArtifactId** animal-sniffer signature artifact artifactId to check your java code level (16, 17 or 18) +* Mandatory property **signatureVersion** animal-sniffer signatures artifact versionId (1.0) ## To deploy artifacts on *Nexus* Add in maven pom: -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository pom. See http://git.nuiton.org/pom.git commit f580b783ff7d047953f9697eb03705688ee5d806 Merge: e485b5d ffe383e Author: Tony CHEMIT <chemit@codelutin.com> Date: Thu Mar 3 13:57:44 2016 +0100 Fixes #3912 Merge branch 'feature/3912' into develop README.md | 3 ++ pom.xml | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 90 insertions(+), 9 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm