Re: Replacing token in WAR web.xml from EAR pom.xml

2014-09-22 Thread Anders Hammar
The solution that comes to my mind is to have one common war module and then use war overlays and create separat war modules for each flavor of the webapp you need (one for each ear I guess). It means many modules unfortunately, but is somewhat the Maven way. Google on maven war overlay for more

Re: Replacing token in WAR web.xml from EAR pom.xml

2014-09-22 Thread Grover Blue
Certainly not ideal. I'm very surprised that maven doesn't profile finer grained phases. If there a way to have my EAR pom set a property that is shared by it's dependencies? Perhaps I can then filter the web project with such a global property. On Mon, Sep 22, 2014 at 3:12 AM, Anders Hammar

[ANN] Apache Maven Release 2.5.1 Released

2014-09-22 Thread Benson Margulies
The Apache Maven team is pleased to announce the release of the Apache Maven Release component, version 2.5.1 maven-release provides technology for automating releases, including the maven-release-plugin. http://maven.apache.org/plugins/maven-release-plugin/ You should specify the version in

clean plugin requires reactor dependencies?

2014-09-22 Thread Dan Tran
Hi is it normal for a module mvn clean to require reactor dependencies?? I have a multi module projects which builds fine with snapshot. Then I remove all the reactor artifacts from local repo and run offline mvn clean mvn clean -o my build fails looking for reactor artifact dependencies Big

usage with Jenkins

2014-09-22 Thread Grover Blue
Is there anything special that needs to be added to a pom in order to work with Jenkins? For some reason, by CI build/packages successfully but not artifacts are listed on the jobs page (they are hidden on the file-system in a default/* directory).

Re: clean plugin requires reactor dependencies?

2014-09-22 Thread Dan Tran
false alarm, I have a profile at linux in pre-clean to invoke exec-maven-plugin which does dependencies resolution. Ouch!! -Dan On Mon, Sep 22, 2014 at 2:06 PM, Dan Tran dant...@gmail.com wrote: Hi is it normal for a module mvn clean to require reactor dependencies?? I have a multi

Re: usage with Jenkins

2014-09-22 Thread Curtis Rueden
Hi Grover, CI build/packages successfully but not artifacts are listed on the jobs page For Jenkins to publish artifacts (for any build, not just Maven-based ones) you must use the publish artifacts option and specify the file path patterns to publish. Also, stay away from the Jenkins Maven