You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/02/05 22:35:28 UTC

[jira] Closed: (MNG-3068) Build extensions fail to load if not available locally and remote repo is defined in the same POM where the extension is defined

     [ http://jira.codehaus.org/browse/MNG-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3068.
---------------------------

    Resolution: Fixed

> Build extensions fail to load if not available locally and remote repo is defined in the same POM where the extension is defined
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-3068
>                 URL: http://jira.codehaus.org/browse/MNG-3068
>             Project: Maven 2
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1
>            Reporter: Vincent Massol
>            Assignee: John Casey
>             Fix For: 2.1
>
>
> * If you define the remote repo in settings.xml it works 
> * If you define it in the pom.xml file it doesn't work 
> For example, this fails if xwiki-build-xar-handlers isn't available in the local repo: 
> {noformat} 
> <build> 
> <extensions> 
> <extension> 
> <groupId>com.xpn.xwiki.platform</groupId> 
> <artifactId>xwiki-build-xar-handlers</artifactId> 
> <version>1.0-SNAPSHOT</version> 
> </extension> 
> </extensions> 
> </build> 
> <repositories> 
> <repository> 
> <id>xwiki</id> 
> <name>XWiki Maven2 Remote Repository</name> 
> <url>http://maven.xwiki.org&lt;/url> 
> <releases> 
> <enabled>true</enabled> 
> </releases> 
> <snapshots> 
> <enabled>true</enabled> 
> </snapshots> 
> </repository> 
> </repositories> 
> </project> 
> {noformat}

-- 
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