diff options
Diffstat (limited to 'logserver')
-rw-r--r-- | logserver/pom.xml | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/logserver/pom.xml b/logserver/pom.xml index 5f87dd21118..4798d26ea26 100644 --- a/logserver/pom.xml +++ b/logserver/pom.xml @@ -62,24 +62,21 @@ </configuration> </plugin> <plugin> - <artifactId>maven-assembly-plugin</artifactId> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> <configuration> - <archive> - <manifest> + <finalName>${project.artifactId}-jar-with-dependencies</finalName> + <transformers> + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>com.yahoo.logserver.Server</mainClass> - </manifest> - </archive> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> + </transformer> + </transformers> </configuration> <executions> <execution> - <id>make-assembly</id> <phase>package</phase> - <!-- append to the packaging phase. --> <goals> - <goal>single</goal> + <goal>shade</goal> </goals> </execution> </executions> |