You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Justinus Menzel <ju...@lbri.lionbioscience.com> on 2003/03/17 20:43:49 UTC
${pom.id}:${pom.id}
Hi
in maven.xml
<goal name="printPomId">
<echo>
pom.id: ${pom.id}
</echo>
</goal>
gives me
pom.id: common:common
although:
<project>
<id>common</id>
...
</project>
(I'm using beta-8)
What's the purpose behind dublicating the id?
Thanks
Justinus
how can I change ${basedir}
Posted by Justinus Menzel <ju...@lbri.lionbioscience.com>.
Hi,
I moved project.xml, maven.xml etc. into a seperate build directory.
Now I have to put a lot of "../" in places.
Wouldn't it be easier to just say
basedir=..
in project.properties:
or
<baseDir>..</baseDir>
in the POM.
or
maven -d ..
doesn't change ${basedir}, so I don't really know what it does.
or
<project basedir=".."
...
</project>
(like with ant)
Any idea? Many thanks
Justinus
Re: ${pom.id}:${pom.id}
Posted by Stephane Mor <st...@yahoo.fr>.
On Mon, Mar 17, 2003 at 07:31:47PM -0500, Justinus Menzel wrote:
> Thanks for the tip!
> I think the manual has to be corrected at this point:
>
> http://jakarta.apache.org/turbine/maven/reference/user-guide.html#POM
> Interpolation
>
> uses ${pom.id} instead of ${pom.artifactId}.
Done.
Thanks!
Stéphane
Re: ${pom.id}:${pom.id}
Posted by Justinus Menzel <ju...@lbri.lionbioscience.com>.
Thanks for the tip!
I think the manual has to be corrected at this point:
http://jakarta.apache.org/turbine/maven/reference/user-guide.html#POM
Interpolation
uses ${pom.id} instead of ${pom.artifactId}.
Cheers
Justinus
Peter Donald wrote:
>Use pom.artifactId to get single id. ${pom.id} prepends the groupdID then ':'
>then the id.
>
>On Tue, 18 Mar 2003 06:43, Justinus Menzel wrote:
>
>
>>Hi
>>
>>in maven.xml
>> <goal name="printPomId">
>> <echo>
>> pom.id: ${pom.id}
>> </echo>
>> </goal>
>>
>>gives me
>>pom.id: common:common
>>
>>although:
>><project>
>> <id>common</id>
>> ...
>></project>
>>
>>(I'm using beta-8)
>>
>>What's the purpose behind dublicating the id?
>>Thanks
>>
>>Justinus
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: turbine-maven-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: turbine-maven-user-help@jakarta.apache.org
>>
>>
>
>
>
Re: ${pom.id}:${pom.id}
Posted by Peter Donald <pe...@realityforge.org>.
Use pom.artifactId to get single id. ${pom.id} prepends the groupdID then ':'
then the id.
On Tue, 18 Mar 2003 06:43, Justinus Menzel wrote:
> Hi
>
> in maven.xml
> <goal name="printPomId">
> <echo>
> pom.id: ${pom.id}
> </echo>
> </goal>
>
> gives me
> pom.id: common:common
>
> although:
> <project>
> <id>common</id>
> ...
> </project>
>
> (I'm using beta-8)
>
> What's the purpose behind dublicating the id?
> Thanks
>
> Justinus
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-maven-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-maven-user-help@jakarta.apache.org
--
Cheers,
Peter Donald
"The ability to quote is a serviceable substitute for wit." -- Maugham