|
@@ -76,9 +76,35 @@
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <artifactId>maven-assembly-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>make-assembly</id>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>single</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ <configuration>
|
|
|
+ <archive>
|
|
|
+ <manifest>
|
|
|
+ <mainClass>info.hkzlab.dupal.analyzer.App</mainClass>
|
|
|
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
+ </manifest>
|
|
|
+ </archive>
|
|
|
+ <descriptorRefs>
|
|
|
+ <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
+ </descriptorRefs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
|
|
|
<plugins>
|
|
|
- <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
|
+ <!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
|
|
|
<plugin>
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
<version>3.1.0</version>
|
|
@@ -103,6 +129,8 @@
|
|
|
<archive>
|
|
|
<manifest>
|
|
|
<mainClass>info.hkzlab.dupal.analyzer.App</mainClass>
|
|
|
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
|
+ <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
|
</manifest>
|
|
|
</archive>
|
|
|
</configuration>
|
|
@@ -124,27 +152,6 @@
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
<version>3.0.0</version>
|
|
|
</plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-assembly-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>package</phase>
|
|
|
- <goals>
|
|
|
- <goal>single</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- <configuration>
|
|
|
- <archive>
|
|
|
- <manifest>
|
|
|
- <mainClass>info.hkzlab.dupal.analyzer.App</mainClass>
|
|
|
- </manifest>
|
|
|
- </archive>
|
|
|
- <descriptorRefs>
|
|
|
- <descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
- </descriptorRefs>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
</plugins>
|
|
|
</pluginManagement>
|
|
|
</build>
|