Mr

I'm using xfrie with eclipse, for me its ok, but now I need put it in maven.

The Xfire site says to use it on pom.xml

<build>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>xfire-maven-plugin</artifactId>
        <executions>
           <execution>
              <goals>
                 <goal>wsgen</goal>
              </goals>
           </execution>
        </executions>
        <configuration>
          <package>com.example.ws</package>
          <profile></profile>
          <binding></binding>
          <outputDirectory>${project.build.directory}/client</outputDirectory>
          <wsdls>
            <wsdl>${basedir}/src/wsdl/TheService.wsdl</wsdl>
          </wsdls>
        </configuration>
      </plugin>
    </plugins>
 </build>



But when I  use " mvn wsgen:wsgen " I have this answer:

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'wsgen'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:xfire-maven-plugin' does not exist or
no valid version could be found
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Apr 24 17:56:43 BRT 2008
[INFO] Final Memory: 4M/53M
[INFO]
------------------------------------------------------------------------


What I need to do to it works?

thanks

Fred

Reply via email to