Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 0.9.7
-
Fix Version/s: None
-
Component/s: Maven Embedder, Maven Launcher
-
Labels:None
Description
Separate output folders are necessary in our environment because developers may sometimes do a manual build. Mixing classes built by Maven and Eclipse is considered bad because both Maven and Eclipse can use their own javac settings (e.g. by compiling for Java 1.6 when Maven compiles 1.5 bytecode).
Currently, the only way to use separate output folders is by altering the build directory, general output directory and test output directory. The workaround Eugene suggested in his blog-post titled Configuring separate Maven output folders requires a profile to be added to the POM (be it a regular, or even better, a parent POM).
While this approach using profiles works well for most use-cases, users always need to add the profile to a POM and make sure the profile gets activated. If it was specified in a parent POM, all child projects need to be configured as well.
It would be great if the plugin could "automatically" enhance the POM to alter the default Maven conventions.
Issue Links
- relates to
-
MNGECLIPSE-676
JVM always uses target/classes instead of configured output folder
-
Issue 676 talks about the problem as if it were a bug.