This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository jtimer. See https://gitlab.nuiton.org/chorem/jtimer.git commit 644ea49022350ca199f01d969a85d9e4ffe07083 Author: Eric Chatellier <chatellier@codelutin.com> Date: Thu Apr 19 10:04:17 2018 +0200 fixes gitlab pages website --- .gitlab-ci.yml | 21 +++++++++ pom.xml | 136 +-------------------------------------------------------- 2 files changed, 22 insertions(+), 135 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e3ad60e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,21 @@ +image: registry.nuiton.org/codelutin/dockerfiles:maven-release + +stages: +- build +- reporting + +build: + stage: build + script: + - mvn install + +pages: + stage: reporting + only: + - develop + artifacts: + paths: + - public + script: + - mvn install && mvn site -Preporting + - mv target/site public \ No newline at end of file diff --git a/pom.xml b/pom.xml index 52f6851..bacf714 100644 --- a/pom.xml +++ b/pom.xml @@ -73,6 +73,7 @@ </roles> </developer> </developers> + <contributors> <contributor> <name>Stéphane Chorlet</name> @@ -301,50 +302,6 @@ </dependency> </dependencies> </plugin> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <version>1.0-beta-7</version> - <configuration> - <!--FIXME Find a way to get correct value of siteDeployClassifier--> - <codebase>http://jtimer.chorem.org/v/${siteDeployClassifier}/jnlp</codebase> - <libPath>lib</libPath> - <makeArchive>false</makeArchive> - <!--<verbose>true</verbose>--> - <updateManifestEntries> - <Application-Name>jTimer ${project.version}</Application-Name> - <Permissions>all-permissions</Permissions> - <Codebase>*</Codebase> - <!--<Application-Library-Allowable-Codebase>*</Application-Library-Allowable-Codebase>--> - <!--<Caller-Allowable-Codebase>*</Caller-Allowable-Codebase>--> - </updateManifestEntries> - <outputJarVersions>false</outputJarVersions> - <jnlp> - <mainClass>${maven.jar.main.class}</mainClass> - <allPermissions>true</allPermissions> - <offlineAllowed>true</offlineAllowed> - <outputFile>${jnlpFileName}</outputFile> - </jnlp> - <sign> - <keystore>${keystorepath}</keystore> - <storepass>${keystorepass}</storepass> - <alias>${keyalias}</alias> - <keypass>${keypass}</keypass> - <verify>true</verify> - <keystoreConfig> - <delete>false</delete> - <gen>false</gen> - </keystoreConfig> - </sign> - <gzip>true</gzip> - <unsign>true</unsign> - <canUnsign>true</canUnsign> - <pack200> - <enabled>false</enabled> - </pack200> - </configuration> - </plugin> </plugins> </pluginManagement> </build> @@ -360,19 +317,6 @@ </activation> <build> <plugins> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>helper-maven-plugin</artifactId> - <executions> - <execution> - <id>compute-distribution-site-url</id> - <goals> - <goal>compute-distribution-site-url</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> @@ -444,83 +388,5 @@ </plugins> </build> </profile> - - <!-- by default jnlp is only perform on a release stage when using the maven-release-plugin --> - <profile> - <id>release-jnlp-profile</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> - <defaultGoal>package</defaultGoal> - <plugins> - <!-- key store secrets availables --> - <plugin> - <groupId>org.nuiton</groupId> - <artifactId>helper-maven-plugin</artifactId> - <executions> - <execution> - <id>get-keystore</id> - <goals> - <goal>share-server-secret</goal> - </goals> - <phase>package</phase> - <configuration> - <serverId>codelutin-keystore</serverId> - <privateKeyOut>keystorepath</privateKeyOut> - <passwordOut>keystorepass</passwordOut> - <usernameOut>keyalias</usernameOut> - <passphraseOut>keypass</passphraseOut> - </configuration> - </execution> - </executions> - </plugin> - - <!-- make webstart --> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <executions> - <execution> - <id>generate-jnlp</id> - <phase>package</phase> - <goals> - <goal>jnlp-single</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <!-- by default jnlp is only perform on a release stage when using the maven-release-plugin --> - <profile> - <id>reporting</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - - <reporting> - <plugins> - - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>webstart-maven-plugin</artifactId> - <version>1.0-beta-7</version> - <configuration> - <siteJnlpFile>${jnlpFileName}</siteJnlpFile> - </configuration> - </plugin> - </plugins> - </reporting> - - </profile> </profiles> </project> -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.