Hi Romain, These dependencies / versions aren't in central, so they won't be in mirrors either.
If you think you don't need these dependencies for xdoclet, you can : 1. exclude them : http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-CanIdisabletransitivedependencies%3F<http://maven.apache.org/maven-model/maven.html#class_dependency> 2. Have xdoclet POM corrected in central (using e.g. <optional>) : http://maven.apache.org/guides/mini/guide-maven-evangelism.html If you really need these dependencies, you can : 1. Add - or correct - them manually in your repo : http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafileinmylocalrepositoryalongwithmycustomizedPOM%3F <http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html> 2. Have them added - or corrected - in central : http://maven.apache.org/guides/mini/guide-ibiblio-upload.html -- Yann 2006/1/11, Romain Rouvoy <[EMAIL PROTECTED] >: > > Hi, > > When trying to compile my project, I got the following error :-( > > I added an xdoclet2 dependency but for now the build always > fails ... :-/ > If the download from the central fails, why does not it try tu use a > mirror I defined in my settings.xml file ? > > Does anyone has a practical example of using xdoclet2 with maven2 ? > > Thanks, > Romain > > > $ mvn compile > > [INFO] Scanning for projects... > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] Building Fractal Doclet Tool > > [INFO] task-segment: [compile] > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] [resources:resources] > > [INFO] Using default encoding to copy filtered resources. > > Downloading: http://www.ibiblio.org/maven2/generama/qdox/ > > 20051211.114207 /qdox-20051211.114207.pom > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > [WARNING] While downloading servletapi:servletapi:2.3 > > This artifact has been relocated to javax.servlet:servlet-api:2.3. > > > > [WARNING] While downloading xml-apis:xml-apis:2.0.2 > > This artifact has been relocated to xml-apis:xml-apis:1.0.b2. > > > > [WARNING] While downloading jstl:jstl:1.0.6 > > This artifact has been relocated to javax.servlet:jstl:1.0.6. > > > > [WARNING] While downloading xml-apis:xml-apis:2.0.2 > > This artifact has been relocated to xml-apis:xml-apis:1.0.b2. > > > > [WARNING] While downloading icu4j:icu4j: 2.6.1 > > This artifact has been relocated to com.ibm.icu:icu4j:2.6.1. > > > > [WARNING] While downloading servletapi:servletapi:2.4 > > This artifact has been relocated to javax.servlet:servlet-api:2.4 . > > > > [WARNING] While downloading tagsoup:tagsoup:0.9.7 > > This artifact has been relocated to > > org.ccil.cowan.tagsoup:tagsoup:0.9.7. > > > > Downloading: http://www.ibiblio.org/maven2/groovy/groovy-all/1.0- > > jsr-04/groovy-all-1.0-jsr-04.pom > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4- > > RC8_min/xpp3-1.1.3.4-RC8_min.pom > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/freemarker/freemarker/ > > 2.3/freemarker-2.3.pom > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/xpp3/xpp3/1.1.3.4- > > RC8_min/xpp3-1.1.3.4-RC8_min.jar > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/freemarker/freemarker/ > > 2.3/freemarker-2.3.jar > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/generama/qdox/ > > 20051211.114207 /qdox-20051211.114207.jar > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > Downloading: http://www.ibiblio.org/maven2/groovy/groovy-all/1.0- > > jsr-04/groovy-all-1.0-jsr-04.jar > > [WARNING] Unable to get resource from repository central (http:// > > repo1.maven.org/maven2) <http://repo1.maven.org/maven2%29> > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [ERROR] BUILD ERROR > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] Failed to resolve artifact. > > > > required artifacts missing: > > xpp3:xpp3:jar:1.1.3.4-RC8_min > > freemarker:freemarker:jar:2.3 > > generama:qdox:jar:20051211.114207 > > groovy:groovy-all:jar:1.0-jsr-04 > > > > for the artifact: > > org.objectweb.fractal.doclet:fractal-doclet:jar:1.0-SNAPSHOT > > > > from the specified remote repositories: > > central ( http://repo1.maven.org/maven2) > > > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > [INFO] Total time: 45 seconds > > [INFO] Finished at: Wed Jan 11 16:30:51 CET 2006 > > [INFO] Final Memory: 3M/7M > > [INFO] > > ---------------------------------------------------------------------- > > ------ > > Here is my pom file: > > <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"<http://maven.apache.org/maven-v4_0_0.xsd%22> > > > > <modelVersion> 4.0.0</modelVersion> > > <groupId>org.objectweb.fractal.doclet </groupId> > > <artifactId>fractal-doclet</artifactId> > > <packaging>jar</packaging> > > <version>1.0-SNAPSHOT</version> > > <name>Fractal Doclet Tool</name> > > <url>http://fractal.objectweb.org</url> > > <dependencies> > > <dependency> > > <groupId>junit</groupId> > > <artifactId>junit</artifactId> > > <version>3.8.1</version> > > </dependency> > > <dependency> > > <groupId>xdoclet</groupId> > > <artifactId>xdoclet</artifactId> > > <version>2.0.4</version> > > </dependency> > > </dependencies> > > </project> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
