Yes, you should be able to put properties in  aprofile in settings.xml
and use them from the pom.

- Brett

On 11/24/05, Martin van der Plas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> A similar question. Is it possible to set properties in settings.xml and
> refer to them in pom.xml?
>
> Actually I have a company wide central pom.xml  that is the parent of
> all projects pom.xml.  The company pom.xml file is maintained in  its
> own subversion  maven module. Since all developers can checkout the
> maven module to any directory they like, I want this directory to be
> specified in settings.xml. Could not find a clue so far to achieve this.
>
> Thanks
>
> Martin.
>
> Richard Allen wrote:
>
> > There currently is no way to reference environment variables in Maven
> > as far as I know. However, a JIRA issue has been created and work is
> > being done to add this functionality (see
> > http://jira.codehaus.org/browse/MNG-1525).
> >
> > Richard Allen
> >
> >
> > Tom Joad wrote:
> >
> >> Hello,
> >> I would like to know if it is possible to access unix or windows
> >> environment
> >> variables
> >> in settings.xml or pom.xml and how to do it.
> >> regards,
> >>
> >> Tom
> >>
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to