Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-26 Thread laredotornado-3
Basically. I had to have both a parent version and a regular version subco org.mainco.subco 55.0.0 myproject http://maven.apache.org 55.0.0-SNAPSHOT and then for my dependent modules I could use the ${pro

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-25 Thread Barrie Treloar
Did you resolve your problem? If you did, could you reply with your resolutions so that they can be archived. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.or

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread Barrie Treloar
On 19 November 2013 08:14, laredotornado-3 wrote: > Hi, > > I'm using Maven 3.0.3 and trying to use the Maven release plugin to do a > release of a child module, which inherits from a parent pom. The parent has > been released but does not include the child in its module list, and won't > be able

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread laredotornado-3
Hi, I tried changing the snapshot to be a later version mvn -B -DdevelopmentVersion=52.0.1-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=* -Dtag=myproject-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare but I still get the

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread Ron Wheeler
On 19/11/2013 10:50 AM, Russell Gold wrote: The release plugin does an awful lot more than deploy. The usual case is that during development, your version is set to a snapshot - the plugin changes it to a release version, commits the change to CM and tags it, among other things. Deploy won’t d

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread Russell Gold
The release plugin does an awful lot more than deploy. The usual case is that during development, your version is set to a snapshot - the plugin changes it to a release version, commits the change to CM and tags it, among other things. Deploy won’t do any of that. That said, your point about th

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread Ron Wheeler
I never us the release plug-in so you can take my comments with a grain of salt. From reading the docs I am not sure that these are right. -DdevelopmentVersion=52.0.0-SNAPSHOT -DreleaseVersion=52.0.0 My interpretation is that you are trying to get maven to go backwards. You are saying to rele

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-19 Thread laredotornado-3
I hadn't specified a Maven release version anywhere, so I assume you meant like this mvn -B -DdevelopmentVersion=52.0.0-SNAPSHOT -DreleaseVersion=52.0.0 -Dusername=* -Dtag=myprojectt-52.0.0 -DskipTests -P prod -Dresume=false -DdryRun=true org.apache.maven.plugins:maven-release-plugin:2.4.2

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread Anders Hammar
You're using an old version of the release plugin. Try the latest version! /Anders (mobile) Den 19 nov 2013 00:00 skrev "laredotornado-3" : > Hi, THe problem is when I use the released parent, by specifying > > > subco > org.mainco.subco > 52.0.0 > >

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread laredotornado-3
Hi, THe problem is when I use the released parent, by specifying subco org.mainco.subco 52.0.0 I get the below error ("You don't have a SNAPSHOT project in the reactor projects list"). Someone said to me this is because I'm trying to do a release of

Re: Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread Ron Wheeler
If the parent has been released, use the released parent. It looks like your project "myproject" is getting ${project.version} from the parent and trying to build a release with SNAPSHOT dependencies which is not possible. You should be using the released parent. sub

Is it possible to release a child module that isn't listed in the parent's list of modules?

2013-11-18 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 and trying to use the Maven release plugin to do a release of a child module, which inherits from a parent pom. The parent has been released but does not include the child in its module list, and won't be able to in the short term. Is it possible to do a release of the