Dmitry Beransky wrote:
Hi,
I'm trying to migrate for the first time one of my projects to
Maven2. In Maven 1, I used to have the following line in the user
level configuration file:
maven.build.dir=c:/temp/maven/${pom.artifactId}
this was for Windows-based workstations; on a server, the build
directory would be set to a different pattern.
How do I achieve a similar effect with Maven 2?
Please note that I don't want to specify the output directory inside a
pom file, as this directory may changed with the system on which the
project is compiled.
Thanks
Dmitry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Have you tried using profiles?
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
Regards,
Henry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]