Maven 1.x Eclipse Plugin

heterogeneous configuration when used from mutliproject

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.11
  • Fix Version/s: 1.11
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I'm using maven 1.1b2 + eclipse plugin from CVS (snapshot)

I'm using mutliproject to build the .classpath/.project of all my subprojects.
To make it run as expceted, I have to set :
maven.eclipse.output.dir = bin/classes
maven.eclipse.test.output.dir = ${basedir}/bin/test-classes

I need to set "${basedir}" in test.output.dir, and to avoid it in output.dir

${basedir}is required to make relative path to point to current sub-project when ran from a multiproject goal.
In .classpath template, <maven:makeRelativePath> is used to build a project-root relative path.

this transform is ALWAYS applied to testOutputDir.
this transform is applied to outputDir ONLY if it has not been set from properties.

I think makeRelativePath should be always applied.

Activity

Hide
Stephane Nicoll added a comment -

This is fixed, output and testOutput dir configuration is now consistent.

Show
Stephane Nicoll added a comment - This is fixed, output and testOutput dir configuration is now consistent.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: