On 30/06/2008, at 8:47 PM, Henri Gomez wrote:
Hi to all,
I'd like to works on maven 2.1 to locate and fix a problem with
jaxws-mojo (http://jira.codehaus.org/browse/MNG-3586) (Eugene
suggestion :)
Cool, would be good to get another one off the list :)
Doing a Run Maven clean works (of course) but I got many errors when
trying to package maven.
ie :
[INFO] Unable to load parent project from a relative path: Could not
find the model file 'C:\workspace-oss\maven\..\pom\maven\pom.xml'. for
project unknown
...
Error was: Cannot find artifact for parent POM: group:parent::1 for
project group:current:jar:1 at
C:\DOCUME~1\gomezhe\LOCALS~1\Temp\DefaultModelLineageBuilder.test.
47733.pom
[DEBUG] Stack trace:
org.apache.maven.project.ProjectBuildingException: Cannot find
artifact for parent POM: group:parent::1 for project
group:current:jar:1 at
C:\DOCUME~1\gomezhe\LOCALS~1\Temp\DefaultModelLineageBuilder.test.
47733.pom
at
org
.apache
.maven
.project
.build
.model
.DefaultModelLineageBuilder
.resolveParentFromRepositories(DefaultModelLineageBuilder.java:550)
at
org
.apache
.maven
.project
.build
.model
.DefaultModelLineageBuilder
.resolveParentPom(DefaultModelLineageBuilder.java:414)
at
org
.apache
.maven
.project
.build
.model
.DefaultModelLineageBuilder
.buildModelLineage(DefaultModelLineageBuilder.java:131)
at
org
.apache
.maven
.project
.build
.model
.DefaultModelLineageBuilderTest
.testReadPOMWithMissingParentAndAllowStubsSetToTrue
(DefaultModelLineageBuilderTest.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
....
Caused by: org.apache.maven.project.ProjectBuildingException: POM
'org.apache.maven.plugins:maven-eclipse-plugin' not found in
repository: Unable to download the artifact from any repository
This looks to be the major error - is there any more information?
Does it work if you build from outside the IDE?
I allready read
http://maven.apache.org/guides/development/guide-m2-development.html
and my settings are ok.
I'm behind our company firewall, and we use an Archiva Repository
1.0.2 where the following proxy repository exist :
http://people.apache.org/repo/m2-incubating-repository
http://people.apache.org/repo/m2-snapshot-repository
http://repo1.maven.org/maven2
...
Did we need more repositories or specials settings, I didn't see them
in the maven developpers documentations.
This looks correct (I use the same, with fewer), and can build with a
clean local repo now.
Thanks for your help
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]