[jbosstools-issues] [JBoss JIRA] (JBIDE-14639) Add ability to prevent repository references from being included in repositories mirrored from a TP

Nick Boldt (JIRA) jira-events at lists.jboss.org
Fri May 31 11:15:55 EDT 2013


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

Nick Boldt commented on JBIDE-14639:
------------------------------------

Ah, my mistake. Not sure if you can mirror w/o including references, since that's the way p2 creates a mirror.

However, you can remove references immediately after mirroring, simply by removing the chunk of XML that contains the <references>.

Here's an ant script that you could call via antrun plugin from your pom, which uses XSLT to find and remove the entire <references> node in the content.xml:

https://github.com/jbosstools/jbosstools-download.jboss.org/blob/master/jbosstools/updates/requirements/remove.references.xml

                
> Add ability to prevent repository references from being included in repositories mirrored from a TP
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-14639
>                 URL: https://issues.jboss.org/browse/JBIDE-14639
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: Build/Releng
>            Reporter: Rob Cernich
>            Assignee: Nick Boldt
>
> JBT-IS builds a repo of "extra" dependencies.  When this repo is created, it contains repository references to the jboss.org requirements p2 mirrors, which prevent the mirrored repository from being used with jbds releases (which is what I assume the purpose of the mirrored repository is for).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list