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)
[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)
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)
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)
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)
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)
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)
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)
[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">
<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]