This content has been marked as final.
Show 6 replies
-
1. Re: Maven and CR2
fredrikj Jun 4, 2007 6:02 AM (in response to fredrikj)Downloading and installing the jgroups 2.5.0 beta 2 manually in jgroups-all locally led to this problem:
Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'jgroups:jgroups-all:jar': Cannot find parent: jgroups:jboss-parent for project: null:jgroups:jar:2.5.0-BETA2
This looks wrong to me: jgroups:jboss-parent
Shouldn't it be jboss:jboss-parent ? -
-
3. Re: Maven and CR2
fredrikj Jun 4, 2007 8:10 AM (in response to fredrikj)The parent works now, i.e. jgroups:jboss-parent -> jboss:jboss-parent
Still, it seems that the jgroups dependency is pointing to 'jgroups-all' where in the maven repo only 'jgroups' exists. -
4. Re: Maven and CR2
fredrikj Jun 4, 2007 8:20 AM (in response to fredrikj)I am no maven expert or anything, but I think you want to change this dependency:
<dependency> <groupId>jgroups</groupId> <artifactId>jgroups-all</artifactId> <version>2.5.0-BETA2</version> <exclusions> <exclusion> <artifactId>bsh</artifactId> <groupId>bsh</groupId> </exclusion> </exclusions> </dependency>
To:<dependency> <groupId>jgroups</groupId> <artifactId>jgroups</artifactId> <version>2.5.0-BETA2</version> <exclusions> <exclusion> <artifactId>bsh</artifactId> <groupId>bsh</groupId> </exclusion> </exclusions> </dependency>
I.e., change artifactId from 'jgroups-all' to just 'jgroups'. -
5. Re: Maven and CR2
manik Jun 4, 2007 9:28 AM (in response to fredrikj)The dependency is for jgroups, not jgroups-all.
See
http://repository.jboss.com/maven2/jboss/jboss-cache/2.0.0.CR2/jboss-cache-2.0.0.CR2.pom -
6. Re: Maven and CR2
fredrikj Jun 4, 2007 9:37 AM (in response to fredrikj)You're right, the old '-all' was cached on my side.