Rinku wrote:
I don't see an <outputDirectory/> specified under <build/> element for
<profile/> in the pom descriptor.
http://maven.apache.org/maven-model/maven.html
Not sure if its an 'error of omission' in online docs or if a
<profile> does (or does not) supports overriding the build >
outputDirectory? You might want to give it a shot though - I'd be
interested to know the result as well :-)
TIA,
Rahul
I was thinking in the lines of using profiles in settings.xml or
profiles.xml where you specify a property which would be used in the
pom, ie:
- inside profiles.xml (which resides only in the system that is used):
<profiles>
<profile>
<id>myProfile</id>
<properties>
<myoutput>c:\test\target</myoutput>
</properties>
</profile>
</profiles>
- inside pom.xml (which is portable):
....
<build>
<outputDirectory>${myoutput}</outputDirectory>
</build>
Regards,
Henry
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]