You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/07/06 20:16:34 UTC

(camel) 02/03: Revert "CAMEL-20814: generate buildinfo files only when necessary"

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

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

commit 7d587b278b5c59fa72c8b27305fe930856bf23f1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Jul 6 22:09:10 2024 +0200

    Revert "CAMEL-20814: generate buildinfo files only when necessary"
    
    This reverts commit 6e9787b2c0781d9b9768b598f3c88b6968b205d3.
---
 pom.xml | 43 ++++++++++++++++++-------------------------
 1 file changed, 18 insertions(+), 25 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4d8b951fa1c..a786c0f59a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -215,6 +215,24 @@
                     <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>
@@ -591,23 +609,6 @@
                         <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,10 +805,6 @@
                             <outputName>${project.artifactId}-${project.version}-sbom</outputName>
                         </configuration>
                     </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-artifact-plugin</artifactId>
-                    </plugin>
 
                 </plugins>
             </build>
@@ -929,10 +926,6 @@
                             </execution>
                         </executions>
                     </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-artifact-plugin</artifactId>
-                    </plugin>
                 </plugins>
             </build>
         </profile>