maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Re: Plugin for changing build output directory
Date Thu, 10 Mar 2011 13:21:09 GMT
It is possible to change build output directory during the build. E.g.
cobertura-maven-plugin and emma-maven-plugin both have instrument goal
which as side-effect changes build output directory with something
like

project.getBuild().setOutputDirectory( %some_path% );

where project is reference to MavenProject being built.

They do that, but do not support configuration option to disable that
behavior. Configuring build path in pom.xml won't help.

Regards,
Stevo.

On Thu, Mar 10, 2011 at 10:49 AM, Anders Hammar <anders@hammar.net> wrote:
> Don't think that is possible to do during the build. Why not just change it
> in the pom?
>
> /Anders
>
> On Thu, Mar 10, 2011 at 10:29, Stevo Slavić <sslavic@gmail.com> wrote:
>
>> Hello Maven users,
>>
>> Is there a plugin with a goal for changing build output directory?
>>
>> Regards,
>> Stevo.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message