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:18 +02:00
parent c851894ca9
commit d9e90d51a5
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'>
<name>${project.artifactId}</name>
<group>${serviceClass}</group>
<version>${project.version}</version>
<description>${project.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

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