Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.2.2
-
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"
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"
-
Unknown
Description
<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>
If classResourceNames is not specified then:
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