[jbosstools-issues] [JBoss JIRA] (JBIDE-9688) Add JBoss public repository to list of default repositories in Eclipse

Rob Cernich (JIRA) jira-events at lists.jboss.org
Thu May 17 14:31:19 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-9688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693773#comment-12693773 ] 

Rob Cernich commented on JBIDE-9688:
------------------------------------

Hey Claudio,

I'm not sure what to do here.  While the extension point has been deprecated, I don't believe an alternative has been provided.  Furthermore, while these repositories are not used for dependency resolution, they are useful in other capacities.  For SwitchYard, we are using it to discover the available versions.  Another use is resolving archetypes, which I think would be an issue of concern for the generic m2e tooling.

I'll verify the assertions above and add a comment to the Eclipse ticket.

Thanks for highlighting the issue.

Best,
Rob
                
> Add JBoss public repository to list of default repositories in Eclipse
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-9688
>                 URL: https://issues.jboss.org/browse/JBIDE-9688
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: maven
>            Reporter: Rob Cernich
>            Assignee: Fred Bricon
>            Priority: Minor
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.Beta1
>
>
> M2e exposes an extension point, which allows plugins to contribute repositories to be indexed.  Automatically registering the JBoss repository seems like a sensible thing for JBoss Tools.  This would allow the user to access the JBoss public repository from the tooling (e.g. add dependency) without requiring them to add the JBoss public repository to their settings.xml file.  Of course, the user would still need to ensure that the repository was correctly configured within their pom so the project will build correctly.
> The following is all that is required (in plugin.xml):
>    <extension
>          point="org.eclipse.m2e.core.indexes">
>       <index
>             indexId="JBOSS_NEXUS"
>             isShort="true"
>             repositoryUrl="http://repository.jboss.org/nexus/content/groups/public">
>       </index>
>    </extension>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list