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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 6e9787b2c07 CAMEL-20814: generate buildinfo files only when necessary
6e9787b2c07 is described below

commit 6e9787b2c0781d9b9768b598f3c88b6968b205d3
Author: Otavio Rodolfo Piske <angusyo...@gmail.com>
AuthorDate: Thu May 30 16:58:58 2024 +0200

    CAMEL-20814: generate buildinfo files only when necessary
    
    This should avoid slowing down the quick build
---
 pom.xml | 43 +++++++++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 18 deletions(-)

diff --git a/pom.xml b/pom.xml
index 370562adef4..430a05d8bdf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -215,24 +215,6 @@
                     <outputDirectory>target</outputDirectory>
                 </configuration>
             </plugin>
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-artifact-plugin</artifactId>
-                <version>${maven-artifact-plugin-version}</version>
-                <executions>
-                    <execution>
-                        <id>buildinfo</id>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>buildinfo</goal>
-                        </goals>
-                        <configuration>
-                            <attach>true</attach>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
         </plugins>
 
         <pluginManagement>
@@ -608,6 +590,23 @@
                         <showVersion>true</showVersion>
                     </configuration>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-artifact-plugin</artifactId>
+                    <version>${maven-artifact-plugin-version}</version>
+                    <executions>
+                        <execution>
+                            <id>buildinfo</id>
+                            <phase>verify</phase>
+                            <goals>
+                                <goal>buildinfo</goal>
+                            </goals>
+                            <configuration>
+                                <attach>true</attach>
+                            </configuration>
+                        </execution>
+                    </executions>
+                </plugin>
 
             </plugins>
         </pluginManagement>
@@ -804,6 +803,10 @@
                             
<outputName>${project.artifactId}-${project.version}-sbom</outputName>
                         </configuration>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-artifact-plugin</artifactId>
+                    </plugin>
 
                 </plugins>
             </build>
@@ -925,6 +928,10 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-artifact-plugin</artifactId>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

Reply via email to