Archetype multi module - optional modules

2011-01-24 Thread Marcus Vinicius
Hello, I'm developing a multi module archetype. But i would like to offer to users of my archetypes a option to choose which modules wants use, on runtime. I`m using maven 2.2.1, For example, when the user execute: mvn archetype:generate I could ask to user whats optional modules he wants

Re: Work flow for isolated internal repository

2011-01-24 Thread Guo Du
On Mon, Jan 24, 2011 at 5:41 AM, Anders Hammar wrote: > You could be somewhat aided by the procurement feature of Nexus Pro (the > commercial edition of the Nexus repo manager): > http://www.sonatype.com/books/nexus-book/reference/procure.html Looked at the link, Procured Development Repository[1]

Re: Declaring a dependency for tools.jar

2011-01-24 Thread Benson Margulies
But if you want to run a build on a Mac, you need the profile so as to turn it off where there is no such file. On Mon, Jan 24, 2011 at 4:38 PM, Mike Calmus wrote: > You can use this same dependency without using a profile at all. Just add it > in like you would any other dependency. So long as

Why is Maven allowing cycles?

2011-01-24 Thread Phillip Hellewell
I don't know if I've lost my mind or what, but Maven is not giving me an error when I have cyclic dependencies. I just tried a simple two projects A and B that depend on each other, and Maven gives me no errors when resolving dependencies. You can clearly see the cycle when running mvn dependency

Re: Declaring a dependency for tools.jar

2011-01-24 Thread Mike Calmus
You can use this same dependency without using a profile at all. Just add it in like you would any other dependency. So long as the directory exists, it will work just fine. On Mon, 24 Jan 2011 09:15:14 -0800 (PST), Dean Schulze dean_w_schu...@yahoo.com wrote: > > The FAQ shows the below to decl

Re: pdf plugin broken in maven3?

2011-01-24 Thread Andrew Geery
Thanks for the link; I knew it had to be something like that. Anyway, the new plugin did work. Thanks Andrew On Mon, Jan 24, 2011 at 3:51 PM, Lukas Theussl wrote: > > http://maven.apache.org/guides/development/guide-testing-development-plugins.html > > HTH, > -Lukas > > > Andrew Geery wrote: >>

Re: pdf plugin broken in maven3?

2011-01-24 Thread Lukas Theussl
http://maven.apache.org/guides/development/guide-testing-development-plugins.html HTH, -Lukas Andrew Geery wrote: I don't see 1.2-SNAPSHOT in the main repository -- what repository should I be pointing at? Thanks Andrew On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl wrote: I haven't actu

Re: create exec of swing maven application

2011-01-24 Thread Stevo Slavić
Only non-deprecated goal, besides help goal is single - http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html Use single instead of attached. Use latest release (2.2), declare it first in pluginManagement. Regards, Stevo. On Mon, Jan 24, 2011 at 7:41 PM, Glenn Wybo wrote: > Hi,

Re: pdf plugin broken in maven3?

2011-01-24 Thread Olivier Lamy
Hello, Use this one : https://repository.apache.org/content/groups/snapshots-group/ 2011/1/24 Andrew Geery : > I don't see 1.2-SNAPSHOT in the main repository -- what repository > should I be pointing at? > > Thanks > Andrew > > On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl wrote: >> >> I haven'

Re: pdf plugin broken in maven3?

2011-01-24 Thread Andrew Geery
I don't see 1.2-SNAPSHOT in the main repository -- what repository should I be pointing at? Thanks Andrew On Fri, Jan 21, 2011 at 2:53 PM, Lukas Theussl wrote: > > I haven't actually tried with maven 3 but as I understand from Olivier's > comments at MPDF-41, it should work apart from the report

create exec of swing maven application

2011-01-24 Thread Glenn Wybo
Hi, I'm trying to create an executable jar from a swing application using maven and its maven-assembly-plugin. It builds ok, I saw in the jar it packs the dependent jars, but it contains non of my own programmed classes, resulting in a classnotfound exception when double clicking on the j

RE: Native dependencies best practices

2011-01-24 Thread Haszlakiewicz, Eric
>-Original Message- >From: Ruben Garat [mailto:ruben01@gmail.com] >Sent: Saturday, January 22, 2011 9:59 AM >To: Maven Users List >Subject: Native dependencies best practices > >Hi, I am trying to help get a project (Lightweight Java Game Library >) into Maven Central

Declaring a dependency for tools.jar

2011-01-24 Thread Dean Schulze
The FAQ shows the below to declare a dependency for tools.jar.  This seems to be a problem waiting to happen now that Oracle is the vendor for the official JVM.  (A recent update to JDK 1.6 caused problems for Eclipse because Eclipse was expecting a property setting of Sun Microsystems instead

Re: reactor, plugin dependency, m3

2011-01-24 Thread Benson Margulies
OK, time to move that stuff out of the reactor into its own build? Or is there a way around this? On Sun, Jan 23, 2011 at 6:34 PM, Justin Edelson wrote: > > > On Jan 23, 2011, at 5:09 PM, Benson Margulies wrote: > >> I have a multi-module build. The first module packages up some some >> checksty

Re: surefire classpath problems with maven 3 parallel

2011-01-24 Thread Kristian Rosenvold
ma., 24.01.2011 kl. 00.19 -0800, skrev fmeili: > Do you have any other idea how I may isolate the problem? > TestNG dependencies can also cause the same behaviour as I described in my original mail (wrt junit3). If that fails, there is no other way than to do as I said: >Surefire stores the for

Re: License collection

2011-01-24 Thread Rui Vilão
Thank you all for replying. I'll try that one that Yoav Landman pointed out. -- Rui On Sat, Jan 22, 2011 at 12:07 PM, Yoav Landman wrote: > You may also want to have a look at the Artifactory license addon, which > does exactly that - finds the licenses of all dependencies of a build > (includi

Re: Maven gpg plugin stuck while signing

2011-01-24 Thread Tommaso Teofili
It worked adding the > > forked-path to the maven-release-plugin, many thanks again Simo! :-) Cheers, Tommaso 2011/1/24 Tommaso Teofili > Many thanks Simo! :-) > I'm going to try this way and let you know. > Cheers, > Tommaso > > 2011/1/23 Simone Tripodi > > Hi Oliver, >> sure you can do i

Re: Work flow for isolated internal repository

2011-01-24 Thread Guo Du
On Mon, Jan 24, 2011 at 2:31 AM, Ron Wheeler wrote: > 1. Developer enables the access to internal repository(Nexus or other). Internal repository is isolated from external even with nexus. This is the main point of this work flow. Imaging with transparent proxy to maven central, developer could do

Re: surefire classpath problems with maven 3 parallel

2011-01-24 Thread fmeili
Hi Kristian, thanks for your quick answer. a) I've tried a lot of things without success. As you told me, I was looking for hidden JUnit 3 dependency, but have not found any. To check this, I built with -X and scan the stdout for junit3. There are some junit3 test dependencies in some standard m