File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Maven build error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Maven build error" Watch "Maven build error" New topic
Author

Maven build error

Navin Pillu
Ranch Hand

Joined: Apr 19, 2005
Posts: 103
Hi All

I want to generate java class from wsdl using maven. But i'm getting some error. Following is the maven file



I'm getting following output



Could anybody please let me know what is wrong

Thanks
Navin
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

The part of the output explain all:

The jar is not in M2 repo, download it from here:
http://download.java.net/maven/1/com.sun.tools.xjc.maven2/maven-plugins/


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Navin Pillu
Ranch Hand

Joined: Apr 19, 2005
Posts: 103
Thanks a lot Sager

It works.

Thanks
Navin
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

You're welcome
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Remember that, if the Maven project is to build successfully on any system then the artifacts should be available in the Maven repositories which are configured on each of those systems or in the project's pom.xml. So just downloading that file and placing it in your local repo would not be practical fix. You might want to find a repo which hosts that artifact and configure Maven appropriately.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Maven build error