Author: schor
Date: Thu Jul 11 16:07:58 2013
New Revision: 1502263

URL: http://svn.apache.org/r1502263
Log:
[UIMA-3072] do the same changes here as done for the parent-pom in v 
6-snapshot, since this plugin's parent is v5 (in order to make release work).  
Remove the pre-compile approach - not needed.

Modified:
    uima/build/trunk/uima-build-helper-maven-plugin/pom.xml

Modified: uima/build/trunk/uima-build-helper-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/uima/build/trunk/uima-build-helper-maven-plugin/pom.xml?rev=1502263&r1=1502262&r2=1502263&view=diff
==============================================================================
--- uima/build/trunk/uima-build-helper-maven-plugin/pom.xml (original)
+++ uima/build/trunk/uima-build-helper-maven-plugin/pom.xml Thu Jul 11 16:07:58 
2013
@@ -94,35 +94,25 @@
   </dependencies>
 
   <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>precompile-for-maven-plugin-plugin</id>
-            <phase>initialize</phase>
-            <goals>
-              <goal>compile</goal>
-            </goals> 
-          </execution>
-        </executions>       
-      </plugin>
-      
+    <plugins>     
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-plugin-plugin</artifactId>
         <configuration>
           <!-- drop maven-plugin per maven conventions -->
           <goalPrefix>uima-build-helper</goalPrefix>
-<!--           <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> 
-->
+          <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
         </configuration>
         <executions>
           <execution>
-            <id>generated-helpmojo</id>
-            <goals>
-              <goal>helpmojo</goal>
-            </goals>
+            <id>generate-helpmojo</id>
+            <goals><goal>helpmojo</goal></goals>
           </execution>
+          <execution>
+            <!-- force to use process-classes phase so runs after Java 
Annotations are available -->
+            <id>default-descriptor</id>
+            <phase>process-classes</phase>
+         </execution>
         </executions>
       </plugin>
     </plugins>


Reply via email to