Menu

#28 reports.zip: wrong dependency in project.xml

open
nobody
None
5
2005-10-20
2005-10-20
Jakub Holý
No

Hi,
there's small problem with a dependency of the
tutorial report application - the dependency on spring
is given in such a way that maven cannot download the
jar. It's easy to correct it, see below.

It is:
<dependency>
<id>spring</id>
...
</dependency>

Should be:
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
...
</dependency>

Because as it is, the spring.jar is looked for under
/pub/maven/spring/jars/spring-1.0.1.jar
but it is available under:
/pub/maven/springframework/jars/spring-1.0.1.jar

Discussion


Log in to post a comment.