|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
<distroDirectory>distro</distroDirectory>
|
|
|
|
|
<!-- GWT needs at least java 1.6 -->
|
|
|
|
|
<maven.compiler.source>1.7</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.7</maven.compiler.target>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
|
|
|
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
|
<artifactId>maven-portal-bom</artifactId>
|
|
|
|
|
<version>LATEST</version>
|
|
|
|
|
<version>3.6.0-SNAPSHOT</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
@ -126,15 +126,14 @@
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>1.7</source>
|
|
|
|
|
<target>1.7</target>
|
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<version>2.2</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
@ -143,65 +142,13 @@
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>2.12</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-profile</id>
|
|
|
|
|
<phase>install</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>profile.xml</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<descriptors>
|
|
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
|
|
|
</descriptors>
|
|
|
|
|
<archive>
|
|
|
|
|
<manifest>
|
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
|
</manifest>
|
|
|
|
|
</archive>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>servicearchive</id>
|
|
|
|
|
<phase>install</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|
|
|
|
|