Tried several things the following is what seemed to get me the farthest ;-)

I am using codehaus as a repository and a pluginRepositry (if I didn't
the maven xdoclet2 plugin would not be found even with doing the manual
install outlined in the instructions).  The full output is at the
bottom.  What appears to be the error is the
http://dist.codehaus.org//xdoclet-plugins/xdoclet-plugin-hibernate/1.0.4-SNAPSHOT/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar
request which doesn't exist in the codehaus repo...
http://dist.codehaus.org//xdoclet-plugins/xdoclet-plugin-hibernate/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.jar
is in the repo so I am wondering if there is a way the

The dependency from my pom is

<dependency>
        <groupId>xdoclet-plugins</groupId>
        <artifactId>xdoclet-plugin-hibernate</artifactId>
        <version>1.0.4-SNAPSHOT</version>
</dependency>


Which I have double checked against the example and it looks well
formed...  Seems like the mapping from the dependency to the url needs
to be modified but you got me about how to do that OR Maybe I have ivy
of the brain (I have been using ivy for dependency management) and in
ivy you can specify the pattern used to map a dependency to a url...




Here is the error I am getting

---------------- snip

[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Model3 Util Library
[INFO]    task-segment: [compile]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://dist.codehaus.org//xdoclet/maven2-xdoclet2-plugin/2.0.5-SNAPSHOT/maven2-xdoclet2-plugin-2.0.5-SNAPSHOT.pom
[WARNING] Unable to get resource from repository codehaus-plugins
(http://dist.codehaus.org/)
Downloading:
http://dist.codehaus.org//xdoclet-plugins/xdoclet-plugin-hibernate/1.0.4-SNAPSHOT/xdoclet-plugin-hibernate-1.0.4-SNAPSH
OT.pom
[WARNING] Unable to get resource from repository codehaus-plugins
(http://dist.codehaus.org/)
Downloading:
http://dist.codehaus.org//xdoclet-plugins/xdoclet-plugin-hibernate/1.0.4-SNAPSHOT/xdoclet-plugin-hibernate-1.0.4-SNAPSH
OT.jar
[WARNING] Unable to get resource from repository codehaus-plugins
(http://dist.codehaus.org/)
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

required artifacts missing:
  xdoclet-plugins:xdoclet-plugin-hibernate:jar:1.0.4-SNAPSHOT

for the artifact:
  xdoclet:maven2-xdoclet2-plugin:maven-plugin:2.0.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  codehaus-plugins (http://dist.codehaus.org/)




Reply via email to