Author: schor
Date: Thu Jul 11 16:05:29 2013
New Revision: 1502261
URL: http://svn.apache.org/r1502261
Log:
[UIMA-3072] add phase for descriptor mojo, and set skiperror flag for no
annotations found to let helpmojo create the java code.
Modified:
uima/build/trunk/parent-pom/pom.xml
Modified: uima/build/trunk/parent-pom/pom.xml
URL:
http://svn.apache.org/viewvc/uima/build/trunk/parent-pom/pom.xml?rev=1502261&r1=1502260&r2=1502261&view=diff
==============================================================================
--- uima/build/trunk/parent-pom/pom.xml (original)
+++ uima/build/trunk/parent-pom/pom.xml Thu Jul 11 16:05:29 2013
@@ -319,6 +319,25 @@ Copyright (c) 2003, 2006 IBM Corporation
<version>1.7</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <configuration>
+ <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
+ </configuration>
+ <executions>
+ <execution>
+ <!-- force to use process-classes phase so runs after Java
Annotations are available -->
+ <!-- https://issues.apache.org/jira/browse/UIMA-3072 -->
+ <id>default-descriptor</id>
+ <phase>process-classes</phase>
+ <goals><goal>descriptor</goal></goals>
+ </execution>
+ <execution>
+ </execution>
+ </executions>
+ </plugin>
+
<!-- set Java 1.5 as the source and target of compilation -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -2338,9 +2357,4 @@ Copyright (c) 2003, 2006 IBM Corporation
</profile>
</profiles>
- <!-- for v 6, build with the uima-build-helper-maven-plugin because of
mutual version dependencies -->
- <modules>
- <module>../uima-build-helper-maven-plugin</module>
- </modules>
-
</project>
\ No newline at end of file