added copy profile plugin to pom xml

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/my-vres@68235 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-01-23 09:53:33 +00:00
parent d5c0adaac6
commit ad7dd35e27
1 changed files with 27 additions and 1 deletions

28
pom.xml
View File

@ -104,7 +104,7 @@
<execution> <execution>
<goals> <goals>
<goal>compile</goal> <goal>compile</goal>
<!-- <goal>test</goal> --> <!-- <goal>test</goal> -->
</goals> </goals>
</execution> </execution>
</executions> </executions>
@ -161,6 +161,32 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>copy-profile</id>
<phase>install</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target</outputDirectory>
<resources>
<resource>
<directory>${distroDirectory}</directory>
<filtering>true</filtering>
<includes>
<include>profile.xml</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>