You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by al...@apache.org on 2025/03/21 19:02:08 UTC

(aries) branch ARIES-2173-remove-unused-maven-plugins-from-parent created (now da3e57326)

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

alien11689 pushed a change to branch ARIES-2173-remove-unused-maven-plugins-from-parent
in repository https://gitbox.apache.org/repos/asf/aries.git


      at da3e57326 ARIES-2173: Make rat plugin not protected by profile - will always run

This branch includes the following new commits:

     new 11fca9384 ARIES-2173: Remove versions plugin from parent - dependabot is used instead
     new 45ac2260b ARIES-2173: Remove paxexam maven plugin from parent
     new a66c53f57 ARIES-2173: Remove findbugs maven plugin from parent
     new da3e57326 ARIES-2173: Make rat plugin not protected by profile - will always run

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.



(aries) 04/04: ARIES-2173: Make rat plugin not protected by profile - will always run

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

alien11689 pushed a commit to branch ARIES-2173-remove-unused-maven-plugins-from-parent
in repository https://gitbox.apache.org/repos/asf/aries.git

commit da3e573267c39316b89db4ac630a8fe1e68c00eb
Author: Dominik Przybysz <al...@gmail.com>
AuthorDate: Fri Mar 21 19:28:27 2025 +0100

    ARIES-2173: Make rat plugin not protected by profile - will always run
---
 parent/pom.xml | 108 ++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 59 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index b2bcfda8e..ffdcb1b57 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -454,6 +454,55 @@
                     <source>${java.source.version}</source>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>check</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
+                    <excludeSubProjects>false</excludeSubProjects>
+                    <excludes>
+                        <exclude>**/target/**/*</exclude>
+                        <exclude>**/appended-resources/**/*</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                        <exclude>**/velocity.log</exclude>
+                        <exclude>**/DEPENDENCIES</exclude>
+                        <!-- exclude IntelliJ IDEA generated files -->
+                        <exclude>**/*.iml</exclude>
+                        <exclude>**/*.ipr</exclude>
+                        <exclude>**/*.iws</exclude>
+                        <exclude>**/.idea/**/*</exclude>
+                        <!-- exclude Eclipse IDE generated files -->
+                        <exclude>**/.project</exclude>
+                        <exclude>**/.classpath</exclude>
+                        <exclude>**/.settings/**</exclude>
+                        <exclude>**/eclipse-classes/**/*</exclude>
+                        <!-- manifest files don't support comments so don't contain the ASL2.0 header -->
+                        <exclude>**/*.MF</exclude>
+                        <!--RAT doesn't seem to recognize MIT style licenses-->
+                        <exclude>manual/src/styles/print.css</exclude>
+                        <!-- RAT doesn't recognize BSD license in transaction-manager logger -->
+                        <exclude>**/objectweb/howl/log/Logger.java</exclude>
+                        <!--RAT doesn't seem to recognize W3C license -->
+                        <exclude>**/xml.xsd</exclude>
+                        <exclude>.gitignore</exclude>
+                        <exclude>README.md</exclude>
+                        <exclude>**/*.cfg</exclude>
+                        <exclude>**/*.sausages</exclude>
+                        <exclude>**/README.md</exclude>
+                        <exclude>**/Readme.md</exclude>
+                        <exclude>**/NOTICE.vm</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 
@@ -496,65 +545,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>rat</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.rat</groupId>
-                        <artifactId>apache-rat-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>check</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                        <configuration>
-                            <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
-                            <excludeSubProjects>false</excludeSubProjects>
-                            <excludes>
-                                <exclude>**/target/**/*</exclude>
-                                <exclude>**/appended-resources/**/*</exclude>
-                                <exclude>**/dependency-reduced-pom.xml</exclude>
-                                <exclude>**/velocity.log</exclude>
-                                <exclude>**/DEPENDENCIES</exclude>
-                                <!-- exclude IntelliJ IDEA generated files -->
-                                <exclude>**/*.iml</exclude>
-                                <exclude>**/*.ipr</exclude>
-                                <exclude>**/*.iws</exclude>
-                                <exclude>**/.idea/**/*</exclude>
-                                <!-- exclude Eclipse IDE generated files -->
-                                <exclude>**/.project</exclude>
-                                <exclude>**/.classpath</exclude>
-                                <exclude>**/.settings/**</exclude>
-                                <exclude>**/eclipse-classes/**/*</exclude>
-                                <!-- manifest files don't support comments so don't contain the ASL2.0 header -->
-                                <exclude>**/*.MF</exclude>
-                                <!--RAT doesn't seem to recognize MIT style licenses-->
-                                <exclude>manual/src/styles/print.css</exclude>
-                                <!-- RAT doesn't recognize BSD license in transaction-manager logger -->
-                                <exclude>**/objectweb/howl/log/Logger.java</exclude>
-                                <!--RAT doesn't seem to recognize W3C license -->
-                                <exclude>**/xml.xsd</exclude>
-                                <exclude>.gitignore</exclude>
-                                <exclude>README.md</exclude>
-                                <exclude>**/*.cfg</exclude>
-                                <exclude>**/*.sausages</exclude>
-                                <exclude>**/README.md</exclude>
-                                <exclude>**/Readme.md</exclude>
-                                <exclude>**/NOTICE.vm</exclude>
-                                <exclude>**/dependency-reduced-pom.xml</exclude>
-                            </excludes>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
     </profiles>
 
     <reporting>


(aries) 01/04: ARIES-2173: Remove versions plugin from parent - dependabot is used instead

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

alien11689 pushed a commit to branch ARIES-2173-remove-unused-maven-plugins-from-parent
in repository https://gitbox.apache.org/repos/asf/aries.git

commit 11fca9384408d9b9762aaa6bc2c73d8f2b505592
Author: Dominik Przybysz <al...@gmail.com>
AuthorDate: Fri Mar 21 19:05:50 2025 +0100

    ARIES-2173: Remove versions plugin from parent - dependabot is used instead
---
 parent/pom.xml | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 2343713a2..034992056 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -193,7 +193,6 @@
         <maven-paxexam-plugin.version>1.2.4</maven-paxexam-plugin.version>
         <maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
         <org.apache.aries.versioning.plugin.version>0.3.1</org.apache.aries.versioning.plugin.version>
-        <versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
 
         <!--Other-->
         <java.source.version>8</java.source.version>
@@ -362,24 +361,6 @@
                         </includes>
                     </configuration>
                 </plugin>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>versions-maven-plugin</artifactId>
-                    <version>${versions-maven-plugin.version}</version>
-                    <configuration>
-                        <excludes>
-                            <!--  3.5.0.v20090520 < 3.3.0-v20070530 -->
-                            <exclude>org.eclipse:osgi</exclude>
-                            <!-- 2.0.0-SNAPSHOT < 2.0.0-beta -->
-                            <exclude>org.apache.openjpa:openjpa</exclude>
-                            <!-- maven 3.0 components don't work with 2.0 -->
-                            <exclude>org.apache.maven:maven-plugin-api</exclude>
-                            <exclude>org.apache.maven:maven-project</exclude>
-                            <exclude>org.apache.maven:maven-artifact</exclude>
-                            <exclude>org.apache.maven:maven-archiver</exclude>
-                        </excludes>
-                    </configuration>
-                </plugin>
                 <plugin>
                     <groupId>org.codehaus.mojo</groupId>
                     <artifactId>findbugs-maven-plugin</artifactId>


(aries) 03/04: ARIES-2173: Remove findbugs maven plugin from parent

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

alien11689 pushed a commit to branch ARIES-2173-remove-unused-maven-plugins-from-parent
in repository https://gitbox.apache.org/repos/asf/aries.git

commit a66c53f5756fa2e7c3cc45d653e17c665b475fb6
Author: Dominik Przybysz <al...@gmail.com>
AuthorDate: Fri Mar 21 19:21:55 2025 +0100

    ARIES-2173: Remove findbugs maven plugin from parent
---
 parent/pom.xml | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index fdd9298ed..b2bcfda8e 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -142,7 +142,6 @@
                 <artifactId>slf4j-simple</artifactId>
                 <version>${slf4j.version}</version>
             </dependency>
-
         </dependencies>
     </dependencyManagement>
 
@@ -187,7 +186,6 @@
         <!--Plugin versions-->
         <animal-sniffer-enforcer-rule.version>1.24</animal-sniffer-enforcer-rule.version>
         <depgraph-maven-plugin.version>4.0.3</depgraph-maven-plugin.version>
-        <findbugs-maven-plugin.version>3.0.5</findbugs-maven-plugin.version>
         <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
         <maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
         <maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
@@ -339,11 +337,6 @@
                         </includes>
                     </configuration>
                 </plugin>
-                <plugin>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>findbugs-maven-plugin</artifactId>
-                    <version>${findbugs-maven-plugin.version}</version>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
@@ -425,11 +418,6 @@
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>${findbugs-maven-plugin.version}</version>
-            </plugin>
             <plugin>
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
@@ -643,11 +631,6 @@
                     </tags>
                 </configuration>
             </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>${findbugs-maven-plugin.version}</version>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-pmd-plugin</artifactId>


(aries) 02/04: ARIES-2173: Remove paxexam maven plugin from parent

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

alien11689 pushed a commit to branch ARIES-2173-remove-unused-maven-plugins-from-parent
in repository https://gitbox.apache.org/repos/asf/aries.git

commit 45ac2260bbff459fa4de59ece3c8cd14c3686272
Author: Dominik Przybysz <al...@gmail.com>
AuthorDate: Fri Mar 21 19:16:47 2025 +0100

    ARIES-2173: Remove paxexam maven plugin from parent
---
 parent/pom.xml                                     | 27 ----------------------
 .../blueprint/helloworld/helloworld-itests/pom.xml | 11 ++++-----
 2 files changed, 5 insertions(+), 33 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 034992056..fdd9298ed 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -190,7 +190,6 @@
         <findbugs-maven-plugin.version>3.0.5</findbugs-maven-plugin.version>
         <lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
         <maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
-        <maven-paxexam-plugin.version>1.2.4</maven-paxexam-plugin.version>
         <maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
         <org.apache.aries.versioning.plugin.version>0.3.1</org.apache.aries.versioning.plugin.version>
 
@@ -312,27 +311,6 @@
                                         <ignore/>
                                     </action>
                                 </pluginExecution>
-                                <pluginExecution>
-                                    <pluginExecutionFilter>
-                                        <groupId>
-                                            org.ops4j.pax.exam
-                                        </groupId>
-                                        <artifactId>
-                                            maven-paxexam-plugin
-                                        </artifactId>
-                                        <versionRange>
-                                            [${maven-paxexam-plugin.version},)
-                                        </versionRange>
-                                        <goals>
-                                            <goal>
-                                                generate-depends-file
-                                            </goal>
-                                        </goals>
-                                    </pluginExecutionFilter>
-                                    <action>
-                                        <ignore/>
-                                    </action>
-                                </pluginExecution>
                             </pluginExecutions>
                         </lifecycleMappingMetadata>
                     </configuration>
@@ -366,11 +344,6 @@
                     <artifactId>findbugs-maven-plugin</artifactId>
                     <version>${findbugs-maven-plugin.version}</version>
                 </plugin>
-                <plugin>
-                    <groupId>org.ops4j.pax.exam</groupId>
-                    <artifactId>maven-paxexam-plugin</artifactId>
-                    <version>${maven-paxexam-plugin.version}</version>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>
diff --git a/samples/blueprint/helloworld/helloworld-itests/pom.xml b/samples/blueprint/helloworld/helloworld-itests/pom.xml
index b294f9fe1..4b3992188 100644
--- a/samples/blueprint/helloworld/helloworld-itests/pom.xml
+++ b/samples/blueprint/helloworld/helloworld-itests/pom.xml
@@ -34,6 +34,7 @@
     <properties>
         <asm.version>5.0.3</asm.version>
         <cm.version>3.2.0-v20070116</cm.version>
+        <depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
         <org.apache.aries.proxy.version>1.0.0</org.apache.aries.proxy.version>
         <org.eclipse.osgi.version>3.23.0</org.eclipse.osgi.version>
         <pax-exam.version>4.13.5</pax-exam.version>
@@ -202,17 +203,15 @@
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.ops4j.pax.exam</groupId>
-                <artifactId>maven-paxexam-plugin</artifactId>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>depends-maven-plugin</artifactId>
+                <version>${depends-maven-plugin.version}</version>
                 <executions>
                     <execution>
-                        <id>generate-config</id>
+                        <id>generate-depends-file</id>
                         <goals>
                             <goal>generate-depends-file</goal>
                         </goals>
-                        <configuration>
-                            <outputFile>${project.build.directory}/test-classes/META-INF/maven/dependencies.properties</outputFile>
-                        </configuration>
                     </execution>
                 </executions>
             </plugin>