cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CXF-5479) Create a Maven plugin for generating WADL at build time
Date Thu, 12 Jun 2014 12:59:02 GMT

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

Francesco Chicchiriccò commented on CXF-5479:
---------------------------------------------

Done: with this configuration (e.g. even without any Spring dependency)
{code:xml}
      <plugin>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-java2wadl-plugin</artifactId>
        <version>3.0.1-SNAPSHOT</version>
        <executions>
          <execution>
            <id>parsejavadoc</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>parsejavadoc</goal>
            </goals>
          </execution>
          <execution>
            <id>process-classes</id>
            <phase>process-classes</phase>
            <goals>
              <goal>java2wadl</goal>
            </goals>
            <configuration>
              <applicationTitle>Apache Syncope ${project.version}</applicationTitle>
              <namespacePrefix>syncope</namespacePrefix>
              <addResourceAndMethodIds>true</addResourceAndMethodIds>
              <linkAnyMediaTypeToXmlSchema>true</linkAnyMediaTypeToXmlSchema>
              <classResourceNames/>
              <basePackages>org.apache.syncope.common.services</basePackages>
              <docProvider>org.apache.cxf.maven_plugin.javatowadl.ResourceMapJavaDocProvider</docProvider>
              <attachWadl>true</attachWadl>
            </configuration>
          </execution>
        </executions>
      </plugin>
{code}

the {{application.wadl}} is generated correctly: nice job!

At this point I am looking forward for 3.0.1...

> Create a Maven plugin for generating WADL at build time
> -------------------------------------------------------
>
>                 Key: CXF-5479
>                 URL: https://issues.apache.org/jira/browse/CXF-5479
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Freeman Fang
>             Fix For: 3.0.0
>
>         Attachments: CXF-5479-doclet.patch, CXF-5479.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message