2015-03-10 16:12:03 +01:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>org.gcube.tools</groupId>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>smartgears-distribution-bundle</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>A distribution bundle for the SmartGears Framework</name>
|
|
|
|
<description>A distribution bundle for the SmartGears Framework containing Tomcat and ReadMe files to quickly installing smartgear</description>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<distroDirectory>distro</distroDirectory>
|
2015-03-10 18:30:53 +01:00
|
|
|
<tomcat.version>7.0.42</tomcat.version>
|
|
|
|
<smartgear.version>1.2.0-SNAPSHOT</smartgear.version>
|
2015-03-10 17:52:54 +01:00
|
|
|
<resourcesDirectory>src/resources</resourcesDirectory>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2015-03-10 16:12:03 +01:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<scm>
|
|
|
|
<connection>scm:svn:http://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/${project.artifactId}</connection>
|
|
|
|
<developerConnection>scm:svn:https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/${project.artifactId}</developerConnection>
|
|
|
|
<url>http://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/${project.artifactId}</url>
|
|
|
|
</scm>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>maven-smartgears-bom</artifactId>
|
|
|
|
<version>LATEST</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>smartgears-distribution</artifactId>
|
2015-03-10 18:30:53 +01:00
|
|
|
<version>${smartgear.version}</version>
|
2015-03-10 16:12:03 +01:00
|
|
|
<type>tar.gz</type>
|
|
|
|
</dependency>
|
|
|
|
|
2015-03-10 17:52:54 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tomcat</groupId>
|
|
|
|
<artifactId>tomcat</artifactId>
|
2015-03-10 18:30:53 +01:00
|
|
|
<version>${tomcat.version}</version>
|
2015-03-10 17:52:54 +01:00
|
|
|
<type>tar.gz</type>
|
|
|
|
</dependency>
|
2015-03-10 16:12:03 +01:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<version>2.5.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-03-10 17:52:54 +01:00
|
|
|
<id>create-bundle</id>
|
2015-03-10 16:12:03 +01:00
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-03-10 17:52:54 +01:00
|
|
|
<outputDirectory>${basedir}/SmartGear</outputDirectory>
|
2015-03-10 16:12:03 +01:00
|
|
|
<excludeTypes>war</excludeTypes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-03-10 18:30:53 +01:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<executions>
|
2015-03-10 17:52:54 +01:00
|
|
|
<execution>
|
2015-03-10 18:30:53 +01:00
|
|
|
<id>copy-resources</id>
|
2015-03-10 17:52:54 +01:00
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/SmartGear</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${resourcesDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-03-10 16:12:03 +01:00
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|