Hi,

I tried to install the 1.5 version of spring but then I get errors (I put
them in the enclose "error" file).

I tried it with the snapshot version also but it do not work better.

Enclosed, you'll find my entire pom.

Thanks for helping !


2010/6/10 Werner Guttmann <[email protected]>

> Hi Jorrit,
>
> can you please attach your complete POM ? Somehow it does not make sense.
> Before doing so, can you please try to run against version 1.5 of spring-orm
> ?
>
>
> <dependency>
>  <groupId>org.codehaus.castor</groupId>
>  <artifactId>spring-orm</artifactId>
>  <version>1.5</version>
> </dependency>
>
> That should source newer version of Castor JDO and transitive dependencies.
> If you wanted, you could try version 1.2-SNAPSHOT as well.
>
> Regards
> Werner
>
>
>
> On 10.06.2010 08:33, Jorrit Wortel wrote:
>
>> 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
>>> >
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

Attachment: error
Description: Binary data

<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-app</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>my-app</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>org.codehaus.castor</groupId>
      <artifactId>spring-orm</artifactId>
      <version>1.5</version>
      <!--<type>jar</type>
      <scope>compile</scope>
    --></dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to