[ 
http://jira.codehaus.org/browse/XFIRE-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231499#action_231499
 ] 

Dave Garcia commented on XFIRE-1147:
------------------------------------

Hi guys,

I found a (dirty) trick that could help. Using mirrors when maven is fetching 
from inexistent repository and it fails, it will try with to re-fetch using the 
mirror url.

Adding the following info inside settings.xml (or creating if not existed)  on 
your .m2 dir should work

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                      http://maven.apache.org/xsd/settings-1.0.0.xsd";>

<mirrors>
    <mirror>
      <id>ibiblio.org</id>
      <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name>
      <url>http://repo1.maven.org/maven2/</url>
      <mirrorOf>java.net</mirrorOf>
    </mirror>
  </mirrors>
</settings>
 

Best regards

Dave

> unresolved repository url in xfire-all 1.2.6 pom.xml
> ----------------------------------------------------
>
>                 Key: XFIRE-1147
>                 URL: http://jira.codehaus.org/browse/XFIRE-1147
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.6
>            Reporter: Alexander Stanik
>            Assignee: Dan Diephouse
>            Priority: Blocker
>
> I have a dependency in my maven project to xfire-all version 1.2.6
> wenn i run "mvn compile", the build aborts with the message:
> Project ID: null:xfire-all:jar:1.2.6
> Reason: Cannot find parent: org.codehaus.xfire:xfire-parent for project:
> null:xfire-all:jar:1.2.6 for project null:xfire-all:jar:1.2.6
> I think the problem is the repository url in:
> http://repository.codehaus.org/org/codehaus/xfire/xfire-all/1.2.6/xfire-all-1.2.6.pom
> Because the repository https://maven-repository.dev.java.net/nonav/repository 
> not exist
> and Maven try to download the xfire-parent form this repository.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to