NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
kiuma
Joined: 15 Jun 2009 Posts: 26
|
Posted: Fri Sep 04, 2009 4:31 pm Post subject: Problem with maven and nb platform application (same jar in more the one module) |
|
|
I'm writing a nb platform application using maven
The application has two modules that have some jar libs in common.
If I define the <scope>compile</scope> in both pom.xml, during runtime nb complains for multi definition among modules of the same library.
Ifthe scope is provided when I run the application I have ClassNotFoundException.
How can I do, and If I have to, how can I create a library wrapper (and should I provide also non direct dependencies)?
Thanks in advance,
kiuma |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|