Commit c64c7cfc authored by Jean Meurice's avatar Jean Meurice

Tweaks

parent d83f560e
Pipeline #184583 failed with stage
in 2 minutes and 3 seconds
......@@ -269,27 +269,8 @@
</execution>
</executions>
</plugin>
<!-- Shade plugin: Create jar in install folder -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<outputFile>${project.basedir}/install/${project.name}.jar</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<!--<finalName>restful</finalName>-->
<finalName>restful</finalName>
</build>
<distributionManagement>
......
......@@ -243,7 +243,9 @@
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!--<appendAssemblyId>false</appendAssemblyId>-->
<finalName>${project.name}</finalName>
<appendAssemblyId>false</appendAssemblyId>
<outputDirectory>${project.basedir}/install</outputDirectory>
</configuration>
<executions>
<execution>
......@@ -256,30 +258,6 @@
</executions>
</plugin>
<!-- Shade plugin: Create jar in install folder -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>server.rpc.RpcServer</mainClass>
</transformer>
</transformers>
<outputFile>${project.basedir}/install/${project.name}.jar</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment