Reorganizing POM to understand better phases and task performed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/distributions/smartgears-distribution-bundle@114084 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b33d58b805
commit
5218818b86
42
pom.xml
42
pom.xml
|
@ -17,7 +17,7 @@
|
|||
|
||||
<properties>
|
||||
<distroDirectory>distro</distroDirectory>
|
||||
<smartgearDirectory>SmartGear</smartgearDirectory>
|
||||
<smartgearDirectory>SmartGears</smartgearDirectory>
|
||||
<tomcat.version>7.0.61</tomcat.version>
|
||||
<smartgear.version>1.2.1-SNAPSHOT</smartgear.version>
|
||||
<resourcesDirectory>src/resources</resourcesDirectory>
|
||||
|
@ -60,24 +60,6 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>create-bundle</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${basedir}/${smartgearDirectory}</outputDirectory>
|
||||
<excludeTypes>war</excludeTypes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
|
@ -100,13 +82,13 @@
|
|||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>copy-profile</id>
|
||||
<id>copy-distro</id>
|
||||
<phase>process-resources</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${basedir}/${smartgearDirectory}/info</outputDirectory>
|
||||
<outputDirectory>${basedir}/${smartgearDirectory}/distro</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${distroDirectory}</directory>
|
||||
|
@ -117,6 +99,24 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.5.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>unpack-dependencies</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>unpack-dependencies</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${basedir}/${smartgearDirectory}</outputDirectory>
|
||||
<excludeTypes>war</excludeTypes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.google.code.maven-replacer-plugin</groupId>
|
||||
<artifactId>replacer</artifactId>
|
||||
|
|
Loading…
Reference in New Issue