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

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ed7c911c Fix build
7ed7c911c is described below

commit 7ed7c911c8262193f9db1d63e3aebabeeb0457a9
Author: Konrad Windszus <[email protected]>
AuthorDate: Sat Jul 8 15:35:40 2023 +0200

    Fix build
    
    Manage all used plugins with explicit versions
---
 pom.xml | 29 +++++++++++++++++++++++------
 1 file changed, 23 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 6011062f3..ec70a016d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,12 +38,31 @@
   </properties>
 
   <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>3.3.1</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>3.1.0</version>
+        </plugin>
+        <plugin>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>3.3.0</version>
+        </plugin>
+         <plugin>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <version>3.2.1</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
     <plugins>
       <plugin>
         <groupId>org.jbake</groupId>
         <artifactId>jbake-maven-plugin</artifactId>
         <version>2.7.0-rc.6</version>
-
         <executions>
           <execution>
             <id>default-generate</id>
@@ -72,7 +91,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>build-helper-maven-plugin</artifactId>
-        <version>3.0.0</version>
+        <version>3.4.0</version>
         <executions>
           <execution>
             <id>timestamp-property</id>
@@ -90,7 +109,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-scm-publish-plugin</artifactId>
-        <version>3.1.0</version>
         <extensions>true</extensions>
         <configuration>
             <content>target/${project.artifactId}-${project.version}</content>
@@ -113,10 +131,10 @@
             <id>download-repos-list</id>
             <phase>process-resources</phase>
             <configuration>
-              <tasks>
+              <target>
                 <mkdir dir="${downloads.dir}"/>
                 <get src="${repos.list.url}" dest="${repos.list.fullpath}" 
usetimestamp="true"/>
-              </tasks>
+              </target>
             </configuration>
             <goals>
               <goal>run</goal>
@@ -134,7 +152,6 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-enforcer-plugin</artifactId>
-                        <version>3.0.0-M1</version>
                         <executions>
                           <execution>
                             <id>enforce-property</id>

Reply via email to