Re: Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-08 Thread Jörg Schaible
laredotornado-3 wrote: > Hi, > > I'm using Maven 3.0.3 and trying to use the maven-ear-plugin (2.7). When > building the ear project, I'm getting the error, "[ERROR] Failed to > execute goal > org.apache.maven.plugins:maven-ear-plugin:2.7:generate-application-xml > (default-generate-application-

Re: Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-08 Thread Anders Hammar
I'm looking at this sentence: "Artifact[app-client:org.mainco.myco:myclient] is not a dependency of the project." See the "app-client"? Could it be that the as this is a appClientModule the plugin is adding a classifier ("app-client") or something? The order in the a:b:c doesn't follow the de fact

Re: Nice article discussing optional dependencies

2012-08-08 Thread Wayne Fay
> any idea where his background jpg was shot? It changes every time you refresh the page. The author also tweeted "My blog background picture will now change regularly and draw from the tens of thousands of photos from my trips to 63 countries so far." So I'm afraid you'd have to ask him directly

Re: [ANN] Maven Source Plugin 2.2 Released

2012-08-08 Thread Wayne Fay
> * [MSOURCES-51] - Disable source plugin in derived pom > > can this be user configurable? i am using this functionality Please go read the full JIRA before making any assumptions about functionality changes based on just the "short description" in JIRA: http://jira.codehaus.org/browse/MSOURCES-5

Re: Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-08 Thread Wayne Fay
> project. -> [Help 1]". I'm losing my mind because looking at my pom.xml > file, it IS a dependency of my project. Here is my pom.xml file ... Don't just look at the pom.xml file. Look at the pom which Maven sees as generated by "mvn help:effective-pom". For example, I see that you did not dec

Maven ear plugin is telling me I don't have a dependency, but I do ... ideas?

2012-08-08 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 and trying to use the maven-ear-plugin (2.7). When building the ear project, I'm getting the error, "[ERROR] Failed to execute goal org.apache.maven.plugins:maven-ear-plugin:2.7:generate-application-xml (default-generate-application-xml) on project orders-ear: Artifact[a

Re: [ANN] Maven Source Plugin 2.2 Released

2012-08-08 Thread Radim Kolar
* [MSOURCES-51] - Disable source plugin in derived pom can this be user configurable? i am using this functionality - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.a

Re: How to make "failsafe:integration-test" fail the "mvn" command, but not be part of the default build

2012-08-08 Thread Stephen Connolly
failsafe:integration-test will *never* fail the build, that is what it is designed to do. you are not understanding how to use it if you think invoking directly on the cli is the way to go. I suggest using a profile to bind the executions to the lifecycle you'd then be typing mvn -Pintegration-

How to make "failsafe:integration-test" fail the "mvn" command, but not be part of the default build

2012-08-08 Thread KARR, DAVID
I have a build with both unit tests and component tests. I want the unit tests to run as part of the default build, but I only want the component tests to run when specifically requested with "failsafe:integration-test". What I have right now does this, but I noticed that when one of the compon

RE: Nice article discussing optional dependencies

2012-08-08 Thread Martin Gainty
Thanks Ron this is what i got from the article public static boolean isPresent(String className) {try { Class.forName(className);return true;} catch (Throwable ex) { // Class or one of its dependencies is not present...return false; }} plugin devs have

Nice article discussing optional dependencies

2012-08-08 Thread Ron Wheeler
This is a nicely illustrated and fairly concise discussion about handling optional dependencies. http://www.axelfontaine.com/2012/08/optional-dependency-strategies-for-java.html Enjoy Ron -- Ron Wheeler President Artifact Software Inc email: rwhee...@artifact-software.com skype: ronaldmwheeler

Re: Maven Multi Module Project + root pom plugin

2012-08-08 Thread Ramo
Many Thanks Anders, Turns out it was my bad I had put the plugin by error in the pluginManagement section when I thought I had put it in the build>plugins section In any case now it's working. Many thanks for your time replying to my query. Regards -- View this message in context: http://m

Re: Maven Multi Module Project + root pom plugin

2012-08-08 Thread Anders Hammar
> I have a maven multi module project why is it when I put this configuration: > > org.zeroturnaround > jrebel-maven-plugin > 1.1.3 > > > generate-rebel-xml > process-resources > >generate Nabble removes some markup. Stop using Nabble or post the xml somewhere where it will be readable.

Maven Multi Module Project + root pom plugin

2012-08-08 Thread Ramo
I have a maven multi module project why is it when I put this configuration: org.zeroturnaround jrebel-maven-plugin 1.1.3 generate-rebel-xml process-resources generate in the root pom and mvn install the project no rebel.xml file is generated. I can generate it us