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

Rob Cernich (JIRA) jira-events at lists.jboss.org
Sat Sep 10 21:38:26 EDT 2011


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

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

Apologies if this functionality already exists.  Also, it looks like this extension point has been deprecated, however the replacement "repository" extension point does not appear to have materialized yet, so I think it is safe to use until the new extension point is defined.  Please see the following for more information.

https://issues.sonatype.org/browse/MNGECLIPSE-1325


> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list