Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: bd51318e by Tony Chemit at 2021-02-10T17:32:01+01:00 fix application-assembly profiles: should be able to get a minimal assembly zip on not release build. - - - - - 2 changed files: - client/runner/pom.xml - pom.xml Changes: ===================================== client/runner/pom.xml ===================================== @@ -261,9 +261,20 @@ <goal>run</goal> </goals> </execution> + <execution> + <id>Prepare release files</id> + <phase>integration-test</phase> + <configuration> + <target> + <copy failonerror="true" overwrite="true" file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${applicationJarName}.jar" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> </executions> </plugin> - </plugins> </build> @@ -280,22 +291,17 @@ <properties> <devMode>false</devMode> </properties> - <build> - <plugins> - <plugin> <artifactId>maven-antrun-plugin</artifactId> <inherited>false</inherited> <executions> - <execution> <id>Prepare release files</id> <phase>integration-test</phase> <configuration> <target> - <copy failonerror="true" overwrite="true" file="${project.build.directory}/${project.build.finalName}.jar" tofile="${project.build.directory}/${applicationJarName}.jar" /> <copy failonerror="true" overwrite="true" file="${project.build.directory}/${project.build.finalName}.exe" tofile="${project.build.directory}/${applicationJarName}.exe" /> </target> </configuration> @@ -305,9 +311,9 @@ </execution> </executions> </plugin> - </plugins> </build> </profile> + </profiles> </project> ===================================== pom.xml ===================================== @@ -24,7 +24,7 @@ <parent> <groupId>io.ultreia.maven</groupId> <artifactId>pom</artifactId> - <version>2021.8</version> + <version>2021.9</version> </parent> <groupId>fr.ird.observe</groupId> View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/bd51318e2eec8d0e117e07611c... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/bd51318e2eec8d0e117e07611c... You're receiving this email because of your account on gitlab.com.