maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archimedes Trajano (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MECLIPSE-82) eclipse:add-maven-repo does not work with $basedir
Date Thu, 23 Mar 2006 01:48:11 GMT
eclipse:add-maven-repo does not work with $basedir
--------------------------------------------------

         Key: MECLIPSE-82
         URL: http://jira.codehaus.org/browse/MECLIPSE-82
     Project: Maven 2.x Eclipse Plugin
        Type: Bug

    Versions: 2.1    
    Reporter: Archimedes Trajano


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message