On Thu, 2005-10-27 at 16:30 +1000, Michael McCrann wrote:
> Jason,
> 
> Thanks, I have read through those documents but it still not clear to me
> how the build directory should be expressed as 
> a variable.
> 
> I thought it would be:
> 
> ${pom.build.directory}

You're right, it's null and that's a bug. I will file an issue in JIRA
when it comes back up.

> but this doesn't seem to work.
> 
> Michael
> 
> <project>
>     <build>
>     <directory></directory>
> 
> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 27 October 2005 4:14 PM
> To: Maven Users List
> Subject: Re: POM properties
> 
> 
> On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
> > Hi,
> > 
> > Is there any documentation that describes what things from the POM are
> available as variables?
> 
> Anything in the POM itself:
> 
> http://maven.apache.org/maven-model/maven.html
> 
> > How do I specify 'target' as a property? The things I have tried
> haven't worked:
> 
> You can take a look at this:
> 
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
> 
> Which shows the Super POM which has most of the build elements that you
> might want to use.
> 
> > $(pom.build.outputDirectory}
> > ${pom.build.dir}
> > ${build.dir}
> 
> Close but no cigar :-)
> 
> ${pom.build.directory}
> 
> > 
> > NOTICE
> > This e-mail and any attachments are confidential and may contain
> copyright material of Macquarie Bank or third parties. If you are not
> the intended recipient of this email you should not read, print,
> re-transmit, store or act in reliance on this e-mail or any attachments,
> and should destroy all copies of them. Macquarie Bank does not guarantee
> the integrity of any emails or any attached files. The views or opinions
> expressed are the author's own and may not reflect the views or opinions
> of Macquarie Bank.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

We know what we are, but know not what we may be.

  -- Shakespeare


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to