You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org> on 2008/06/13 22:00:12 UTC
[jira] Issue Comment Edited: (MNG-3540) No plugin update from a
staged repository
[ http://jira.codehaus.org/browse/MNG-3540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138581#action_138581 ]
raphael edited comment on MNG-3540 at 6/13/08 2:58 PM:
---------------------------------------------------------------
At that time i reproduced the problem using
only a profile containing repository plugin-repository.
it was activated by default.
{code:xml}
...
<profile>
<id>staged</id>
<repositories>
<repository>
<id>stagedR</id>
<name>stagedR</name>
<url>http://people.apache.org/~rafale/archetype-stage-repository/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>stagedP</id>
<name>stagedP</name>
<url>http://people.apache.org/~rafale/archetype-stage-repository/</url>
</pluginRepository>
</pluginRepositories>
</profile>
...
<mirrors>
<mirror>
<id>nexus</id>
<name>Nexus</name>
<mirrorOf>external:*</mirrorOf>
<url>http://localhost:8081/nexus/content/groups/all</url>
</mirror>
</mirrors>
{code}
was (Author: raphael):
At that time i reproduced the problem using
only a profile containing repository plugin-repository.
it was activated by default.
...
<profile>
<id>staged</id>
<repositories>
<repository>
<id>stagedR</id>
<name>stagedR</name>
<url>http://people.apache.org/~rafale/archetype-stage-repository/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>stagedP</id>
<name>stagedP</name>
<url>http://people.apache.org/~rafale/archetype-stage-repository/</url>
</pluginRepository>
</pluginRepositories>
</profile>
...
<mirrors>
<mirror>
<id>nexus</id>
<name>Nexus</name>
<mirrorOf>external:*</mirrorOf>
<url>http://localhost:8081/nexus/content/groups/all</url>
</mirror>
</mirrors>
> No plugin update from a staged repository
> -----------------------------------------
>
> Key: MNG-3540
> URL: http://jira.codehaus.org/browse/MNG-3540
> Project: Maven 2
> Issue Type: Bug
> Affects Versions: 2.0.9
> Environment: Maven 2.0.9, JDK6, both linux and windows
> Reporter: Raphaël Piéroni
> Fix For: 2.0.x
>
> Attachments: with-nexus.txt, with-profile.txt
>
>
> The archetype plugin depends on other projects.
> One of them is staged along with the plugin in a
> staged repository.
> When i define that repository in settings.xml in a profile
> which is always activated (both repository and pluginRepository)
> and remove all references from archetype in my local repository.
> I then call mvn archetype:create-from-project.
> Maven downloads the plugin but don't download the dependencies
> there it fails to instantiate the first used class from these dependencies.
> The first attachment (with-profile.txt) holds the trace
> When i define the repository in nexus (grouping first the repository then
> central in one url) and defining that url as mirror of central in my setting,
> Also using a fresh repository. I call the same goal, and it works.
> The second attachment (with-nexus.txt) holds the trace.
--
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