Hi everybody.

I'm trying to use maven to install spring ORM.

The steps I do are the following:

1°) I execute the following command in my home

mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app
-DarchetypeArtifactId=maven-archetype-quickstart
-DinteractiveMode=false

2° I enter the new created my-app directory

3°) I add the following lines to the pom.xml file as said in the documentation:
"<dependency>
   <groupId>org.codehaus.castor</groupId>
   <artifactId>spring-orm</artifactId>
   <version>1.3</version>
</dependency>"

4°) I lanch an mvn clean install

The first time I tried, it gave me checksum errors, saying that the
local and the remote checksum are different.
Of course, the build is failing.

I tried with some options of the mvn command to see what's happening
(-e for instance) but no more usefull information (almost nothing part
of Java exceptions of Maven).

Now, the only thing I have is the following error:
"[WARNING] POM for 'org.codehaus.castor:castor-jdo:pom:1.3:compile' is invalid.

Its dependencies (if any) will NOT be available to the current build."

And the build, of course, is failing.

Can anyone help me with this ?
Many thanks !

Best regards,
Jorrit

Reply via email to