That was it I was missing the <layout>legacy</layout> tag for my
repository.

 Now I have a new error.

[INFO] Internal error in the plugin manager executing goal
xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet': Unable to find
the mojo 'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet' in the
plugin 'xdoclet:maven2-xdoclet2-plugin'
org/nanocontainer/integrationkit/ContainerComposer



Full error follows...


------ Maven output



[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/)
[WARNING] POM for
'xdoclet-plugins:xdoclet-plugin-hibernate:pom:1.0.4-SNAPSHOT' is
invalid. It will be ignored for artifact resoluti
on. Reason: Not a v4.0.0 POM.
-----------------------------------------------------
this realm = app0.child-container[xdoclet:maven2-xdoclet2-plugin]
urls[0] =
file:/c:/.m2/repository/xdoclet/maven2-xdoclet2-plugin/2.0.5-SNAPSHOT/maven2-xdoclet2-plugin-2.0.5-SNAPSHOT.jar
urls[1] =
file:/c:/.m2/repository/xdoclet-plugins/xdoclet-plugin-hibernate/1.0.4-SNAPSHOT/xdoclet-plugin-hibernate-1.0.4-SNAPSHOT.ja
r
Number of imports: 0


this realm = plexus.core.maven
urls[0] = file:/C:/code-playground/maven-2.0.2/lib/commons-cli-1.0.jar
urls[1] =
file:/C:/code-playground/maven-2.0.2/lib/doxia-sink-api-1.0-alpha-7.jar
urls[2] = file:/C:/code-playground/maven-2.0.2/lib/jsch-0.1.24.jar
urls[3] = file:/C:/code-playground/maven-2.0.2/lib/maven-artifact-2.0.2.jar
urls[4] =
file:/C:/code-playground/maven-2.0.2/lib/maven-artifact-manager-2.0.2.jar
urls[5] =
file:/C:/code-playground/maven-2.0.2/lib/maven-core-2.0.2-javadoc.jar
urls[6] = file:/C:/code-playground/maven-2.0.2/lib/maven-core-2.0.2.jar
urls[7] =
file:/C:/code-playground/maven-2.0.2/lib/maven-error-diagnostics-2.0.2.jar
urls[8] = file:/C:/code-playground/maven-2.0.2/lib/maven-model-2.0.2.jar
urls[9] = file:/C:/code-playground/maven-2.0.2/lib/maven-monitor-2.0.2.jar
urls[10] =
file:/C:/code-playground/maven-2.0.2/lib/maven-plugin-api-2.0.2.jar
urls[11] =
file:/C:/code-playground/maven-2.0.2/lib/maven-plugin-descriptor-2.0.2.jar
urls[12] =
file:/C:/code-playground/maven-2.0.2/lib/maven-plugin-parameter-documenter-2.0.2.jar
urls[13] =
file:/C:/code-playground/maven-2.0.2/lib/maven-plugin-registry-2.0.2.jar
urls[14] = file:/C:/code-playground/maven-2.0.2/lib/maven-profile-2.0.2.jar
urls[15] = file:/C:/code-playground/maven-2.0.2/lib/maven-project-2.0.2.jar
urls[16] =
file:/C:/code-playground/maven-2.0.2/lib/maven-reporting-api-2.0.2.jar
urls[17] =
file:/C:/code-playground/maven-2.0.2/lib/maven-repository-metadata-2.0.2.jar
urls[18] = file:/C:/code-playground/maven-2.0.2/lib/maven-settings-2.0.2.jar
urls[19] =
file:/C:/code-playground/maven-2.0.2/lib/plexus-interactivity-api-1.0-alpha-4.jar
urls[20] =
file:/C:/code-playground/maven-2.0.2/lib/wagon-file-1.0-alpha-6.jar
urls[21] =
file:/C:/code-playground/maven-2.0.2/lib/wagon-http-lightweight-1.0-alpha-6.jar
urls[22] =
file:/C:/code-playground/maven-2.0.2/lib/wagon-provider-api-1.0-alpha-6.jar
urls[23] =
file:/C:/code-playground/maven-2.0.2/lib/wagon-ssh-1.0-alpha-6.jar
urls[24] =
file:/C:/code-playground/maven-2.0.2/lib/wagon-ssh-external-1.0-alpha-6.jar
Number of imports: 0


this realm = plexus.core
urls[0] =
file:/C:/code-playground/maven-2.0.2/core/plexus-container-default-1.0-alpha-9.jar
urls[1] = file:/C:/code-playground/maven-2.0.2/core/plexus-utils-1.1.jar
Number of imports: 0
-----------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet': Unable to find t
he mojo 'xdoclet:maven2-xdoclet2-plugin:2.0.5-SNAPSHOT:xdoclet' in the
plugin 'xdoclet:maven2-xdoclet2-plugin'
org/nanocontainer/integrationkit/ContainerComposer
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sun Feb 05 15:01:25 EST 2006
[INFO] Final Memory: 2M/4M
[INFO]
----------------------------------------------------------------------------







Grégory Joseph wrote:
> Actually, let me rephrase that: you should add another
> http://dist.codehaus.org time as a repo, but as a *legacy* repository,
> i.e with the <layout>legacy</layout> tag.
> 
> g
> 
> On 05/02/06, Grégory Joseph <[EMAIL PROTECTED]> wrote:
> 
>>Glen,
>>
>>Adding http://dist.codehaus.org to your repositories should help. This
>>is where snapshots of xdoclet-plugins are deployed, and those are not
>>mirrored into the central repository (unlike non-snapshots, which are
>>synched)
>>
>>HTH,
>>
>>greg
>>
>>On 05/02/06, Glen <[EMAIL PROTECTED]> wrote:
>>
>>>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