You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lars Trieloff <la...@trieloff.net> on 2005/07/02 00:12:09 UTC
[M2] Transient Dependency Problem with XFire-Core
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [M2] Transient Dependency Problem with XFire-Core
Posted by Emmanuel Venisse <em...@venisse.net>.
Hi,
Open an issue in Jira : http://jira.codehaus.org/browse/MEV, and we (or
XFire team) will fix it.
Emmanuel
Lars Trieloff wrote:
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org