Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9688

Add JBoss public repository to list of default repositories in Eclipse

    XMLWordPrintable

Details

    Description

      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>

      Attachments

        Activity

          People

            fbricon@redhat.com Fred Bricon
            rcernich1 Rob Cernich
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: