Fixed pom to create uber-jar
Refs #11760: Refactor accounting-dashboard-harvester-se-plugin to support new DB schema Task-Url: https://support.d4science.org/issues/11760 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@171299 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
03aa4b0c42
commit
6cba9d5b22
43
pom.xml
43
pom.xml
|
@ -190,57 +190,20 @@
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<version>2.3.2</version>
|
|
||||||
<configuration>
|
|
||||||
<source>${maven.compiler.source}</source>
|
|
||||||
<target>${maven.compiler.target}</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>servicearchive</id>
|
<id>make-uberjar</id>
|
||||||
<phase>install</phase>
|
<phase>install</phase>
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<descriptors>
|
|
||||||
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
||||||
</descriptors>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<id>make-servicearchive</id>
|
||||||
<goals>
|
<phase>install</phase>
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<descriptorRefs>
|
|
||||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
||||||
</descriptorRefs>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<!-- <plugin> -->
|
|
||||||
<!-- <groupId>org.apache.maven.plugins</groupId> -->
|
|
||||||
<!-- <artifactId>maven-assembly-plugin</artifactId> -->
|
|
||||||
<!-- <executions> -->
|
|
||||||
<!-- <execution> -->
|
|
||||||
<!-- <id>make-uberjar</id> -->
|
|
||||||
<!-- <phase>install</phase> -->
|
|
||||||
<!-- </execution> -->
|
|
||||||
<!-- <execution> -->
|
|
||||||
<!-- <id>make-servicearchive</id> -->
|
|
||||||
<!-- <phase>install</phase> -->
|
|
||||||
<!-- </execution> -->
|
|
||||||
<!-- </executions> -->
|
|
||||||
<!-- </plugin> -->
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue