Thanks a lot, it worked

regards

martin 

I had the same problem, perhaps due to the https protocol and my company's
proxy.

I solved it by removing the following lines in the
.m2\repository\org\codehaus\xfire\xfire-all\1.2.1\xfire-all-1.2.1.pom file :

  <repositories>
    <repository>
      <id>java.net</id>
      <name>java.net public repo</name>
      <url>https://maven-repository.dev.java.net/nonav/repository</url>
      <layout>legacy</layout>
    </repository>
  </repositories>

After this, maven was able to find the xfire-parent artefact in another
repository... Don't know if it's a good practice, but it works :-)

Bernard



step 2 is failing

Downloading:
https://maven-repository.dev.java.net/nonav/repository/org.codehaus
.xfire/poms/xfire-parent-1.2.1.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:xfire-all:jar:1.2.1

Reason: Cannot find parent: org.codehaus.xfire:xfire-parent for project:
null:xf
ire-all:jar:1.2.1


[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get
dependency
 information: Unable to read the metadata file for artifact
'org.codehaus.xfire:
xfire-all:jar': Cannot find parent: org.codehaus.xfire:xfire-parent for
project:
 null:xfire-all:jar:1.2.1
  org.codehaus.xfire:xfire-all:jar:1.2.1

from the specified remote repositories:
  central (http://www.ibiblio.org/maven2),
  servicemix-m2-repo (http://servicemix.org/m2-repo),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  activemq-tmp-repo
(http://people.apache.org/~chirino/incubator-activemq-4.0.2-
RC3/maven2)
...


Philip Dodds-2 wrote:
> 
> Did you follow the two step building instructions :)
> 
> http://www.servicemix.org/site/building.html
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Eclipse-Integration-tf1845291.html#a6752415
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to