Fixed pom

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@158021 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-10-30 15:23:05 +00:00
parent b2f86879dd
commit 394f39918d
1 changed files with 15 additions and 10 deletions

25
pom.xml
View File

@ -157,19 +157,23 @@
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
</descriptors>
</configuration>
<executions> <executions>
<execution> <execution>
<id>servicearchive</id> <id>copy-profile</id>
<phase>install</phase>
<goals> <goals>
<goal>single</goal> <goal>copy-resources</goal>
</goals> </goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${webappDirectory}</outputDirectory>
<resources>
<resource>
<directory>${distroDirectory}</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
@ -179,10 +183,11 @@
<configuration> <configuration>
<warName>${artifactId}</warName> <warName>${artifactId}</warName>
<failOnMissingWebXml>false</failOnMissingWebXml> <failOnMissingWebXml>false</failOnMissingWebXml>
<!-- webXml>src\main\webapp\WEB-INF\web.xml</webXml -->
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>war</id> <id>servicearchive</id>
<phase>install</phase> <phase>install</phase>
<goals> <goals>
<goal>war</goal> <goal>war</goal>