This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I’m very new to maven. I’m using wsdl2java to get the Java files and then create the jar file I need. The problem is that my urls comes from different sources and eventually I need to have 4 different jar files.
So far, I tried to create the first two jar files and deal with the next two later... So I created two different <execution> blocks in the <build> block; each <execution> block downloads each own wsdl files, so far so good. The following plugin:
Works this way: it first compiles all the generated Java files and then generates the jar file out of all the files, meaning it creates only one jar file.
Is there anyway, I ask wsdl2java to compile and then create the jar files right after each <execution> block? That I can get two different jar file each relating only to the wsdl files I downloaded in that <execution> block?
Following is pom.xml. At this point the generated jar file consists of the Java files generated from: file1, file2, file3, file4 and file5.
Where I want one jar from: file1, file2 and file3 and the other from: file4 and file5.
Any help would be greatly appreciated.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: How to create two separate jars with wsdl2java?