added in pom maven resource-plugin for gcubeapp.xml version issue
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/whn-manager@91818 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fdac4fd1cf
commit
d4125cc774
|
@ -0,0 +1,8 @@
|
|||
<application mode='online'>
|
||||
<name>WhnManager</name>
|
||||
<group>VREManagement</group>
|
||||
<version>${version}</version>
|
||||
<description>Web Hosting Node Service</description>
|
||||
<local-persistence location='target' />
|
||||
</application>
|
||||
|
33
pom.xml
33
pom.xml
|
@ -10,6 +10,10 @@
|
|||
<artifactId>whn-manager</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<packaging>war</packaging>
|
||||
<properties>
|
||||
<webappDirectory>${project.basedir}/src/main/webapp/WEB-INF</webappDirectory>
|
||||
<distroDirectory>${project.basedir}/distro</distroDirectory>
|
||||
</properties>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -71,6 +75,35 @@
|
|||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- interpolates profiles and copies from distribution location to configuration
|
||||
location, where it is need for embedding into stub artifact, gar generation,
|
||||
and service archive. -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-profile</id>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<phase>process-resources</phase>
|
||||
<configuration>
|
||||
<outputDirectory>${webappDirectory}</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${distroDirectory}</directory>
|
||||
<includes>
|
||||
<include>gcube-app.xml</include>
|
||||
</includes>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
|
|
Loading…
Reference in New Issue