Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Alexander Kuppe2011-02-24 12:13:28 +0000
committerMarkus Alexander Kuppe2011-02-24 12:13:28 +0000
commit8f46334541616c5f5361e41ef9f5f4fbea007976 (patch)
tree1faf76a805d364d8cd032da1b4954d028d552dac /releng/org.eclipse.ecf.releng.bm
parent6de1cc88846e9375640d115bbb1f8238bba11636 (diff)
downloadorg.eclipse.ecf-8f46334541616c5f5361e41ef9f5f4fbea007976.tar.gz
org.eclipse.ecf-8f46334541616c5f5361e41ef9f5f4fbea007976.tar.xz
org.eclipse.ecf-8f46334541616c5f5361e41ef9f5f4fbea007976.zip
NEW - bug 313305: Build artifacts cannot be consumed in p2/maven
https://bugs.eclipse.org/bugs/show_bug.cgi?id=313305
Diffstat (limited to 'releng/org.eclipse.ecf.releng.bm')
-rw-r--r--releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl12
1 files changed, 11 insertions, 1 deletions
diff --git a/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl b/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl
index 08a44360b..ada0848cf 100644
--- a/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl
+++ b/releng/org.eclipse.ecf.releng.bm/rmap2b3aggr.xsl
@@ -39,8 +39,18 @@
</xsl:template>
<xsl:template match="bm:provider">
+ <!-- only accept public http|ftp repositories -->
<xsl:if test="starts-with(bm:uri/@format, 'http://') or starts-with(bm:uri/@format, 'ftp://')">
- <validationRepositories location="{bm:uri/@format}"/>
+
+ <!-- remove dangling ?importType=binary -->
+ <xsl:choose>
+ <xsl:when test="contains(bm:uri/@format, '?importType=binary')">
+ <validationRepositories location="{substring-before(bm:uri/@format, '?importType=binary')}"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <validationRepositories location="{bm:uri/@format}"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:if>
</xsl:template>

Back to the top