Add and filter gcube/extra-resources folder to the output jar/war.
This commit is contained in:
parent
e6051b8b74
commit
01a4ecb6e6
40
pom.xml
40
pom.xml
|
@ -914,6 +914,45 @@
|
|||
<version>${plugin.build.helper.version}</version>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>${plugin.resources.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>copy-web-inf</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}/WEB-INF</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>gcube/extra-resources/WEB-INF</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>copy-meta-inf</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>${project.build.outputDirectory}/META-INF</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>gcube/extra-resources/META-INF</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
|
@ -991,6 +1030,7 @@
|
|||
<plugin.compiler.version>3.8.1</plugin.compiler.version>
|
||||
<plugin.source.version>2.1.2</plugin.source.version>
|
||||
<plugin.javadoc.version>2.8</plugin.javadoc.version>
|
||||
<plugin.resources.version>3.1.0</plugin.resources.version>
|
||||
|
||||
<!-- default value for the distro directory -->
|
||||
<distroDirectory>distro</distroDirectory>
|
||||
|
|
Loading…
Reference in New Issue