You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/08/18 23:53:42 UTC

[commons-numbers] branch master updated (90007a8 -> b2ebde6)

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

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git.


    from 90007a8  Remove duplicate ConstantName module
     new 31e1624  Remove plugin checks from default goal
     new 4894c3c  Update plugin order in pom
     new 479bcdf  Remove checksum from installed artifacts
     new b2ebde6  Update distribution source archive specification

The 4 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:
 dist-archive/pom.xml              |  6 ------
 dist-archive/src/assembly/src.xml |  8 ++++----
 pom.xml                           | 38 +++++++++++++++++++++++++++-----------
 3 files changed, 31 insertions(+), 21 deletions(-)

[commons-numbers] 01/04: Remove plugin checks from default goal

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 31e1624b03c33590c60118207f2c92b6c7682bc2
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:47:22 2021 +0100

    Remove plugin checks from default goal
    
    These plugins already run using executions:
    
    apache-rat:check (validate)
    checkstyle:check (verify)
    
    Added to verify using executions:
    
    pmd:check
    spotbugs:check
---
 pom.xml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 703824a..379f070 100644
--- a/pom.xml
+++ b/pom.xml
@@ -206,7 +206,7 @@
 
   <build>
     <!--  TODO: Add binary compatibility check when released. -->
-    <defaultGoal>clean verify apache-rat:check checkstyle:check pmd:check spotbugs:check javadoc:javadoc</defaultGoal>
+    <defaultGoal>clean verify javadoc:javadoc</defaultGoal>
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
@@ -285,6 +285,14 @@
           <effort>Default</effort>
           <excludeFilterFile>${numbers.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
         </configuration>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
@@ -315,6 +323,14 @@
             <excludeRoot>target/generated-sources</excludeRoot>
           </excludeRoots>
         </configuration>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <plugin>
         <groupId>org.apache.rat</groupId>

[commons-numbers] 04/04: Update distribution source archive specification

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit b2ebde60f6b071edd6698310fd49379641ce6b20
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:50:02 2021 +0100

    Update distribution source archive specification
    
    Copy from commons-rng multi-module project
---
 dist-archive/src/assembly/src.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml
index 9bba2c4..8aa97ea 100644
--- a/dist-archive/src/assembly/src.xml
+++ b/dist-archive/src/assembly/src.xml
@@ -23,12 +23,12 @@ limitations under the License.
   <baseDirectory>${project.artifactId}-${project.version}-src</baseDirectory>
   <fileSets>
     <fileSet>
-      <directory>${project.basedir}/..</directory>
+      <directory>../</directory>
       <excludes>
-        <exclude>${project.build.directory}/**</exclude>
-        <exclude>**/.*/**</exclude>
-        <exclude>**/${project.build.directory}/**</exclude>
+        <exclude>**/.git/**</exclude>
         <exclude>**/site-content/**</exclude>
+        <exclude>site-content.README</exclude>
+        <exclude>**/target/**</exclude>
       </excludes>
     </fileSet>
   </fileSets>

[commons-numbers] 03/04: Remove checksum from installed artifacts

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 479bcdfa9ea1d39e01da70660f97d17cfd8b4cb0
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:48:54 2021 +0100

    Remove checksum from installed artifacts
    
    This creates md5 and sha1 checksums for the dist-archive pom in the
    local maven repository. It is not required.
---
 dist-archive/pom.xml | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dist-archive/pom.xml b/dist-archive/pom.xml
index a69ecf6..59f6bc2 100644
--- a/dist-archive/pom.xml
+++ b/dist-archive/pom.xml
@@ -313,12 +313,6 @@ under the License.
               </execution>
             </executions>
           </plugin>
-          <plugin>
-            <artifactId>maven-install-plugin</artifactId>
-            <configuration>
-              <createChecksum>true</createChecksum>
-            </configuration>
-          </plugin>
         </plugins>
       </build>
     </profile>

[commons-numbers] 02/04: Update plugin order in pom

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

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git

commit 4894c3cfedf5d4030129d0e174fdbb38ee9d7875
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:48:12 2021 +0100

    Update plugin order in pom
    
    checkstyle
    spotbugs
    pmd
---
 pom.xml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index 379f070..1bf5d5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -427,16 +427,6 @@
         </reportSets>
       </plugin>
       <plugin>
-        <groupId>com.github.spotbugs</groupId>
-        <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
-        <configuration>
-          <threshold>Normal</threshold>
-          <effort>Default</effort>
-          <excludeFilterFile>${numbers.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
-        </configuration>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>${numbers.checkstyle.version}</version>
@@ -457,6 +447,16 @@
         </reportSets>
       </plugin>
       <plugin>
+        <groupId>com.github.spotbugs</groupId>
+        <artifactId>spotbugs-maven-plugin</artifactId>
+        <version>${commons.spotbugs.version}</version>
+        <configuration>
+          <threshold>Normal</threshold>
+          <effort>Default</effort>
+          <excludeFilterFile>${numbers.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+        </configuration>
+      </plugin>
+      <plugin>
         <artifactId>maven-pmd-plugin</artifactId>
         <version>${numbers.pmd.version}</version>
         <configuration>