Weld SVN: r7012 - archetypes/javaee6-webapp/trunk.
by weld-commits@lists.jboss.org
Author: dan.j.allen
Date: 2010-09-06 11:25:41 -0400 (Mon, 06 Sep 2010)
New Revision: 7012
Modified:
archetypes/javaee6-webapp/trunk/pom.xml
Log:
additional plugin configuration the prevents Eclipse from adding the **/model/*.java filter to the build path
Modified: archetypes/javaee6-webapp/trunk/pom.xml
===================================================================
--- archetypes/javaee6-webapp/trunk/pom.xml 2010-09-04 10:23:21 UTC (rev 7011)
+++ archetypes/javaee6-webapp/trunk/pom.xml 2010-09-06 15:25:41 UTC (rev 7012)
@@ -140,11 +140,10 @@
<configuration>
<source>1.6</source>
<target>1.6</target>
- <compilerArgument>-proc:none</compilerArgument>
</configuration>
<executions>
<execution>
- <id>run-annotation-processors-only</id>
+ <id>annotation-processors-only</id>
<phase>generate-sources</phase>
<configuration>
<compilerArgument>-proc:only</compilerArgument>
@@ -157,6 +156,20 @@
<goal>compile</goal>
</goals>
</execution>
+ <execution>
+ <!-- This execution gets Eclipse to include all classes in the build path -->
+ <id>compile</id>
+ <phase>compile</phase>
+ <configuration>
+ <compilerArgument>-proc:none</compilerArgument>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </configuration>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
</executions>
</plugin>
<!-- Build helper plugin adds the sources generated by the JPA 2 annotation processor to the compile path -->