Replacing <property name='SmartGearDistributionBundle' value='UnBundled' /> in container.xml so that the SmartGearDistributionBundle version will be available on ghn profile. Refs. #3320

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution-bundle@114071 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-04-15 13:54:14 +00:00
parent d6b4713471
commit bb8b1a3390
1 changed files with 27 additions and 5 deletions

32
pom.xml
View File

@ -10,7 +10,7 @@
<groupId>org.gcube.distribution</groupId>
<artifactId>smartgears-distribution-bundle</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<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>
@ -18,8 +18,8 @@
<properties>
<distroDirectory>distro</distroDirectory>
<smartgearDirectory>SmartGear</smartgearDirectory>
<tomcat.version>7.0.42</tomcat.version>
<smartgear.version>1.2.0-SNAPSHOT</smartgear.version>
<tomcat.version>7.0.61</tomcat.version>
<smartgear.version>1.2.1-SNAPSHOT</smartgear.version>
<resourcesDirectory>src/resources</resourcesDirectory>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@ -85,10 +85,10 @@
<executions>
<execution>
<id>copy-resources</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${basedir}/${smartgearDirectory}</outputDirectory>
<resources>
@ -101,10 +101,10 @@
</execution>
<execution>
<id>copy-profile</id>
<phase>process-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${basedir}/${smartgearDirectory}/info</outputDirectory>
<resources>
@ -117,6 +117,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<phase>pre-integration-test</phase>
<goals>
<goal>replace</goal>
</goals>
</execution>
</executions>
<configuration>
<file>${basedir}/${smartgearDirectory}/smartgears-distribution-${smartgear.version}/container.xml</file>
<replacements>
<replacement>
<token>UnBundled</token>
<value>${project.version}</value>
</replacement>
</replacements>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>