|
|
|
@ -124,120 +124,17 @@
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
|
|
|
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/java</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.*</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<version>2.2</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>2.16</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<version>2.5</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-profile</id>
|
|
|
|
|
<phase>install</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>target</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${distroDirectory}</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>profile.xml</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<version>2.2</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<descriptors>
|
|
|
|
|
<descriptor>${distroDirectory}/descriptor.xml</descriptor>
|
|
|
|
|
</descriptors>
|
|
|
|
|
<archive>
|
|
|
|
|
<manifest>
|
|
|
|
|
<mainClass>fully.qualified.MainClass</mainClass>
|
|
|
|
|
</manifest>
|
|
|
|
|
</archive>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>servicearchive</id>
|
|
|
|
|
<phase>install</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<id>make-servicearchive</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- <plugin> -->
|
|
|
|
|
<!-- <artifactId>maven-clean-plugin</artifactId> -->
|
|
|
|
|
<!-- <version>2.5</version> -->
|
|
|
|
|
<!-- <configuration> -->
|
|
|
|
|
<!-- <filesets> -->
|
|
|
|
|
<!-- <fileset> -->
|
|
|
|
|
<!-- <directory>${distroDirectory}</directory> -->
|
|
|
|
|
<!-- <includes> -->
|
|
|
|
|
<!-- <include>**</include> -->
|
|
|
|
|
<!-- </includes> -->
|
|
|
|
|
<!-- <followSymlinks>false</followSymlinks> -->
|
|
|
|
|
<!-- </fileset> -->
|
|
|
|
|
<!-- <fileset> -->
|
|
|
|
|
<!-- <directory>${configDirectory}</directory> -->
|
|
|
|
|
<!-- <includes> -->
|
|
|
|
|
<!-- <include>**</include> -->
|
|
|
|
|
<!-- </includes> -->
|
|
|
|
|
<!-- <followSymlinks>false</followSymlinks> -->
|
|
|
|
|
<!-- </fileset> -->
|
|
|
|
|
<!-- </filesets> -->
|
|
|
|
|
<!-- </configuration> -->
|
|
|
|
|
<!-- </plugin> -->
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|
|
|
|
|