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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 235535a49b AXIS2-6066: Fix Javadoc generation
235535a49b is described below

commit 235535a49b609ec939bc65be0426fead2b30fe8f
Author: Andreas Veithen <andreas.veit...@gmail.com>
AuthorDate: Fri Sep 13 12:09:09 2024 +0000

    AXIS2-6066: Fix Javadoc generation
---
 apidocs/pom.xml      | 6 ++++++
 modules/osgi/pom.xml | 8 +-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/apidocs/pom.xml b/apidocs/pom.xml
index b6ad6a4334..af0101ff68 100644
--- a/apidocs/pom.xml
+++ b/apidocs/pom.xml
@@ -282,6 +282,12 @@
             <artifactId>axis2-transport-xmpp</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <!-- Artifacts that are needed to generate the Javadoc but that are 
not transitive dependencies
+             because they are in scope "provided". -->
+        <dependency>
+            <groupId>org.apache.maven.plugin-tools</groupId>
+            <artifactId>maven-plugin-annotations</artifactId>
+        </dependency>
     </dependencies>
 
     <build>
diff --git a/modules/osgi/pom.xml b/modules/osgi/pom.xml
index 5597637168..7214b1e036 100644
--- a/modules/osgi/pom.xml
+++ b/modules/osgi/pom.xml
@@ -47,7 +47,6 @@
         <dependency>
             <groupId>jakarta.servlet</groupId>
             <artifactId>jakarta.servlet-api</artifactId>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.axis2</groupId>
@@ -62,7 +61,6 @@
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.framework</artifactId>
-            <scope>provided</scope>
         </dependency>
          <dependency>
             <groupId>org.apache.axis2</groupId>
@@ -78,27 +76,23 @@
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.util.tracker</artifactId>
             <version>1.5.4</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.http</artifactId>
             <version>1.2.2</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.cm</artifactId>
             <version>1.6.1</version>
-            <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.log</artifactId>
             <version>1.5.0</version>
-            <scope>provided</scope>
         </dependency>
-       <dependency>
+        <dependency>
             <groupId>org.osgi</groupId>
             <artifactId>org.osgi.service.jakartars</artifactId>
             <version>2.0.0</version>

Reply via email to