[ 
https://issues.apache.org/jira/browse/CXF-7655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372636#comment-16372636
 ] 

David J. M. Karlsen commented on CXF-7655:
------------------------------------------

i added these two to get it working:

{noformat}

   </executions>

                                <dependencies>

                                        <dependency>

                                                
<groupId>javax.xml.bind</groupId>

                                                
<artifactId>jaxb-api</artifactId>

                                                
<version>${jaxb.api.version}</version>

                                        </dependency>

                                        <dependency>

                                                
<groupId>javax.activation</groupId>

                                                
<artifactId>activation</artifactId>

                                                <version>1.1.1</version>

                                        </dependency>

                                </dependencies>

                        </plugin>

                </plugins>

{noformat}

> java2swagger maven plugin not java9 compat
> ------------------------------------------
>
>                 Key: CXF-7655
>                 URL: https://issues.apache.org/jira/browse/CXF-7655
>             Project: CXF
>          Issue Type: Bug
>            Reporter: David J. M. Karlsen
>            Assignee: Freeman Fang
>            Priority: Major
>              Labels: java9
>
> since the java9 has modularized the api's and jaxb is now an optional module, 
> the plugin/java2swagger should probably add the required dependency.
>  
> {noformat}
> Caused by: org.apache.maven.plugin.PluginContainerException: A required class 
> was missing while executing 
> org.apache.cxf:cxf-java2swagger-plugin:3.2.2:java2swagger: 
> javax/xml/bind/annotation/XmlRootElement
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to