Hi,

I try to build a project using maven2, which depends on XFire-Snapshot:

       <dependency>
            <groupId>xfire</groupId>
            <artifactId>xfire-plexus</artifactId>
            <version>SNAPSHOT</version>
        </dependency>

but when trying to build, it fails with following error message:

[INFO]
----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
----------------------------------------------------------------------------
[INFO] Main Error:
  Unable to read the metadata file
  xfire:xfire-core:${pom.currentVersion}:jar

from the specified remote repositories:
  http://repo1.maven.org/maven2
Path to dependency:
        1) my:project:war:0.1-SNAPSHOT
        2) xfire:xfire-plexus:jar:SNAPSHOT
        3) xfire:xfire-xmlbeans:jar:1.0-SNAPSHOT

Looking at the Xfire-xmlbeans-1.0-SNAPSHOT POM, I find following
dependency: 

    <dependency>
      <groupId>xfire</groupId>
      <artifactId>xfire-core</artifactId>
      <version>${pom.currentVersion}</version>
    </dependency>


Is Maven2 supposed to replace ${pom.currentVersion} with 1.0-SNAPSHOT in this 
case, or are the XFire maintainers are supposed to correct the dependency 
statement?

with best regards

Lars Trieloff


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to