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

hboutemy pushed a commit to branch MJAVADOC-774
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit ebcce2c4dfd9e60f5888834ae1ee341c44620226
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Mon Sep 18 07:52:54 2023 +0200

    [MJAVADOC-774] add dev profile to avoid plugin build depending on itself 
being already installed
---
 pom.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index f94db233..73d8b8e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -436,7 +436,6 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-javadoc-plugin</artifactId>
-          <version>${project.version}</version>
           <configuration>
             <failOnWarnings>false</failOnWarnings>
           </configuration>
@@ -598,5 +597,19 @@ under the License.
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>dev</id>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>${project.version}</version>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>

Reply via email to