Re: Circular dependency and assembly plugin

2013-04-02 Thread Kevin Krumwiede
Okay, tell me if this is crazy... My assembly project is not the parent of my main project or its plugins. Instead, it just depends on them. The versions it depends on are identical to the assembly project's own version. So if I want to make a distribution zip of version 1.0 of my main project,

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread Wayne Fay
> Thanks to all for your answers. Alejandro, tried yours and it worked. Loved > the fact it didn't require any configurations in the child projects. Rock I'd be slightly concerned with his answer (trick) because it seems like a bug that might get fixed at some point. So long as you realize this

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread laredotornado-3
Thanks to all for your answers. Alejandro, tried yours and it worked. Loved the fact it didn't require any configurations in the child projects. Rock on, - Dave -- View this message in context: http://maven.40175.n5.nabble.com/Can-I-force-a-plugin-to-not-run-during-parent-pom-execution-phase

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread Mirko Friedenhagen
Hello Dave, you could try to activate this profile depending on the existence of a given file in your modules, e.g. the existence of a src/test/resources/liquibase.properties (see http://www.liquibase.org/manual/liquibase.properties). Regards Mirko Regards Mirko -- http://illegalstateexception.

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread Alejandro . Endo
A trick i use, provided the plugin has a configuration to skip a run, is having something like this in the parent org.apache.maven.plugins maven-assembly-plugin 2.4 my-id package

Re: Dependency mapping with the assembly plugin

2013-04-02 Thread Jeffrey E Care
Wayne Fay wrote on 04/02/2013 03:23:03 PM: > > I have a situation where many of my projects need to produce an adjunct > > artifact (in addition to the primary JAR) for later collection into my > > distribution image. > > What types of things are stored in your adjunct artifacts? How are > they

Re: Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread Baptiste MATHUS
At first sight, I'd say this is a use case for pluginManagement. You'd need to add the configuration you show above inside the part in your parent pom. Then, in each child module where you want to execute maven-antrun-plugin based on that config, you just put: maven-antrun-plugin

Re: Dependency mapping with the assembly plugin

2013-04-02 Thread Wayne Fay
> I have a situation where many of my projects need to produce an adjunct > artifact (in addition to the primary JAR) for later collection into my > distribution image. What types of things are stored in your adjunct artifacts? How are they created? Why can those things not live in the primary art

Dependency mapping with the assembly plugin

2013-04-02 Thread Jeffrey E Care
I have a situation where many of my projects need to produce an adjunct artifact (in addition to the primary JAR) for later collection into my distribution image. I'd like to simplify the process that I use to generate the distribution image, as right now the POM for the distribution project ha

Can I force a plugin to not run during parent pom execution phase?

2013-04-02 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. I've included this plugin in a profile in my parent pom, however, when I run my parent pom, I don't want this to be executed as part of the parent pom being built (I do want it executed for each of the child modules). How can I make this plugin not run during the paren

How to disable “Test Source Xref” report generation

2013-04-02 Thread Aleksandra Nowak
Hi all! I'm using Maven Site Plugin to generate my project page and the JXR Plugin to publish the source code. But I don't want to publish sources of test classes. Does anybody know if it is possible to disable "Test Source Xref" report. I've only found this pagehttp://jira.codehaus.org/browse/JXR-