You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2020/11/14 16:33:05 UTC

[uima-parent-pom] branch feature/UIMA-6254-Move-API-report-post-analysis-script-into-the-build-resources updated (b225359 -> 6b9e670)

This is an automated email from the ASF dual-hosted git repository.

rec pushed a change to branch feature/UIMA-6254-Move-API-report-post-analysis-script-into-the-build-resources
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git.


 discard b225359  [UIMA-6254] Move API report post-analysis script into the build resources
    omit fcb3c5e  Merge branch 'master' into UIMA-6185-Upgrade-parent-POM-plugins
    omit 62bb60a  [UIMA-6293] Migrate UIMA Parent POM to GitHub
    omit 997b946  [UIMA-6185] Upgrade parent POM plugins
    omit 90b31b9  [UIMA-6185] Upgrade parent POM plugins
     new 6b9e670  [UIMA-6254] Move API report post-analysis script into the build resources

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (b225359)
            \
             N -- N -- N   refs/heads/feature/UIMA-6254-Move-API-report-post-analysis-script-into-the-build-resources (6b9e670)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml | 89 +++++++++++++++++++++++++++++------------------------------------
 1 file changed, 40 insertions(+), 49 deletions(-)


[uima-parent-pom] 01/01: [UIMA-6254] Move API report post-analysis script into the build resources

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch feature/UIMA-6254-Move-API-report-post-analysis-script-into-the-build-resources
in repository https://gitbox.apache.org/repos/asf/uima-parent-pom.git

commit 6b9e670656058b9db96d2e6da59d4846377b0db4
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Sat Nov 14 17:32:46 2020 +0100

    [UIMA-6254] Move API report post-analysis script into the build resources
    
    - Update japicmp version
    - Switch to build resources 6-SNAPSHOT which contains the japicmp post-processing Groovy script
    - Extract the japicmp post-processing Groovy script so it can be found and used by japicmp
---
 pom.xml | 89 +++++++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 53 insertions(+), 36 deletions(-)

diff --git a/pom.xml b/pom.xml
index 9396bbd..918159f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -167,7 +167,7 @@
     <!--  *********************************************************************************************************** -->
     <!--  *********************************************************************************************************** -->
     <parentPomPatchVersion>12</parentPomPatchVersion>  <!-- UGH need to change this manually for release !!! -->
-    <uimaBuildResourcesVersion>5</uimaBuildResourcesVersion>
+    <uimaBuildResourcesVersion>6-SNAPSHOT</uimaBuildResourcesVersion>
     <uimaWebsiteUrl>https://uima.apache.org</uimaWebsiteUrl>
     <uimaWebsiteDistributionUrl>scp://people.apache.org/www/uima.apache.org/</uimaWebsiteDistributionUrl>
     <maven.build.timestamp.format>yyMMdd_HHmm</maven.build.timestamp.format>
@@ -774,7 +774,7 @@ Copyright (c) 2003, 2006 IBM Corporation.
           <!-- to support multi-module source-release builds -->
           <plugin>
             <artifactId>maven-assembly-plugin</artifactId>
-            <dependencies>            
+            <dependencies>
               <dependency>
                 <groupId>org.apache.uima</groupId>
                 <artifactId>uima-build-resources</artifactId>
@@ -2441,11 +2441,11 @@ Copyright (c) 2003, 2006 IBM Corporation.
                 <version>${uimaBuildResourcesVersion}</version>
               </dependency>
             </dependencies>
-          </plugin>    
-        </plugins>       
+          </plugin>
+        </plugins>
       </build>
     </profile>
-        
+
     <!-- ********************************** -->
     <!-- *   Build OSGi bundle            * -->
     <!-- ********************************** -->     
@@ -2458,13 +2458,10 @@ Copyright (c) 2003, 2006 IBM Corporation.
       </activation>
            
       <build>  
-        
         <plugins> 
-        
           <plugin>
             <artifactId>maven-resources-plugin</artifactId>
             <executions>
-                            
               <!-- copy the base-bin dir to the osgi dir -->
               <execution>
                 <id>Copy base-bin to osgi</id>
@@ -2563,13 +2560,12 @@ Copyright (c) 2003, 2006 IBM Corporation.
                   <archive>
                     <manifestFile>${project.build.directory}/osgi/META-INF/MANIFEST.MF</manifestFile>
                   </archive>
-                </configuration>                
+                </configuration>
               </execution>
             </executions>
           </plugin>
-                             
         </plugins>
-      </build>             
+      </build>
     </profile>
  
     <!-- ********************************** -->
@@ -2583,14 +2579,11 @@ Copyright (c) 2003, 2006 IBM Corporation.
         </file>
       </activation>
       <build>  
-        
         <plugins>  
-                     
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-resources-plugin</artifactId>
             <executions>
-              
               <!-- add the contents of desc if it exists to the jar.  
                    This puts the things like the WhitespaceTokenizer.xml file into the Jar
                    and makes it easier for users to run this, without installing a pear. 
@@ -2609,7 +2602,7 @@ Copyright (c) 2003, 2006 IBM Corporation.
                   </resources>
                 </configuration>
               </execution>
-                   
+
               <!-- copy the base-bin dir to the pearPackaging dir -->
               <execution>
                 <id>Copy base-bin to pearPackaging</id>
@@ -2628,7 +2621,6 @@ Copyright (c) 2003, 2006 IBM Corporation.
                   </resources>
                 </configuration>
               </execution>
-                                      
             </executions>
           </plugin>
           
@@ -2663,7 +2655,7 @@ Copyright (c) 2003, 2006 IBM Corporation.
                 </configuration>
               </execution>
             </executions>
-          </plugin>              
+          </plugin>
 
           <!-- Attach PEAR artifact after PEAR is built -->
           <plugin>
@@ -2705,7 +2697,6 @@ Copyright (c) 2003, 2006 IBM Corporation.
       <build>
         <pluginManagement>
           <plugins>
-          
             <!--This plugin's configuration is used to store Eclipse m2e settings 
                 only. It has no influence on the Maven build itself. -->
             <plugin>
@@ -3013,36 +3004,62 @@ Copyright (c) 2003, 2006 IBM Corporation.
       </activation>
       
       <properties>
-        <!-- This property must be set in POMs inheriting from this one -->
-        <japicmp.postAnalysisScript />
+        <japicmp.postAnalysisScript>${project.build.directory}/japicmp-resources/japicmp/api-report.groovy</japicmp.postAnalysisScript>
       </properties>
-      
+
       <build>
         <pluginManagement>
           <plugins>
             <plugin>
-	            <groupId>org.apache.rat</groupId>
-		          <artifactId>apache-rat-plugin</artifactId>
-		          <executions>
-		            <execution>
-		              <id>default-cli</id>
-		              <configuration>
-		                <excludes combine.children="append">
-	                    <exclude>**/api-change-report/**/*.*</exclude>
-		                </excludes>
-		              </configuration>
-		            </execution>
-	          </executions>
-	          </plugin>
+              <groupId>org.apache.rat</groupId>
+              <artifactId>apache-rat-plugin</artifactId>
+              <executions>
+                <execution>
+                  <id>default-cli</id>
+                  <configuration>
+                    <excludes combine.children="append">
+                      <exclude>**/api-change-report/**/*.*</exclude>
+                    </excludes>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
           </plugins>
         </pluginManagement> 
         
         <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>provide-japicmp-postAnalysisScript</id>
+                <phase>prepare-package</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.uima</groupId>
+                      <artifactId>uima-build-resources</artifactId>
+                      <version>${uimaBuildResourcesVersion}</version>
+                      <type>jar</type>
+                      <overWrite>true</overWrite>
+                      <outputDirectory>${project.build.directory}/japicmp-resources/</outputDirectory>
+                      <includes>japicmp/api-report.groovy</includes>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        
           <!-- https://siom79.github.io/japicmp/MavenPlugin.html -->
-          <plugin>              
+          <plugin>
             <groupId>com.github.siom79.japicmp</groupId>
             <artifactId>japicmp-maven-plugin</artifactId>
-            <version>0.13.0</version>
+            <version>0.14.4</version>
             <configuration>
               <oldVersion>
                 <dependency>