Hi Werner

I am using Maven and everything stopped working when I cleaned my local repository yesterday.

These are the versions I am using:

. <castor.version>1.3</castor.version>
 <castor-codegen.version>1.3</castor-codegen.version>
 <castor-maven-plugin.version>1.5</castor-maven-plugin.version>

When I run the castor maven plugin for some reason it fails looking for a dependency on castor 1.3.0.1

Downloading: http://repository.springsource.com/maven/bundles/milestone/org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository SpringSource Enterprise Bundle Repository - External Bundle Milestones (http://repository.springsource.com/maven/bundles/milestone) Downloading: http://repository.springsource.com/maven/bundles/release/org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases (http://repository.springsource.com/maven/bundles/release) Downloading: http://repository.springsource.com/maven/bundles/external/org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository SpringSource Enterprise Bundle Repository - External Bundle Releases (http://repository.springsource.com/maven/bundles/external) Downloading: http://repository.springsource.com/maven/libraries/milestone/org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository SpringSource Enterprise Bundle Repository - Library Milestones (http://repository.springsource.com/maven/libraries/milestone) Downloading: http://repository.sonatype.org/content/groups/flexgroup//org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository sonatype (http://repository.sonatype.org/content/groups/flexgroup/) Downloading: http://download.java.net/maven/2//org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository maven2-repository.dev.java.net (http://download.java.net/maven/2/) Downloading: http://repository.codehaus.org//org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository codehaus (http://repository.codehaus.org/) Downloading: http://repo1.maven.org/maven2/org/codehaus/castor/castor/1.3.0.1/castor-1.3.0.1.jar [INFO] Unable to find resource 'org.codehaus.castor:castor:jar:1.3.0.1' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR

The dependencies when invoking the maven plugin are:

   <dependency>
      <groupId>org.codehaus.castor</groupId>
      <artifactId>castor</artifactId>
      <version>${castor.version}</version>
     </dependency>
     <dependency>
      <groupId>org.codehaus.castor</groupId>
      <artifactId>castor-codegen</artifactId>
      <version>${castor-codegen.version}</version>
      <scope>compile</scope>
     </dependency>
     <dependency>
      <groupId>org.codehaus.castor</groupId>
      <artifactId>castor-core</artifactId>
      <version>${castor.version}</version>
     </dependency>
     <dependency>
      <groupId>org.codehaus.castor</groupId>
      <artifactId>castor-xml-schema</artifactId>
      <version>${castor.version}</version>
     </dependency>

Any ideas what is causing it to look for castor 1.3.0.1?

James

----- Original Message ----- From: "Werner Guttmann" <[email protected]>
To: <[email protected]>
Sent: Monday, November 30, 2009 9:16 PM
Subject: Re: [castor-user] repository jar files


Hi James,

this is what I expected as this is a Maven repository, and the directory
given below points to the project's parent POM; by definition, there
won't be any JARs produced for the parent POM.

You will have to look into the individual sub-modules such as xml, etc.
to find the JARS. Better even, simply start using Maven and have Maven
downloaded all dependencies into your local Maven repository.

Cheers
Werner

James Cowan wrote:
Hi Werner

There do not seem to be any jar files in the codehaus repository here:

http://repository.codehaus.org/org/codehaus/castor/castor/1.3.0.1/

James

---------------------------------------------------------------------
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


Reply via email to