gcube-app.xml has been moved to gcube/extra-resources/WEB-INF thanks to

the new feature available in maven-parent. The section in the pom which
did such a job has been removed because it is not needed anymore.
This commit is contained in:
Luca Frosini 2020-08-06 17:33:40 +02:00
parent f78a87e359
commit 297ac22719
3 changed files with 10 additions and 46 deletions

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<application mode='online'>
<name>${artifactId}</name>
<group>${serviceClass}</group>
<version>${version}</version>
<description>${description}</description>
<local-persistence location='target' />
<exclude handlers='request-accounting'>/*</exclude>
</application>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<application mode='online'>
<name>${project.artifactId}</name>
<group>${serviceClass}</group>
<version>${project.version}</version>
<description>${project.description}</description>
<local-persistence location='target' />
<exclude handlers='request-accounting'>/*</exclude>
</application>

35
pom.xml
View File

@ -89,39 +89,4 @@
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-profile</id>
<goals>
<goal>copy-resources</goal>
</goals>
<phase>process-resources</phase>
<configuration>
<outputDirectory>${webappDirectory}</outputDirectory>
<resources>
<resource>
<directory>${project.basedir}</directory>
<filtering>true</filtering>
<excludes>
<exclude>src</exclude>
</excludes>
<includes>
<include>CHANGELOG.md</include>
<include>LICENSE.md</include>
<include>README.md</include>
<include>gcube-app.xml</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>