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:34:08 +02:00
parent e85f28ae70
commit 9e9694c7de
3 changed files with 9 additions and 45 deletions

View File

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

View File

@ -0,0 +1,9 @@
<?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' />
</application>

35
pom.xml
View File

@ -116,39 +116,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>