Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
3.0.0-M2
-
None
-
None
Description
i am facing the issue(PFA) even after using the latest maven-deploy-plugin i.e 3.0.0-M2
i understand that jaxb apis has been removed from jdk after java 11 and hence as mentioned in other solutions i had added the below dependencies to my pom.
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.1.1</version>
</dependency>
But still i am getting the same issue.
i also tried adding the dependency within the plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M2</version>
<dependencies>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
</plugin>
i checked for jaxb-api jar and it was present with JAXException class.
Inspite of adding all the above dependency maven deploy fails . Could you tell me what is that i am missing here.