NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Fabrizio Giudici Posted via mailing list.
|
Posted: Fri Jul 17, 2009 8:06 pm Post subject: How to create a wrapper module with Maven? |
|
|
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.
|
Posted: Fri Jul 17, 2009 10:19 pm Post subject: How to create a wrapper module with Maven? |
|
|
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.
|
Posted: Fri Jul 17, 2009 10:38 pm Post subject: How to create a wrapper module with Maven? |
|
|
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.
|
Posted: Fri Jul 17, 2009 10:52 pm Post subject: How to create a wrapper module with Maven? |
|
|
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.
|
Posted: Sun Jul 19, 2009 8:44 pm Post subject: How to create a wrapper module with Maven? |
|
|
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 |
|
 |
|
|
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
|
|
|