Issue Details (XML | Word | Printable)

Key: MPECLIPSE-111
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Stephane Nicoll
Reporter: nicolas de loof
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Eclipse Plugin

heterogeneous configuration when used from mutliproject

Created: 07/Feb/06 08:49 AM   Updated: 28/Sep/06 05:41 AM
Component/s: None
Affects Version/s: 1.11
Fix Version/s: 1.11

Time Tracking:
Not Specified


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Stephane Nicoll added a comment - 13/Jun/06 02:33 PM
This is fixed, output and testOutput dir configuration is now consistent.