aptIn16/netui-compiler-test/pom.xml

118 lines
3.4 KiB
XML
Raw Normal View History

2012-09-07 14:10:35 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ aptIn16 - Apt implementation with Java 6 annotation processors.
~ Copyright (C) 2012 Travis Burtrum (moparisthebest)
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published y
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.moparisthebest.aptIn16</groupId>
<artifactId>aptIn16</artifactId>
<version>0.1-SNAPSHOT</version>
2012-09-07 14:10:35 -04:00
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>netui-compiler-test</artifactId>
<name>netui-compiler-test</name>
<properties>
<maven.test.skip>false</maven.test.skip>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.beehive</groupId>
<artifactId>beehive-netui-core</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
</dependency>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-core</artifactId>
<version>1.3.10</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>netui-compiler</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.0-alpha-5</version>
<configuration>
<outputDirectory>${project.build.directory}/generated-sources/apt</outputDirectory>
</configuration>
<executions>
<execution>
<phase>generate-resources</phase>
<goals>
<goal>process</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
<executions>
<execution>
<id>proc-none-compile</id>
<phase>generate-resources</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<compilerArgument>-proc:only</compilerArgument>
<generatedSourcesDirectory>${project.build.directory}/generated-sources/javac
</generatedSourcesDirectory>
<compilerArguments>
<d>${project.build.directory}/generated-sources/javac</d>
</compilerArguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>