Re: pluginManagement messes up with

2012-05-09 Thread Wayne Fay
> I read all the documentation about pluginMnagement, but cannot figure > out how the two are related. What "two" are you talking about? pluginManagement/plugins and build/plugins, or something else entirely? Wayne - To unsubscr

Re: [ANN] Rate my Mojo, part II: Launchify

2012-05-09 Thread Aldrin Leal
I wanted something simpler, a no-brainer. Appassembler is surely a best solution for most needs, but I wanted a very specific case: Making executables without using your brain :) -- -- Aldrin Leal, / http://meadiciona.com/aldrinleal On Wed, May 9, 2012 at 5:40 PM, Karl Heinz Marbaise wrote: >

Re: Maven replacer plugin

2012-05-09 Thread Pankaj
Thanks a lot Karl. I could get it working using replacer plugin with below token xyz.java @Start.*@End -value- true As you mentioned correctly, i'm stuck with copying file, it's ok for me to copy under base directory, i tried using build

pluginManagement messes up with

2012-05-09 Thread Anu Padki
I am working on a vaadin project. I wanted to bind the vadin-maven plugin and gwt-maven plugin to different phases. The pom file in eclipse shows error on build if pluginMnagament is not inserted. I had it inserted and the was not getting bund. When I remove the pluginManagement tags, the phase

Re: Disabling profile that is present in settings.xml activeProfiles section

2012-05-09 Thread Laird Nelson
On Wed, May 9, 2012 at 5:42 PM, Laird Nelson wrote: > I invoke a build elsewhere like this (in part): > > mvn clean help:effective-settings -P"!foo" > > I get back this (in part): > > http://maven.apache.org/SETTINGS/1.1.0";> > > foo > > > > ...and of COURSE I do. Please disregard. I wante

Disabling profile that is present in settings.xml activeProfiles section

2012-05-09 Thread Laird Nelson
Hello; I am seeing behavior that I had a question about regarding deactivating profiles. I have a settings file that contains: foo I invoke a build elsewhere like this (in part): mvn clean help:effective-settings -P"!foo" I get back this (in part): http://maven.apache.org/SETTINGS/1.1.0";

Re: Best way to handle a universal pom?

2012-05-09 Thread Raketemensch
Well, that's why I'm asking for a best practice, I'm trying to avoid antishness as much as possible. However, I'm in charge of 400+ individual Maven projects, not counting all the modules. If an environment changes, I'm not eager to load up 400+ individual pom files to make the required change, th

Re: [ANN] Rate my Mojo, part II: Launchify

2012-05-09 Thread Karl Heinz Marbaise
Hi, as i read you announce i was remembered that there was in issue http://jira.codehaus.org/browse/MAPPASM-106 for longer time in the jira of appassembler-maven-plugin to support launch4j... http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/ Those files generated, you can sim

Re: Best way to handle a universal pom?

2012-05-09 Thread Anders Hammar
You need to do this in a parent pom. But, I'd like to stress what you're trying to do is not Maven-ish. Maven is not Ant, you need to forget how you did things with Ant and think differently. /Anders On Wed, May 9, 2012 at 10:18 PM, Raketemensch wrote: > I have tried creating a pom that lists th

Re: Best way to handle a universal pom?

2012-05-09 Thread Raketemensch
I have tried creating a pom that lists the profiles, publishing it, then declaring it as a dependency on a few of the builds for testing, but it appears that profiles are not one of the things inherited from dependent poms I'm back to the drawing board on how to get this to work. -- View this

Re: help needed: problems with eclipse, m2e and wst (FIXED)

2012-05-09 Thread Jörg Hohwiller
Hi everybody, I found a solution to my problem. Everybody hates digging through threads where people are having the same problem but then no answer or something like "I found the problem, was a stupid mistake". Therefore here it is: 1. Upgrade to m2e 1.1.0 Now the projects in deployment assembly

Re: Maven Dependencies Managenement and Profile problem

2012-05-09 Thread Anders Hammar
Affecting dependencies through profiles is generally a very bad idea! One theme with Maven (and any tool using a Maven repo) is deterministic builds. If active profiles change the dependency tree this is not true. /Anders On Wed, May 9, 2012 at 6:36 PM, Gay David (Annecy) wrote: > Hi all, > > >

Re: [ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Ben Tatham
Very cool, indeed. With all the hype around Maven 3 having a built the execution plan up front, I was surprised this feature wasn't included in the maven-help-plugin (like effective-pom and effective-settings) or even in mvn itself. Perhaps you could port this feature to be a patch to the maven-h

Re: [ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Carlo Sciolla
Hi, Thanks for the feedback! 2012/5/9 Karl Heinz Marbaise > Hi, > > I would also strongly suggest using a Maven Site as that's IMHO common >> practice for plugins. Makes it easy to find info as all plugin sites >> are structured the same. >> > definitely good way.. ok, I'll work on a proper M

Re: [ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Karl Heinz Marbaise
Hi, I would also strongly suggest using a Maven Site as that's IMHO common practice for plugins. Makes it easy to find info as all plugin sites are structured the same. definitely good way...furthermore what exactly does the plugin print out ? What about a example output ? Kind regards Karl-He

Re: Parameterizing the settings...

2012-05-09 Thread Wayne Fay
> Thank you!! Is there a SNAPSHOT build somewhere?  I have been browsing > around http://nexus.codehaus.org/snapshots/ and particularly > https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/ > but > can't see a maven-release-plugin anywhere that is obvious (to me at least).

Re: Parameterizing the settings...

2012-05-09 Thread Jeff
Thank you!! Is there a SNAPSHOT build somewhere? I have been browsing around http://nexus.codehaus.org/snapshots/ and particularly https://nexus.codehaus.org/content/groups/snapshots-group/org/codehaus/mojo/ but can't see a maven-release-plugin anywhere that is obvious (to me at least). Thanks! O

Problem with Maven-surefire-plugin, testNG and Spring

2012-05-09 Thread Edmondo Porcu
Dear all, I am running a mvn package over a complex project, which includes tests written using TestNG and Spring AbstractTestNGSpringContexts. When I run these tests inside my IDE (IDEA) everything works fine, but when I run through mvn package the @ContextConfiguration annotation is not proce

Re: Maven Changes Plugin 2.8?

2012-05-09 Thread Benson Margulies
On Wed, May 9, 2012 at 2:41 AM, Swapnil Sapar wrote: > smart move :) Thank you very much. I am now happy to go into the release process. > > Alright, here is something I found w.r.t MCHANGES-280 > MCHANGES-280 is... > 1. NOT reproducible with maven 3.0.4 > 2. NOT reproducible when using default

Re: resolver-status.properties read/write warnings

2012-05-09 Thread Jason van Zyl
I will come back Monday with a website. On May 8, 2012, at 4:01 PM, Jeff MAURY wrote: > On Thu, Apr 19, 2012 at 7:08 AM, Jason van Zyl wrote: > >> Separate repos work. If you absolutely needed a concurrent safe local repo >> there's one here: >> >> https://github.com/etesla/tesla-concurrent-lo

Re: circular dependency with common test classes

2012-05-09 Thread Barrie Treloar
On Wed, May 9, 2012 at 6:38 PM, Stephen Connolly wrote: [del] > You need to keep in mind the way the lifecycle works, i.e. that the > lifecycle is completed on each module before moving onto the next, so > even though the requirements of the test phase could be satisfied if > *all* modules are fin

Re: [ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Anders Hammar
I would also strongly suggest using a Maven Site as that's IMHO common practice for plugins. Makes it easy to find info as all plugin sites are structured the same. /Anders On Wed, May 9, 2012 at 12:04 PM, Jörg Schaible wrote: > Hi Carlo, > > Carlo Sciolla wrote: > >> Hi all, >> >> I'm happy to

Re: Newbie problem: Maven doesn't startup

2012-05-09 Thread David Pérez
> Hi, > > I have a very basic problem installing the latest version of Maven. > I'm using Ubuntu 12.04 and Sun Java 6. Solved the problem. I have used a buggy unpack tool. Sorry for the noise caused. - To unsubscribe, e-mail:

Re: [ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Jörg Schaible
Hi Carlo, Carlo Sciolla wrote: > Hi all, > > I'm happy to announce the availability of the Plan Maven Plugin v1.1 on > Central. > > The Plan plugin unrolls the maven execution plan in the build logs, > helping you debugging complex build configurations with numerous profiles, > plugin execution

Re: circular dependency with common test classes

2012-05-09 Thread Stephen Connolly
On 9 May 2012 06:51, Iordanov, Borislav (CIAO) wrote: > Hi, > > I'm a relatively new Maven user. I found an exact description of my problem > on StackOverflow, but no solution: > > http://stackoverflow.com/questions/10174542/resolving-maven-circular-dependencies-between-test-testhelper-and-projec

Re: How to compile some modules with a specific JDK, the rest with default JDK

2012-05-09 Thread Stephen Connolly
Just so you know, a far far better way to do this is to use toolchains.xml On 8 May 2012 17:36, wrote: > Works like a charm (tested with mvn -X), inside the pom: > >  X >   >     >       >        org.apache.maven.plugins >        maven-compiler-plugin >        2.3.2 >         >          1.7 >  

[ANN] plan-maven-plugin v1.1 released

2012-05-09 Thread Carlo Sciolla
Hi all, I'm happy to announce the availability of the Plan Maven Plugin v1.1 on Central. The Plan plugin unrolls the maven execution plan in the build logs, helping you debugging complex build configurations with numerous profiles, plugin executions and personal settings. It logs the active lifec

Re: Maven Changes Plugin 2.8?

2012-05-09 Thread Anders Hammar
This info is much better to add to the JIRA ticket. So it is preserved for later reference. /Anders On Wed, May 9, 2012 at 8:41 AM, Swapnil Sapar wrote: > smart move :) > > Alright, here is something I found w.r.t MCHANGES-280 > MCHANGES-280 is... > 1. NOT reproducible with maven 3.0.4 > 2. NOT

[ANN] Rate my Mojo, part II: Launchify

2012-05-09 Thread Aldrin Leal
Folks, I just published yesterday the sources for Launchify on bitbucket. While still rushing to writing the docs (not really) and delivering in central (not really as well), I think its worth of general scrutiny and discussion. It works this way: -

Newbie problem: Maven doesn't startup

2012-05-09 Thread David Pérez
Hi, I have a very basic problem installing the latest version of Maven. I'm using Ubuntu 12.04 and Sun Java 6. I have followed this steps: 1) Unpack the archive where you would like to store the binaries, eg: Unix-based Operating Systems (Linux, Solaris and Mac OS X) tar zxvf apache