Hi,
First, thanks for your answer.
I'v added the 2 lines in red you sent but the problem is keeping the same, I
still get the same error lines.
In the joined file, the whole trace of the "mvn clean install" command.
I don't understand this ...
Best Regards,
Jorrit Wortel
2010/6/9 Brian Sanders <[email protected]>
> 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. Learn
> more.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1>
>
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building my-app
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /home/jorrit/my-app/target (included: [**], excluded:
[])
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/jorrit/my-app/src/main/resources
[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.
[WARNING] POM for 'commons-logging:commons-logging:pom:1.1.1:compile' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-aop:pom:2.5.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-orm:pom:2.5.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.springframework:spring-jdbc:pom:2.5.4:compile' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /home/jorrit/my-app/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading
/home/jorrit/.m2/repository/org/codehaus/castor/castor-jdo/1.3/castor-jdo-1.3.jar;
error in opening zip file
error: error reading
/home/jorrit/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar;
error in opening zip file
error: error reading
/home/jorrit/.m2/repository/org/springframework/spring-aop/2.5.4/spring-aop-2.5.4.jar;
error in opening zip file
error: error reading
/home/jorrit/.m2/repository/org/springframework/spring-orm/2.5.4/spring-orm-2.5.4.jar;
error in opening zip file
error: error reading
/home/jorrit/.m2/repository/org/springframework/spring-jdbc/2.5.4/spring-jdbc-2.5.4.jar;
error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Jun 10 08:28:57 CEST 2010
[INFO] Final Memory: 8M/20M
[INFO] ------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email