1 Reply Latest reply on Mar 26, 2009 12:30 PM by Martin Murphy

    Problem Building Maven Project

    Oscar Medina Newbie

      Hi!

       

      I have a problem when I build my maven project in eclipse,

       

      *Build errors for payment-ws; org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.apache.cxf:cxf-codegen-plugin:2.1.3.2-fuse:wsdl2java': Mojo execution failed*

       

      I'll try to reproduce a example to expose web service but appers this message. This is the part of the pom file.

       

      <plugin>

      <groupId>org.apache.cxf</groupId>

      <artifactId>cxf-codegen-plugin</artifactId>

      <version>2.1.3.2-fuse</version>

      <executions>

      <execution>

      <phase>generate-sources</phase>

      <configuration>

      <!-- Update source root to specify where generated source code should be placed -->

      <sourceRoot>$/target/generated-src/main/java</sourceRoot> <wsdlOptions> <wsdlOption> <!-- Update wsdl tag with appropriate wsdl file --> <wsdl>$/src/main/resources/wsdl/Payments.wsdl</wsdl>

      <extraargs>

      <extraarg>-verbose</extraarg>

      </extraargs>

      </wsdlOption>

      </wsdlOptions>

      </configuration>

      <goals>

      <goal>wsdl2java</goal>

      </goals>

      </execution>

      </executions>

      </plugin>

       

       

      any sugestions?

        • 1. Re: Problem Building Maven Project
          Martin Murphy Novice

          I assume you are using m2eclipse.

           

          Can you check to see what version of maven this is using? It uses a beta drop of the embedded maven by default. I have seen problems with this in the past and I normally set my version to an external maven installation (2.0.9).

           

          Can you attach the logs when you run with debug turned on.