Re: Plugins within plugins: best practices

2007-12-29 Thread Kallin Nagelberg
I need to run the unpack and copy goals repeatedly, with given group:artifact:version and different target directories for each one. On Dec 29, 2007 4:23 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > Which part is it that you need to use in the dependency plugin? The > actual copying and unpackin

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
Thanks Stuart for the idea on running the java program to make sure. Of course that works perfectly. But at least one more issue taken care of. So recapping, here is what it does NOT appear to be - proxy problem - java permission problem - firewall problem - network problem - JAVA_HOME problem A

Re: Maven2 + WLS - Exploded EAR

2007-12-29 Thread Haim Ashkenazi
On Dec 30, 2007 12:04 AM, Haim Ashkenazi <[EMAIL PROTECTED]> wrote: > On Dec 28, 2007 5:14 PM, amidrunk <[EMAIL PROTECTED]> wrote: > > > > Hi, thanks for responding! > > > > > > > Waouh, it may have taken some time :) > > > > You have no idea :) > > > > > > > See http://jira.codehaus.org/browse/MEA

Re: Maven2 + WLS - Exploded EAR

2007-12-29 Thread Haim Ashkenazi
On Dec 28, 2007 5:14 PM, amidrunk <[EMAIL PROTECTED]> wrote: > > Hi, thanks for responding! > > > > Waouh, it may have taken some time :) > > You have no idea :) > > > > See http://jira.codehaus.org/browse/MEAR-51 > > Looked good until I saw "Would be really great if you implement that." at > the e

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Tom Huybrechts
Take a look at your java network settings too - maybe that has a proxy configured ? Tom On Dec 29, 2007 7:06 PM, Stuart McCulloch <[EMAIL PROTECTED]> wrote: > On 30/12/2007, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > > > > As you can imagine I have double, triple and quadruple checked > > eve

RE: Plugins within plugins: best practices

2007-12-29 Thread Brian E. Fox
Which part is it that you need to use in the dependency plugin? The actual copying and unpacking is mostly delegated to the maven-archiver component. -Original Message- From: Kallin Nagelberg [mailto:[EMAIL PROTECTED] Sent: Saturday, December 29, 2007 4:03 PM To: Maven Users List Subject:

Plugins within plugins: best practices

2007-12-29 Thread Kallin Nagelberg
Hello everyone, I've created a standalone plugin in which I'm doing some unpacking/copying of artifacts in addition to a few other things. I would like to defer the unpacking/copying operations to the maven dependency plugin for obvious reasons. Has anyone tried creating and configuring a plugin

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Mick Knutson
Opps, yes luginManagement. But I can't try this til Monday when I get in the office. On Dec 29, 2007 11:08 AM, Dan Tran <[EMAIL PROTECTED]> wrote: > dependancyManagement?? you mean pluginManagement right? > > > did you even try my suggested solution? > > -d > > On Dec 29, 2007 10:52 AM, Mick Kn

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Dan Tran
dependancyManagement?? you mean pluginManagement right? did you even try my suggested solution? -d On Dec 29, 2007 10:52 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > I was using 2.0 up to this point, and that version was only specified with > the dependancyManagement section. > > > > On Dec 29

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Dennis Lundberg
Well dependencyManagement only works for build plugins - not for reporting plugins. So if you have cobertura-maven-plugin specified inside in some pom, it will not use the version you specified in dependencyManagement. Mick Knutson wrote: > I was using 2.0 up to this point, and that version was o

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Mick Knutson
I was using 2.0 up to this point, and that version was only specified with the dependancyManagement section. On Dec 29, 2007 9:35 AM, Dennis Lundberg <[EMAIL PROTECTED]> wrote: > cobertura-maven-plugin 2.2 was released on December 12. > > Are you sure that you have specified a version for all oc

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Stuart McCulloch
On 30/12/2007, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > > As you can imagine I have double, triple and quadruple checked > everything I could think of xp and norton firewall wise, don't know > anything else to check. Which is why I only half jokingly titled this > thread as mvn "setup:diagnose"

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Dennis Lundberg
cobertura-maven-plugin 2.2 was released on December 12. Are you sure that you have specified a version for all occurrences of cobertura-maven-plugin in all of your poms? Mick Knutson wrote: > All I am doing is a site:site > > This was working 2 weeks ago, and I have not upgraded cobertura. > I

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
As you can imagine I have double, triple and quadruple checked everything I could think of xp and norton firewall wise, don't know anything else to check. Which is why I only half jokingly titled this thread as mvn "setup:diagnose" would be nice at times like this. This is such a huge plague on the

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Mick Knutson
All I am doing is a site:site This was working 2 weeks ago, and I have not upgraded cobertura. I have a multi-module project. In my main pom i have the dependancyManagement declaration as I posted here. Then for only the modules that I want to run cobertura on, I have the plugin, and a report dec

Re: [m2] Unable to find the mojo 'org.codehaus.mojo:cobertura-maven-plugin:

2007-12-29 Thread Dennis Lundberg
Mick, If you are moving to version 2.2 of the cobertura-maven-plugin, then you should remove the and -hack from your pom. Mick Knutson wrote: > Nothing changed from my cobertura plugin. I was trying to do a > > > > > org.codehaus.mojo >

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Jerome Lacoste
On Dec 29, 2007 1:39 PM, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > answer is inline below question: > > On Dec 29, 2007 6:30 AM, Tom Huybrechts <[EMAIL PROTECTED]> wrote: > > The UnknownHostException make this look like a network issue. Can you do a > > ping repo1.maven.org ? > > $ ping repo1.ma

Re: Is it possible to activate a profile from settings.xml?

2007-12-29 Thread Steinar Bang
> "Tomasz Pik" <[EMAIL PROTECTED]>: > yes, add something like this: > >idOfProfile >idOfOtherProfile > > listing profiles that needs to be activated at the end of settings.xml > file (before ). So simple! Thanx! :-) I noted something strange on maven 2.0.4: I also needed a eleme

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
answer is inline below question: On Dec 29, 2007 6:30 AM, Tom Huybrechts <[EMAIL PROTECTED]> wrote: > The UnknownHostException make this look like a network issue. Can you do a > ping repo1.maven.org ? $ ping repo1.maven.org Pinging repo1.maven.org [63.246.20.112] with 32 bytes of data: Reply f

Re: an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Tom Huybrechts
The UnknownHostException make this look like a network issue. Can you do a ping repo1.maven.org ? Tom On Dec 29, 2007 1:26 PM, Pete Carapetyan <[EMAIL PROTECTED]> wrote: > Long time Maven user getting the dreaded "plugin does not exist or no > valid version could be found" on every maven call af

an "mvn setup:diagnose" would be nice at times like this :)

2007-12-29 Thread Pete Carapetyan
Long time Maven user getting the dreaded "plugin does not exist or no valid version could be found" on every maven call after unrelated software installation. Any advice where to look next greatly appreciated. Ran on same box 2 hours before, runs on every other box same network connection, only th

Re: How to specify the plugin descriptor?

2007-12-29 Thread Bernhard Huemer
Hello, thanks, but I've already solved it differently. Actually I just wanted to "override" some read-only properties of a maven plugin in order to being able to specify them in my pom (i.e. I just wanted to remove the @readonly option). However, I've found a way to specify the plugin.xml manuall