jira-importer opened a new issue, #195:
URL: https://github.com/apache/maven-deploy-plugin/issues/195

   **[Anusha 
Shetty](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER290955)**
 opened 
**[MDEPLOY-294](https://issues.apache.org/jira/browse/MDEPLOY-294?redirect=false)**
 and commented
   
   !image-2022-06-14-18-23-32-368.png!
   
   !image-2022-06-14-18-31-32-647.png!
   
    
   
   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.
   
    
   
   
   ---
   
   **Affects:** 3.0.0-M2
   
   **Attachments:**
   - 
[error.PNG](https://issues.apache.org/jira/secure/attachment/13045091/error.PNG)
 (_76.96 kB_)
   - 
[error1.PNG](https://issues.apache.org/jira/secure/attachment/13045092/error1.PNG)
 (_117.82 kB_)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to