Skip to content

Commit

Permalink
Updated the maven assembly plugin configs
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov committed Aug 6, 2023
1 parent 6a75bae commit 5ccb714
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion biopax-validator-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<version>3.6.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
Expand Down
19 changes: 15 additions & 4 deletions distr/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,27 @@
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<groupId>org.apache.maven.plugins</groupId>
<configuration>
<finalName>biopax-validator-${project.version}</finalName>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<!--
disabled making zip during install/package phase due to Travis CI fails (heap memory);
do run: mvn assembly:single manually instead
-->
<!--
disable executions here if CI/CD fails during install/package phase (e.g. a memory issue);
run: mvn assembly:single manually instead
-->
<executions>
<execution>
<id>distr-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
7 changes: 2 additions & 5 deletions distr/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<!--
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.2.0 https://maven.apache.org/xsd/assembly-2.2.0.xsd">

-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd">
<id>all</id>

<formats>
Expand Down

0 comments on commit 5ccb714

Please sign in to comment.