You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "LaCasse, John" <JL...@filenet.com> on 2006/05/04 19:52:19 UTC

Intalled pom version is not expanded resulting in a bogus pom version in the repository.

Hi,

 

If the version in the pom is specified using a property such as
${env.version} the install plugin is installing the pom in the
repository without expanding this property. Hence the pom that gets
installed into the repository has a version of ${env.version} which is a
totally bogus version. This, to me, appears to be a bug in the install
plugin; am I missing something. Everything else in the build cycle seems
to work just fine doing it this way, just not the install of the pom
into the repository. I don't want to have to hardcode my version info
into my parent pom and all child poms everytime I change the build
version, which for us is every build.

 

Thanks for any help on this

Jpl


Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

Posted by diroussel <na...@diroussel.xsmail.com>.
How are you setting your property?

we use: mvn -DbuildVersion=MYAPP_01234 clean install

and the substitution ${buildVersion} works fine.

David

-- 
View this message in context: http://www.nabble.com/Intalled-pom-version-is-not-expanded-resulting-in-a-bogus-pom-version-in-the-repository.-tf1558832s177.html#a7356369
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

Posted by pjungwir <ma...@9stmaryrd.com>.
If you're installing the artifact every build, you might want to use a
-SNAPSHOT version.

Paul


Arne Saeten wrote:
> 
> 
> Hi,
> 
> I have the same problem. Any solutions out there?
> 
> Thanks,
> Arne
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Intalled-pom-version-is-not-expanded-resulting-in-a-bogus-pom-version-in-the-repository.-tf1558832s177.html#a7340673
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

Posted by Arne Saeten <ar...@comptel.com>.
Hi,

I have the same problem. Any solutions out there?

Thanks,
Arne




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Intalled pom version is not expanded resulting in a bogus pom version in the repository.

Posted by Brett Porter <br...@gmail.com>.
Please reply to your original message asking for a response in future.
Creating new threads gets confusing.

On 5/5/06, LaCasse, John <JL...@filenet.com> wrote:
> Hi,
>
>
>
> If the version in the pom is specified using a property such as
> ${env.version} the install plugin is installing the pom in the
> repository without expanding this property. Hence the pom that gets
> installed into the repository has a version of ${env.version} which is a
> totally bogus version. This, to me, appears to be a bug in the install
> plugin; am I missing something. Everything else in the build cycle seems
> to work just fine doing it this way, just not the install of the pom
> into the repository. I don't want to have to hardcode my version info
> into my parent pom and all child poms everytime I change the build
> version, which for us is every build.
>
>
>
> Thanks for any help on this
>
> Jpl
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org