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 Wed, 11 Jun 2014 14:41:02 GMT

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

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

With this configuration:
{code:xml}
      <plugin>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-java2wadl-plugin</artifactId>
        <version>3.0.1-SNAPSHOT</version>
        <dependencies>
          <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>${spring.version}</version>
          </dependency>
        </dependencies>
        <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>
{code}
it generates only
{code}
<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <doc title="Apache Syncope 1.2.0-SNAPSHOT"/>
  <grammars>
  </grammars>
  <resources base="/"></resources>
</application>
{code}

> 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