Audun, thanks for pointing this out (again .. ;-)). This issue has been 'fixed' in SVN trunk in that Castor 1.0.6 will have as dependency against org.codehaus.castor:adapatx:0.9.14, which is already available at ibiblio.org/maven2.
I am not sure, but I am might have made available a snapshot for Castor 1.0.6 in Codehaus' snapshot repository where this issue has been rectified. If that's not the case, I think I should do so ... ;-). Knowing that we can and should not ask users to develop against snapshot releases, for the time being - well, until Castor 1.0.6 has been made available , fublically - can I please ask you manually inject the adaptx-0.9.13.jar from Castor's lib into your local Maven repository (using org.codehaus.castor:adaptx:0.9.13) ? If developing against a snapshot release is an option to you, please feel free to use the following dependency in your project's POM: <dependency> <groupId>org.codehaus.castor</groupId> <artifactId>castor</artifactId> <version>1.0.6-SNAPSHOT</version> </dependency> Regards Werner PS There's a second dependency that should cause issues, namely javax.transaction:jta:1.0.1B, but that might be a known issue to you ... ;-). [EMAIL PROTECTED] wrote: > Hi, > > I've been trying to build my project using Maven2, but my build fails when > trying to retrieve the transitive dependency adaptx-0.9.13.jar, needed by > Castor. I've specified the dependency on castor like this in my project's > pom.xml: > > <dependency> > <groupId>org.codehaus.castor</groupId> > <artifactId>castor</artifactId> > <version>1.0.5</version> > </dependency> > > I've also included the following extra repositories in my pom.xml: > <repositories> > .. > <repository> > <id>codehaus-repository</id> > <name>Codehaus Maven 2 repository</name> > <url>http://maven.codehaus.org/maven2/</url> > </repository> > <repository> > <id>codehaus-snapshots</id> > <name>Maven Codehaus Snapshots</name> > <url>http://snapshots.maven.codehaus.org/maven2/</url> > </repository> > </repositories> > > My build fails with this message after trying all repositories: > > <snip rest of the repos failing> > Downloading: > http://repo1.maven.org/maven2/adaptx/adaptx/0.9.13/adaptx-0.9.13.jar > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) adaptx:adaptx:jar:0.9.13 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=adaptx -DartifactId=adaptx \ > -Dversion=0.9.13 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) my.project:my-archive:jar:0.1 > 2) org.codehaus.castor:castor:jar:1.0.5 > 3) adaptx:adaptx:jar:0.9.13 > > ---------- > 1 required artifact is missing. > > for artifact: > my.project:my-archive:jar:0.1 > >>from the specified remote repositories: > central (http://repo1.maven.org/maven2), > codehaus-repository (http://maven.codehaus.org/maven2/), > codehaus-snapshots (http://snapshots.maven.codehaus.org/maven2/), > sunsite.dk (http://mirrors.sunsite.dk/maven2) > > > However, codehaus-repository gives a 404 and codehaus-snapshots does not > have the required artifact. I noticed in castor's pom-file in the ibiblio > repository (and mirrors) that the dependency for adaptx is specified as: > <dependency> > <groupId>adaptx</groupId> > <artifactId>adaptx</artifactId> > <version>0.9.13</version> > </dependency> > > Based on the structure of the ibiblio repository, shouldn't the groupId be > org.codehaus.castor, not adaptx? > > > I will of course work around this for now by getting the missing > dependency (or dependencies in case there are more) manually, as suggested > by the errmsg, and putting them in my local repo, but being something of a > maven neophyte, I wanted to make sure I hadn't overlooked anything obvious > in my config. > > > -- > Regards, > Audun > > > --------------------------------------------------------------------- > 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

