Hello Jorrit,
Try this instead:
    <dependency>
        <groupId>org.codehaus.castor</groupId>
        <artifactId>spring-orm</artifactId>
        <version>1.3</version>
        <type>jar</type>
        <scope>compile</scope>
    </dependency>

Date: Wed, 9 Jun 2010 12:44:07 +0200
From: [email protected]
To: [email protected]
Subject: [castor-user] Problem downloading Spring ORM with Maven

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 
                                          
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

Reply via email to