summaryrefslogtreecommitdiffstats
path: root/engine-d
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d')
-rw-r--r--engine-d/pom.xml41
1 files changed, 9 insertions, 32 deletions
diff --git a/engine-d/pom.xml b/engine-d/pom.xml
index 6bdc6be..967fa0b 100644
--- a/engine-d/pom.xml
+++ b/engine-d/pom.xml
@@ -316,50 +316,27 @@
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <mainClass>org.onap.holmes.engine.EngineDActiveApp</mainClass>
+ <classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <configuration>
- <createDependencyReducedPom>true</createDependencyReducedPom>
- <filters>
- <filter>
- <artifact>*:*</artifact>
- <excludes>
- <exclude>META-INF/*.SF</exclude>
- <exclude>META-INF/*.DSA</exclude>
- <exclude>META-INF/*.RSA</exclude>
- </excludes>
- </filter>
- <filter>
- <artifact>org.onap.holmes.dsa:dmaap-dsa</artifact>
- <excludes>
- <exclude>org/onap/holmes/common/**</exclude>
- <exclude>com/fasterxml/jackson/core/jackson-databind/**</exclude>
- <exclude>org/slf4j/**</exclude>
- </excludes>
- </filter>
- </filters>
- </configuration>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
+ <id>copy</id>
<phase>package</phase>
<goals>
- <goal>shade</goal>
+ <goal>copy-dependencies</goal>
</goals>
<configuration>
- <transformers>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
- <transformer
- implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
- <mainClass>org.onap.holmes.engine.EngineDActiveApp
- </mainClass>
- </transformer>
- </transformers>
+ <outputDirectory>
+ ${project.build.directory}/lib
+ </outputDirectory>
</configuration>
</execution>
</executions>