Skip to content

Commit 378dc53

Browse files
author
arahman
committed
updated the POM
1 parent 30743fe commit 378dc53

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

RDT1.5/rdt/pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,33 @@
138138
</archive>
139139
</configuration>
140140
</plugin>
141+
<plugin>
142+
<!-- Build an executable JAR -->
143+
<groupId>org.apache.maven.plugins</groupId>
144+
<artifactId>maven-assembly-plugin</artifactId>
145+
<version>3.0.0</version>
146+
<configuration>
147+
<descriptorRefs>
148+
<descriptorRef>jar-with-dependencies</descriptorRef>
149+
</descriptorRefs>
150+
<archive>
151+
<manifest>
152+
<addClasspath>true</addClasspath>
153+
<classpathPrefix>lib/</classpathPrefix>
154+
<mainClass>uk.ac.ebi.aamtool.ReactionDecoder</mainClass>
155+
</manifest>
156+
</archive>
157+
</configuration>
158+
<executions>
159+
<execution>
160+
<id>make-assembly</id> <!-- this is used for inheritance merges -->
161+
<phase>package</phase> <!-- bind to the packaging phase -->
162+
<goals>
163+
<goal>single</goal>
164+
</goals>
165+
</execution>
166+
</executions>
167+
</plugin>
141168
<plugin>
142169
<groupId>org.apache.maven.plugins</groupId>
143170
<artifactId>maven-compiler-plugin</artifactId>

0 commit comments

Comments
 (0)