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:38:01 UTC
[commons-statistics] branch master updated (7c376a3 -> e08e4ea)
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-statistics.git.
from 7c376a3 Remove docs archive from the binary distribution.
new 3b7c0d2 Remove plugin checks from default goal
new 8e07baf Skip assembly plugin for multi-module parent pom
new 05a8d60 Update plugin order in pom
new e08e4ea Ignore site-content file in source distribution
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/src/assembly/src.xml | 1 +
pom.xml | 77 +++++++++++++++++++++++----------------
2 files changed, 46 insertions(+), 32 deletions(-)
[commons-statistics] 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-statistics.git
commit 3b7c0d2cd48408f8c00034dcff315c8247a0e471
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:25:51 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 | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 4dc0a9c..d55010a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -193,7 +193,8 @@
</dependencies>
<build>
- <defaultGoal>clean verify apache-rat:check clirr:check checkstyle:check pmd:check spotbugs:check javadoc:javadoc</defaultGoal>
+ <!-- TODO: Add binary compatibility check when released. -->
+ <defaultGoal>clean verify javadoc:javadoc</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -296,6 +297,14 @@
<ruleset>${statistics.parent.dir}/src/main/resources/pmd/pmd-ruleset.xml</ruleset>
</rulesets>
</configuration>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>
@@ -306,10 +315,19 @@
<effort>Default</effort>
<excludeFilterFile>${statistics.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>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
+ <!-- Note: commons-parent binds the check goal to the validate phase -->
<configuration>
<!-- Should agree with apache-rat-plugin config under <build> -->
<excludes combine.children="append">
[commons-statistics] 04/04: Ignore site-content file in source
distribution
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-statistics.git
commit e08e4ea58a1fc01091000d8c269fa3c5584731fd
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:37:59 2021 +0100
Ignore site-content file in source distribution
---
dist-archive/src/assembly/src.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/dist-archive/src/assembly/src.xml b/dist-archive/src/assembly/src.xml
index cf7eb5a..8aa97ea 100644
--- a/dist-archive/src/assembly/src.xml
+++ b/dist-archive/src/assembly/src.xml
@@ -27,6 +27,7 @@ limitations under the License.
<excludes>
<exclude>**/.git/**</exclude>
<exclude>**/site-content/**</exclude>
+ <exclude>site-content.README</exclude>
<exclude>**/target/**</exclude>
</excludes>
</fileSet>
[commons-statistics] 02/04: Skip assembly plugin for multi-module
parent 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-statistics.git
commit 8e07baf7ce4fe2909d3cbf21e15fd1ca1d6f2503
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:30:22 2021 +0100
Skip assembly plugin for multi-module parent pom
---
pom.xml | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index d55010a..e68a343 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,17 +222,6 @@
</configuration>
</plugin>
<plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/assembly/src.xml</descriptor>
- <descriptor>src/assembly/bin.xml</descriptor>
- </descriptors>
- <!-- There are a lot of long file names. Suppress the warnings. -->
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
@@ -354,6 +343,12 @@
<additionalOptions>${doclint.javadoc.qualifier} ${allowscript.javadoc.qualifier} -header '<script type="text/javascript" async src="${statistics.mathjax.url}"></script>'</additionalOptions>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <skipAssembly>true</skipAssembly>
+ </configuration>
+ </plugin>
</plugins>
</build>
[commons-statistics] 03/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-statistics.git
commit 05a8d604d177af2c2f1b22e71d5ea17e58296899
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Thu Aug 19 00:36:41 2021 +0100
Update plugin order in pom
Use a consistent order with commons-math:
checkstyle
spotbugs
pmd
---
pom.xml | 56 ++++++++++++++++++++++++++++----------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/pom.xml b/pom.xml
index e68a343..6ac10c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -264,6 +264,24 @@
</executions>
</plugin>
<plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>${statistics.spotbugs.version}</version>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${statistics.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>
<version>${statistics.pmd.version}</version>
<dependencies>
@@ -296,24 +314,6 @@
</executions>
</plugin>
<plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>${statistics.spotbugs.version}</version>
- <configuration>
- <threshold>Normal</threshold>
- <effort>Default</effort>
- <excludeFilterFile>${statistics.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>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<!-- Note: commons-parent binds the check goal to the validate phase -->
@@ -426,6 +426,16 @@
</reportSets>
</plugin>
<plugin>
+ <groupId>com.github.spotbugs</groupId>
+ <artifactId>spotbugs-maven-plugin</artifactId>
+ <version>${statistics.spotbugs.version}</version>
+ <configuration>
+ <threshold>Normal</threshold>
+ <effort>Default</effort>
+ <excludeFilterFile>${statistics.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>${statistics.pmd.version}</version>
<configuration>
@@ -446,16 +456,6 @@
</reportSets>
</plugin>
<plugin>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-maven-plugin</artifactId>
- <version>${statistics.spotbugs.version}</version>
- <configuration>
- <threshold>Normal</threshold>
- <effort>Default</effort>
- <excludeFilterFile>${statistics.parent.dir}/src/main/resources/spotbugs/spotbugs-exclude-filter.xml</excludeFilterFile>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>${statistics.clirr.version}</version>