NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How to create a wrapper module with Maven?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Fabrizio Giudici
Posted via mailing list.





PostPosted: Fri Jul 17, 2009 8:06 pm    Post subject: How to create a wrapper module with Maven? Reply with quote

In the Maven wizard for creating projects, there's an archetipe for a NB
application and a NB module; but not for a wrapper module. How do I
create a wrapper module with Maven? Should I create a regular module and
then manually patch it? Thanks.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
address-removed - mobile: +39 348.150.6941
Back to top
Emilian Bold
Posted via mailing list.





PostPosted: Fri Jul 17, 2009 10:19 pm    Post subject: How to create a wrapper module with Maven? Reply with quote

No need to. Project dependencies that aren't nbm will be wrapped.

--emi

On Jul 17, 2009, at 11:06 PM, Fabrizio Giudici wrote:

Quote:
In the Maven wizard for creating projects, there's an archetipe for
a NB application and a NB module; but not for a wrapper module. How
do I create a wrapper module with Maven? Should I create a regular
module and then manually patch it? Thanks.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
address-removed - mobile: +39 348.150.6941
Back to top
Fabrizio Giudici
Posted via mailing list.





PostPosted: Fri Jul 17, 2009 10:38 pm    Post subject: How to create a wrapper module with Maven? Reply with quote

Emilian Bold wrote:
Quote:
No need to. Project dependencies that aren't nbm will be wrapped.

--emi

On Jul 17, 2009, at 11:06 PM, Fabrizio Giudici wrote:

Quote:
In the Maven wizard for creating projects, there's an archetipe for a
NB application and a NB module; but not for a wrapper module. How do
I create a wrapper module with Maven? Should I create a regular
module and then manually patch it? Thanks.
Cool. I didn't know that. But I tried, and I saw that the jars are
embedded in the .nbm module that depends on the library. This means that
two modules include the same .jars, they will be included in both .nbms,
which doesn't make sense. I suppose is there a way to avoid this?

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
weblogs.java.net/blog/fabriziogiudici - www.tidalwave.it/blog
address-removed - mobile: +39 348.150.6941
Back to top
Fabrizio Giudici
Posted via mailing list.





PostPosted: Fri Jul 17, 2009 10:52 pm    Post subject: How to create a wrapper module with Maven? Reply with quote

Fabrizio Giudici wrote:
Quote:
Emilian Bold wrote:
Quote:
No need to. Project dependencies that aren't nbm will be wrapped.

--emi

On Jul 17, 2009, at 11:06 PM, Fabrizio Giudici wrote:

Quote:
In the Maven wizard for creating projects, there's an archetipe for
a NB application and a NB module; but not for a wrapper module. How
do I create a wrapper module with Maven? Should I create a regular
module and then manually patch it? Thanks.
Cool. I didn't know that. But I tried, and I saw that the jars are
embedded in the .nbm module that depends on the library. This means
that two modules include the same .jars, they will be included in both
.nbms, which doesn't make sense. I suppose is there a way to avoid this?

Oh, well, I suppose that I just declare a regular module, add the
dependency, and voil
Back to top
mkleint
Posted via mailing list.





PostPosted: Sun Jul 19, 2009 8:44 pm    Post subject: How to create a wrapper module with Maven? Reply with quote

Fabrizio Giudici wrote:
Quote:
Fabrizio Giudici wrote:
Quote:
Emilian Bold wrote:
Quote:
No need to. Project dependencies that aren't nbm will be wrapped.

--emi

On Jul 17, 2009, at 11:06 PM, Fabrizio Giudici wrote:

Quote:
In the Maven wizard for creating projects, there's an archetipe for
a NB application and a NB module; but not for a wrapper module. How
do I create a wrapper module with Maven? Should I create a regular
module and then manually patch it? Thanks.
Cool. I didn't know that. But I tried, and I saw that the jars are
embedded in the .nbm module that depends on the library. This means
that two modules include the same .jars, they will be included in
both .nbms, which doesn't make sense. I suppose is there a way to
avoid this?

Oh, well, I suppose that I just declare a regular module, add the
dependency, and voil
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo