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>
|
|
|
|
<artifactId>maven-parent</artifactId>
|
2015-03-13 12:38:33 +01:00
|
|
|
<groupId>org.gcube.tools</groupId>
|
2019-09-27 12:18:22 +02:00
|
|
|
<version>1.1.0</version>
|
2015-03-10 16:12:03 +01:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>smartgears-distribution-bundle</artifactId>
|
2023-03-03 12:13:53 +01:00
|
|
|
<version>3.5.0</version>
|
2015-03-10 16:12:03 +01:00
|
|
|
<packaging>pom</packaging>
|
|
|
|
<name>A distribution bundle for the SmartGears Framework</name>
|
2015-10-09 11:00:03 +02:00
|
|
|
<description>A distribution bundle for the SmartGears Framework containing Tomcat and ReadMe files to install quickly Smartgears</description>
|
2015-03-10 16:12:03 +01:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<distroDirectory>distro</distroDirectory>
|
2015-04-15 18:48:22 +02:00
|
|
|
<targetDirectory>target/bundle</targetDirectory>
|
2015-10-09 11:00:03 +02:00
|
|
|
<smartgearsDirectory>SmartGears-Bundle</smartgearsDirectory>
|
2019-12-04 14:23:46 +01:00
|
|
|
<tomcat.version>8.5.47</tomcat.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>
|
2019-10-03 15:37:27 +02:00
|
|
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
|
|
|
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
|
|
|
|
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
|
2015-03-10 16:12:03 +01:00
|
|
|
</scm>
|
|
|
|
|
|
|
|
<dependencies>
|
2022-07-20 15:13:31 +02:00
|
|
|
|
2015-03-10 16:12:03 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.gcube.distribution</groupId>
|
|
|
|
<artifactId>smartgears-distribution</artifactId>
|
2023-03-03 12:13:53 +01:00
|
|
|
<version>[3.5.0, 4.0.0-SNAPSHOT)</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-10-09 16:54:23 +02: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>
|
2016-01-08 15:18:41 +01:00
|
|
|
|
2015-03-10 16:12:03 +01:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2015-03-10 18:30:53 +01:00
|
|
|
<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-04-15 15:54:14 +02:00
|
|
|
<phase>process-resources</phase>
|
2015-03-10 17:52:54 +01:00
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-10-09 11:00:03 +02:00
|
|
|
<outputDirectory>${basedir}/${targetDirectory}/${smartgearsDirectory}</outputDirectory>
|
2015-03-10 17:52:54 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${resourcesDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
2015-03-11 16:52:07 +01:00
|
|
|
<execution>
|
2015-04-15 18:33:55 +02:00
|
|
|
<id>copy-distro</id>
|
2015-04-15 15:54:14 +02:00
|
|
|
<phase>process-resources</phase>
|
2015-03-13 12:07:50 +01:00
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
2015-03-11 16:52:07 +01:00
|
|
|
<configuration>
|
2015-10-09 11:00:03 +02:00
|
|
|
<outputDirectory>${basedir}/${targetDirectory}/${smartgearsDirectory}/distro</outputDirectory>
|
2015-03-13 12:07:50 +01:00
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
2015-03-11 16:52:07 +01:00
|
|
|
</configuration>
|
2015-03-13 12:07:50 +01:00
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-04-15 18:33:55 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2019-10-09 16:35:55 +02:00
|
|
|
<version>3.1.1</version>
|
2015-04-15 18:33:55 +02:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>unpack-dependencies</id>
|
2015-04-15 18:48:22 +02:00
|
|
|
<phase>compile</phase>
|
2015-04-15 18:33:55 +02:00
|
|
|
<goals>
|
|
|
|
<goal>unpack-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2015-10-09 11:00:03 +02:00
|
|
|
<outputDirectory>${basedir}/${targetDirectory}/${smartgearsDirectory}</outputDirectory>
|
2016-01-08 15:18:41 +01:00
|
|
|
<excludeTypes>jar,war</excludeTypes>
|
2015-04-15 18:33:55 +02:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-04-15 15:54:14 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
|
|
|
<artifactId>replacer</artifactId>
|
|
|
|
<version>1.5.3</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
2015-04-15 18:25:29 +02:00
|
|
|
<phase>package</phase>
|
2015-04-15 15:54:14 +02:00
|
|
|
<goals>
|
|
|
|
<goal>replace</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
2016-10-05 11:55:59 +02:00
|
|
|
<includes>
|
|
|
|
<include>${basedir}/${targetDirectory}/${smartgearsDirectory}/smartgears-distribution-*/container.xml</include>
|
|
|
|
</includes>
|
2015-04-15 15:54:14 +02:00
|
|
|
<replacements>
|
|
|
|
<replacement>
|
|
|
|
<token>UnBundled</token>
|
|
|
|
<value>${project.version}</value>
|
|
|
|
</replacement>
|
|
|
|
</replacements>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-03-13 12:07:50 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
<descriptors>
|
2015-03-13 12:33:12 +01:00
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
2015-03-13 12:07:50 +01:00
|
|
|
</descriptors>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>bundle</id>
|
|
|
|
<phase>package</phase>
|
2015-03-11 16:52:07 +01:00
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2015-03-10 16:12:03 +01:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|