java - Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java -


i'm trying tutorial http://camel.apache.org/tutorial-example-reportincident-part1.html. created project via maven described in tutorial , ran exception:

 failed execute goal org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java (generate-sources) on project camel-example-reportincident: org/apache/commons/collections/extendedproperties: org.apache.commons.collections.extendedproperties 

my pom looks that:

<project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"     xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">     <modelversion>4.0.0</modelversion>     <groupid>org.apache.camel</groupid>     <artifactid>camel-example-reportincident</artifactid>     <packaging>war</packaging>     <version>0.0.1-snapshot</version>     <name>camel-example-reportincident maven webapp</name>     <url>http://maven.apache.org</url>     <properties>         <cxf-version>2.7.5</cxf-version>     </properties>     <dependencies>         <dependency>             <groupid>junit</groupid>             <artifactid>junit</artifactid>             <version>3.8.1</version>             <scope>test</scope>         </dependency>         <dependency>             <groupid>org.apache.cxf</groupid>             <artifactid>cxf-rt-core</artifactid>             <version>${cxf-version}</version>         </dependency>         <dependency>             <groupid>org.apache.cxf</groupid>             <artifactid>cxf-rt-frontend-jaxws</artifactid>             <version>${cxf-version}</version>         </dependency>         <dependency>             <groupid>org.apache.cxf</groupid>             <artifactid>cxf-rt-transports-http</artifactid>             <version>${cxf-version}</version>         </dependency>         <dependency>             <groupid>com.sun.xml.bind</groupid>             <artifactid>jaxb-impl</artifactid>             <version>2.2.5</version>         </dependency>         <dependency>             <groupid>com.sun.xml.bind</groupid>             <artifactid>jaxb-xjc</artifactid>             <version>2.2.5</version>         </dependency>         <!-- https://mvnrepository.com/artifact/javax.xml.ws/jaxws-api -->         <dependency>             <groupid>javax.xml.ws</groupid>             <artifactid>jaxws-api</artifactid>             <version>2.2.1</version>         </dependency>      </dependencies>     <build>         <pluginmanagement>             <plugins>                 <plugin>                     <groupid>org.eclipse.m2e</groupid>                     <artifactid>lifecycle-mapping</artifactid>                     <version>1.0.0</version>                     <configuration>                         <lifecyclemappingmetadata>                             <pluginexecutions>                                 <pluginexecution>                                     <pluginexecutionfilter>                                         <groupid>org.apache.cxf</groupid>                                         <artifactid>cxf-codegen-plugin</artifactid>                                         <versionrange>[2.7,)</versionrange>                                         <goals>                                             <goal>wsdl2java</goal>                                         </goals>                                     </pluginexecutionfilter>                                     <action>                                         <execute />                                     </action>                                 </pluginexecution>                             </pluginexecutions>                         </lifecyclemappingmetadata>                     </configuration>                 </plugin>             </plugins>         </pluginmanagement>         <finalname>camel-example-reportincident</finalname>         <plugins>             <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-compiler-plugin</artifactid>                 <version>3.5.1</version>                 <configuration>                     <source>${jdk.version}</source>                     <target>${jdk.version}</target>                 </configuration>             </plugin>  <plugin>     <groupid>org.apache.cxf</groupid>     <artifactid>cxf-codegen-plugin</artifactid>     <version>${cxf-version}</version>     <executions>         <execution>             <id>generate-sources</id>             <phase>generate-sources</phase>             <configuration>                 <sourceroot>${basedir}/target/generated/src/main/java</sourceroot>                 <wsdloptions>                     <wsdloption>                         <wsdl>${basedir}/src/main/webapp/web-inf/wsdl/report_incident.wsdl</wsdl>                     </wsdloption>                 </wsdloptions>             </configuration>             <goals>                 <goal>wsdl2java</goal>             </goals>         </execution>     </executions> </plugin>      </build> </project> 

i did steps until cxf wsdl2java. not find solution until now. tried build project using eclipse mars , eclipse luna.


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -