Plugin for changing build output directory

2011-03-10 Thread Stevo Slavić
Hello Maven users,

Is there a plugin with a goal for changing build output directory?

Regards,
Stevo.

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



Re: Plugin for changing build output directory

2011-03-10 Thread Anders Hammar
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ć ssla...@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-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




Re: Plugin for changing build output directory

2011-03-10 Thread Stevo Slavić
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 and...@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ć ssla...@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-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




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