Reorganized Package Creation

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution-bundle@114085 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-04-15 16:48:22 +00:00
parent 5218818b86
commit cbb86160ff
2 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@
<baseDirectory>/</baseDirectory>
<fileSets>
<fileSet>
<directory>${smartgearDirectory}</directory>
<directory>${targetDirectory}/</directory>
<outputDirectory>/</outputDirectory>
<useDefaultExcludes>true</useDefaultExcludes>
<fileMode>755</fileMode>

13
pom.xml
View File

@ -17,7 +17,8 @@
<properties>
<distroDirectory>distro</distroDirectory>
<smartgearDirectory>SmartGears</smartgearDirectory>
<targetDirectory>target/bundle</targetDirectory>
<smartgearDirectory>SmartGears-Bundle</smartgearDirectory>
<tomcat.version>7.0.61</tomcat.version>
<smartgear.version>1.2.1-SNAPSHOT</smartgear.version>
<resourcesDirectory>src/resources</resourcesDirectory>
@ -72,7 +73,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/${smartgearDirectory}</outputDirectory>
<outputDirectory>${basedir}/${targetDirectory}/${smartgearDirectory}</outputDirectory>
<resources>
<resource>
<directory>${resourcesDirectory}</directory>
@ -88,7 +89,7 @@
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/${smartgearDirectory}/distro</outputDirectory>
<outputDirectory>${basedir}/${targetDirectory}/${smartgearDirectory}/distro</outputDirectory>
<resources>
<resource>
<directory>${distroDirectory}</directory>
@ -106,12 +107,12 @@
<executions>
<execution>
<id>unpack-dependencies</id>
<phase>package</phase>
<phase>compile</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/${smartgearDirectory}</outputDirectory>
<outputDirectory>${basedir}/${targetDirectory}/${smartgearDirectory}</outputDirectory>
<excludeTypes>war</excludeTypes>
</configuration>
</execution>
@ -130,7 +131,7 @@
</execution>
</executions>
<configuration>
<file>${basedir}/${smartgearDirectory}/smartgears-distribution-${smartgear.version}/container.xml</file>
<file>${basedir}/${targetDirectory}/${smartgearDirectory}/smartgears-distribution-${smartgear.version}/container.xml</file>
<replacements>
<replacement>
<token>UnBundled</token>