Yes it's working but you need at least maven 2.0.1. My
pom look like this :
...
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<copyfile
dest="${env.JBOSS_HOME}/server/all/deploy/my-ear.ear"
src="${basedir}/target/my-ear-1.0-SNAPSHOT.ear" />
</tasks>
</configuration>
</execution>
</executions>
</plugin>
...
Yan.
--- Tom Joad <[EMAIL PROTECTED]> a écrit :
> Are you sure it works? For me it doesn't.
>
> 2006/3/14, langlois yan <[EMAIL PROTECTED]>:
> > Hello,
> >
> > If you want to use environment variable you do not
> > need a project.properties file. Juste use :
> > ${env.JBOSS_HOME}. You need at least maven 2.0.1.
> >
> > Yan.
> >
> >
> > --- Blaise Gosselin <[EMAIL PROTECTED]> a
> écrit :
> >
> > > Hello,
> > >
> > > Is it possible to use environment variables as a
> > > reference in the project.properties file ?
> > >
> > > In fact, I'd like to make a reference to my
> > > environment variable JBOSS_HOME as
> ${JBOSS_HOME}.
> > >
> > > Is it possible ?
> > >
> > > Thanks in advance...
> > > ___________________________ _ _ _
> > > bgOnline
> > >
> >
> >
> >
> >
> >
> >
> >
> >
>
___________________________________________________________________________
> > Nouveau : téléphonez moins cher avec Yahoo!
> Messenger ! Découvez les tarifs exceptionnels pour
> appeler la France et l'international.
> > Téléchargez sur http://fr.messenger.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > 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]
>
>
___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]