Issue Details (XML | Word | Printable)

Key: MECLIPSE-82
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: fabrizio giustina
Reporter: Archimedes Trajano
Votes: 0
Watchers: 0
Operations

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

eclipse:add-maven-repo does not work with $basedir

Created: 22/Mar/06 07:48 PM   Updated: 05/Apr/06 05:27 PM
Component/s: None
Affects Version/s: 2.1
Fix Version/s: 2.2

Time Tracking:
Not Specified


 Description  « Hide
I put in

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<workspace>${basedir}</workspace>
</configuration>
</plugin>
</plugins>

on my pom.xml which is located in the root of my workspace directory. I have submodules defined as well

<modules>
<module>archetype-web</module>
<module>archetype-domain</module>
</modules>

When I execute (while RAD 6.0 was not running)

mvn eclipse:add-maven-repo

The file in .metadata does not get updated and does not appear in the classpath variables

Also, it creates two sub directories

archetype-webX and archetype-domainX

which contain org.eclipse.jdt.core.prefs
org.eclipse.jdt.core.classpathVariable.MAVEN_REPO=H:\trajano\.m2\repository

So even if the path is correct, the variable name isn't even correct. It should've been M2_REPO



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
fabrizio giustina added a comment - 05/Apr/06 05:27 PM
this appears to work correctly on current trunk. I am not sure it was already fixed in 2.1, it will surely work in 2.2