You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2018/03/13 02:10:00 UTC
[jira] [Assigned] (CXF-7674) Java2Wadl maven plugin requires
explicit element - even if base packages specified
[ https://issues.apache.org/jira/browse/CXF-7674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned CXF-7674:
---------------------------------
Assignee: Freeman Fang
> Java2Wadl maven plugin requires explicit <classResourceNames> element - even if base packages specified
> -------------------------------------------------------------------------------------------------------
>
> Key: CXF-7674
> URL: https://issues.apache.org/jira/browse/CXF-7674
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 3.2.2
> Environment: {noformat}
> Maven home: /home/lyor/Software/apache-maven-3.5.2
> Java version: 1.8.0_161, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-5.b14.fc27.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.15.6-300.fc27.x86_64", arch: "amd64", family: "unix"
> {noformat}
> Reporter: Goldstein Lyor
> Assignee: Freeman Fang
> Priority: Minor
> Labels: java2wadl, maven
>
> {code:xml}
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-java2wadl-plugin</artifactId>
> <version>3.2.2</version>
> <executions>
> <execution>
> <id>generate-wadl</id>
> <goals>
> <goal>java2wadl</goal>
> </goals>
> <phase>process-classes</phase>
> </execution>
> <executions>
> <configuration>
> <attachWadl>true</attachWadl>
> <!-- Bug: if not specified (even if empty) causes exceptions - even though base packages specified -->
> <classResourceNames />
> <basePackages>foo.bar.baz.</basePackages>
> <outputFileName>${project.artifactId}</outputFileName>
> </configuration>
> </plugin>
> {code}
> If {{classResourceNames}} is not specified then:
> {noformat}
> mvn clean install
> ...
> [ERROR] Failed to execute goal org.apache.cxf:cxf-java2wadl-plugin:3.2.2:java2wadl (generate-wadl) on project c-application-web: The parameters 'classResourceNames' for goal org.apache.cxf:cxf-java2wadl-plugin:3.2.2:java2wadl are missing or invalid{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)