fixed pom for jenkins

This commit is contained in:
Massimiliano Assante 2019-11-07 10:07:48 +01:00
parent fd5a75915e
commit 04a53c8373
1 changed files with 22 additions and 39 deletions

61
pom.xml
View File

@ -2,12 +2,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId> <groupId>org.gcube.tools</groupId>
<version>1.0.0</version> <artifactId>maven-parent</artifactId>
<version>1.1.0</version>
<relativePath /> <relativePath />
</parent> </parent>
<groupId>org.gcube.applicationsupportlayer</groupId> <groupId>org.gcube.applicationsupportlayer</groupId>
<artifactId>aslvre</artifactId> <artifactId>aslvre</artifactId>
<version>6.9.0-SNAPSHOT</version> <version>6.9.0-SNAPSHOT</version>
@ -17,9 +18,9 @@
VRE Management VRE Management
</description> </description>
<scm> <scm>
<connection>scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/application-support-layer/${project.artifactId}</connection> <connection>scm:git:https://code-repo.d4science.org/gCubeSystem/aslvre.git</connection>
<developerConnection>scm:https://svn.d4science.research-infrastructures.eu/gcube/trunk/trunk/application-support-layer/${project.artifactId}</developerConnection> <developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/aslvre.git</developerConnection>
<url>http://svn.d4science.research-infrastructures.eu/gcube/trunk/application-support-layer/${project.artifactId}</url> <url>https://code-repo.d4science.org/gCubeSystem/aslvre</url>
</scm> </scm>
<properties> <properties>
<distroDirectory>distro</distroDirectory> <distroDirectory>distro</distroDirectory>
@ -88,36 +89,25 @@
</resource> </resource>
</resources> </resources>
<plugins> <plugins>
<plugin> <!-- SA Plugin -->
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2</version> <configuration>
<descriptors>
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
</descriptors>
</configuration>
<executions> <executions>
<execution> <execution>
<id>servicearchive</id>
<phase>install</phase>
<goals> <goals>
<goal>test-jar</goal> <goal>single</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
@ -144,27 +134,20 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>2.2</version>
<configuration> <configuration>
<descriptors> <additionalparam>-Xdoclint:none</additionalparam>
<descriptor>${distroDirectory}/descriptor.xml</descriptor> <additionalJOption>-Xdoclint:none</additionalJOption>
</descriptors>
<archive>
<manifest>
<mainClass>fully.qualified.MainClass</mainClass>
</manifest>
</archive>
</configuration> </configuration>
<version>3.1.0</version>
<executions> <executions>
<execution> <execution>
<id>servicearchive</id> <id>generate-doc</id>
<phase>install</phase> <phase>install</phase>
<goals> <goals>
<goal>single</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>