72 lines
1.9 KiB
Plaintext
72 lines
1.9 KiB
Plaintext
|
<build>
|
||
|
<finalName>+final.name+</finalName>
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>${basedir}/src/main/resources</directory>
|
||
|
<includes>
|
||
|
<include>*.properties</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>+maven.compiler.plugin+</version>
|
||
|
<configuration>
|
||
|
<source>${pom.java.version}</source>
|
||
|
<target>${pom.java.version}</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-war-plugin</artifactId>
|
||
|
<version>+maven.war.plugin+</version>
|
||
|
<configuration>
|
||
|
<packagingExcludes>.svn/,**/.svn/</packagingExcludes>
|
||
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<artifactId>maven-clean-plugin</artifactId>
|
||
|
<version>+maven.clean.plugin+</version>
|
||
|
<configuration>
|
||
|
<filesets>
|
||
|
<fileset>
|
||
|
<directory>${basedir}/src/main/webapp/WEB-INF/lib</directory>
|
||
|
<includes>
|
||
|
<include>*.jar</include>
|
||
|
</includes>
|
||
|
</fileset>
|
||
|
<fileset>
|
||
|
<directory>${basedir}/src/main/webapp/WEB-INF/classes</directory>
|
||
|
<includes>
|
||
|
<include>*.properties</include>
|
||
|
<include>**/*.class</include>
|
||
|
<include>*.xml</include>
|
||
|
</includes>
|
||
|
</fileset>
|
||
|
</filesets>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.codehaus.mojo</groupId>
|
||
|
<artifactId>properties-maven-plugin</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
<executions>
|
||
|
<execution>
|
||
|
<phase>initialize</phase>
|
||
|
<goals>
|
||
|
<goal>read-project-properties</goal>
|
||
|
</goals>
|
||
|
<configuration>
|
||
|
<files>
|
||
|
<file>pom.properties</file>
|
||
|
</files>
|
||
|
</configuration>
|
||
|
</execution>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|