You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emil A. Lefkof III (JIRA)" <ji...@codehaus.org> on 2006/04/24 16:51:19 UTC

[jira] Commented: (MNGECLIPSE-104) Can't resolve settings.xml value

    [ http://jira.codehaus.org/browse/MNGECLIPSE-104?page=comments#action_64052 ] 

Emil A. Lefkof III commented on MNGECLIPSE-104:
-----------------------------------------------

Sorry to continue.

I have in my POM

<dependency>
         <groupId>com.pjm.epoch</groupId>
         <artifactId>epoch-core</artifactId>
         <version>${epoch-suite-version}</version>
         <scope>compile</scope>
      </dependency>

Maven resolves this no problem from the command line but the Eclipse plugin chokes on it.  The reason I do this is so I can control multiple projects all depending on the same version number from my settings.xml and bump the build number there rather than in each individual file.


> Can't resolve settings.xml value
> --------------------------------
>
>          Key: MNGECLIPSE-104
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-104
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>   Components: Dependency Resolver
>     Versions: 0.0.5
>  Environment: Windows 2000 JDK 1.5_02
>     Reporter: Emil A. Lefkof III
>     Assignee: Eugene Kuleshov

>
>
> I have a value in my settings.xml liek the following:
> <profiles>
>     <profile>
>       <id>epoch</id>
>       <properties>
>         <epoch-suite-version>1.0.6</epoch-suite-version>
>       </properties>
>     </profile>
>   </profiles>
> Then in my POM I have the following:

-- 
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