Re: Inherit parent version?

2012-08-18 Thread Anders Hammar
That in progress state was added in 2008. I wouldn't put too much value in it. But a patch would most likely speed things up. ;-) /Anders On Sat, Aug 18, 2012 at 3:27 PM, Billy Newman wrote: > Ok agreed its not a bug, but is an improvement: > > http://jira.codehaus.org/browse/MNG-624. > > Becau

Re: Inherit parent version?

2012-08-18 Thread Billy Newman
Ok agreed its not a bug, but is an improvement: http://jira.codehaus.org/browse/MNG-624. Because this ticket is open and in progress I can only assume that some solution will be coming to version 3.1. On Sat, Aug 18, 2012 at 6:51 AM, Martin Eisengardt wrote: > Yes. You need it. And this is not

Re: Inherit parent version?

2012-08-18 Thread Martin Eisengardt
Yes. You need it. And this is not a bug so there is nothing to fix. On Sat, Aug 18, 2012 at 2:41 PM, Billy Newman wrote: > No, by fixed I mean do you need to include the version in the parent tag? > > Sent from my iPhone > >

Re: Inherit parent version?

2012-08-18 Thread Billy Newman
site related >> stuff, distributionManagement. >>> >>> >>> >>> Thanks >>> Pawan >>> >>> -Original Message- >>> From: Martin Eisengardt [mailto:martin.eisenga...@gmail.com >> ] >>> Sent: Friday, August 17, 2012 1:1

Re: Inherit parent version?

2012-08-18 Thread Stephen Connolly
d server to control all plugins, profiles, site related > stuff, distributionManagement. > > > > > > > > Thanks > > Pawan > > > > -Original Message- > > From: Martin Eisengardt [mailto:martin.eisenga...@gmail.com > ] > > Sent: Frid

Re: Inherit parent version?

2012-08-17 Thread Billy Newman
gmail.com] > Sent: Friday, August 17, 2012 1:15 PM > To: Maven Users List > Subject: Re: Inherit parent version? > > IMHO this solution is very bad because of one reason: It influences already > released versions. IMHO mavens "deploy" goal does not put the correct &g

RE: Inherit parent version?

2012-08-17 Thread Gandhi, Pawan
-Original Message- From: Martin Eisengardt [mailto:martin.eisenga...@gmail.com] Sent: Friday, August 17, 2012 1:15 PM To: Maven Users List Subject: Re: Inherit parent version? IMHO this solution is very bad because of one reason: It influences already released versions. IMHO mavens

RE: Inherit parent version?

2012-08-17 Thread Anders Hammar
NO! That is not a good solution. RELEASE and LATEST are deprecated. /Anders (mobile) Den 17 aug 2012 19.07 skrev "Gandhi, Pawan" : > If this com.dummy:parent is a separate project and you are inheriting it > in more than one project to get help for dependency management, properties > and other co

Re: Inherit parent version?

2012-08-17 Thread Martin Eisengardt
IMHO this solution is very bad because of one reason: It influences already released versions. IMHO mavens "deploy" goal does not put the correct resolved version into the parent tag. Thus all versions you ever deploy will resolut in corrupt poms because they lead to newer parent poms as soon as th

RE: Inherit parent version?

2012-08-17 Thread Gandhi, Pawan
If this com.dummy:parent is a separate project and you are inheriting it in more than one project to get help for dependency management, properties and other common feature like distributionManagement...etc. The best solution is Child pom: com.dummy parent RELEASE

Re: Inherit parent version?

2012-08-17 Thread Martin Eisengardt
No, it is not possible. This is henn-egg-problem. The first thing maven does is: resolve the parent pom. So in the parent section there is neither a way to comment out the version number nor a way to use properties.

Re: Inherit parent version?

2012-08-17 Thread Aliaksei Lahachou
Hello, you are right, you have to specify the version of the parent, so you cannot leave the version in one place only. But there are some mojos which help managing the version. See versions-maven-plugin and release-maven-plugin. Regards, htfv (Aliaksei Lahachou) On Fri, Aug 17, 2012 at 5:56 P