Re: Property that indicates a snapshot or release build?

2014-01-20 Thread Francesco Mari
If you are using the Maven Release Plugin you can use the releaseProfiles [1] configuration option in the perform goal [2] to activate a specific profile during a release build. In that profile you can override your specific configuration. The idea is to configure your POM for snapshot builds by

versions maven plugin

2014-01-20 Thread Alejandro . Endo
Not sure if this is the right list for codehaus plugins. If not I apologize I have a pom with this dependencies dependency groupIdfoo.blah/groupId artifactIdbar/artifactId

Re: versions maven plugin

2014-01-20 Thread Stephen Connolly
v-m-p does not roll back version numbers On 20 January 2014 16:59, alejandro.e...@miranda.com wrote: Not sure if this is the right list for codehaus plugins. If not I apologize I have a pom with this dependencies dependency

turns EAR into an OSGi

2014-01-20 Thread acostela
Hi everybody. I'm a bit new with maven. I've worked with it before but no in the depth that I need now. I have searched trough internet and inside this forum and I didn't found anything conclusive to my question. I have an Enterprise Java application that it's build with Maven and it has several

Re: versions maven plugin

2014-01-20 Thread Alejandro . Endo
Thank you Stephen. Are there any other ways to stabilize my dependencies then? i have 300 poms all depending on the released+1 development version. This must be a common use-case when using RCs, no? you increase all your versions to your next RC-2-SNAPSHOT as soon as you create your RC-1, but

maven plugin compatibility with 3.0.X and 3.1.X and Aether

2014-01-20 Thread Stephen More
I am working on a maven plugin that needs to work with both 3.0.X and 3.1.X and Aether ( org.sonatype.aether vs org.eclipse.aether) . What is recommended, one or two separate plugins ? Has anyone already created a utility that will work with either ?

Re: versions maven plugin

2014-01-20 Thread Stephen Connolly
How did you turn your RC into a released version? (I would do it with the release plugin and just verify the SCM changelog is unchanged) On Monday, 20 January 2014, alejandro.e...@miranda.com wrote: Thank you Stephen. Are there any other ways to stabilize my dependencies then? i have 300

Re: versions maven plugin

2014-01-20 Thread Alejandro . Endo
I didn't. QA is not happy about rebuilding the system once it's been approved so we have to release the RC as approved. So all our versions are always RC-X-SNAPSHOT or RC-X Alejandro Endo | Software Designer/Concepteur de logiciels From: Stephen Connolly stephen.alan.conno...@gmail.com

Re: versions maven plugin

2014-01-20 Thread Stephen Connolly
Consider staging support on your repo manager On Monday, 20 January 2014, alejandro.e...@miranda.com wrote: I didn't. QA is not happy about rebuilding the system once it's been approved so we have to release the RC as approved. So all our versions are always RC-X-SNAPSHOT or RC-X Alejandro

Re: versions maven plugin

2014-01-20 Thread Thomas Broyer
Possibly using 1.0-SNAPSHOT instead of 1.0-RC-SNAPSHOT as your naming rule would make it easier: you're working towards 1.0 and on the path to this release you cut a few RCs: 1.0-RC-1, 1.0-RC-2, etc. Le 20 janv. 2014 19:34, alejandro.e...@miranda.com a écrit : Thank you Stephen. Are there any

Re: maven plugin compatibility with 3.0.X and 3.1.X and Aether

2014-01-20 Thread Laird Nelson
On Mon, Jan 20, 2014 at 10:37 AM, Stephen More stephen.m...@gmail.comwrote: I am working on a maven plugin that needs to work with both 3.0.X and 3.1.X and Aether ( org.sonatype.aether vs org.eclipse.aether) . What is recommended, one or two separate plugins ? Has anyone already created a

maven-deploy-plugin: exclude specific project artifact(s)?

2014-01-20 Thread Jim Garrison
I have a simple project that uses the assembly plugin to build a jar-with-dependencies and then a zip file containing the jar-with-dependencies and a shell script. When I run mvn deploy it deploys all three artifacts (the original jar, the jwd and the zip file) to Nexus. Is there a way to

Deploy to Nexus OSS failed with error: ReasonPhrase:Forbidden

2014-01-20 Thread hujirong
This is a brand new setup with both Maven and Nexus OSS in my local PC, everything new and there is nothing in Nexus yet. All settings are default and I haven't changed anything in Nexus. The user deployment should have full access to all repositories. I was running mvn deploy and expect the

Re: Deploy to Nexus OSS failed with error: ReasonPhrase:Forbidden

2014-01-20 Thread Anders Hammar
I think this question should fit the Nexus users mailing list much better. More info here: http://www.sonatype.org/nexus/participate /Anders On Mon, Jan 20, 2014 at 10:01 PM, hujirong jirong...@gmail.com wrote: This is a brand new setup with both Maven and Nexus OSS in my local PC,

Re: maven-deploy-plugin: exclude specific project artifact(s)?

2014-01-20 Thread Robert Scholte
Hi, Make sure it is not attached to the project. For assembly-plugin, see http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach Set this value to false. Robert Op Mon, 20 Jan 2014 21:28:49 +0100 schreef Jim Garrison jim.garri...@nwea.org: I have a simple project

RE: maven-deploy-plugin: exclude specific project artifact(s)?

2014-01-20 Thread Jim Garrison
Op Mon, 20 Jan 2014 21:28:49 +0100 schreef Jim Garrison I have a simple project that uses the assembly plugin to build a jar-with-dependencies and then a zip file containing the jar-with-dependencies and a shell script. When I run mvn deploy it deploys all three artifacts (the original

Re: turns EAR into an OSGi

2014-01-20 Thread Baptiste Mathus
Hi, Seems not so much a maven question. More an OSGi one. IMO, you should start by thinking about or explaining what you would expect maven to do. Knowing both Java EE and OSGi (here it's bundles) a bit, I can't see even doing it manually anything obvious to something approaching a conversion. Le