Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven build error

 
Navin Pillu
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
Navin Pillu
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Sager

It works.

Thanks
Navin
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic