https://github.com/thinkaurelius/titan
Revision a3d2a204cbf83d4781cf9487b5a417935f0c9e84 authored by Dan LaRocque on 27 August 2015, 19:15:52 UTC, committed by Dan LaRocque on 27 August 2015, 19:15:52 UTC
For #1086 (not a fix, just a related improvement) This is the titan05 equivalent of 37491a904e67614fbac185f651adbc0e9d405b4b
1 parent 47e9b35
Tip revision: a3d2a204cbf83d4781cf9487b5a417935f0c9e84 authored by Dan LaRocque on 27 August 2015, 19:15:52 UTC
Add classname to ES's "Unsupported type" exception
Add classname to ES's "Unsupported type" exception
Tip revision: a3d2a20
jre6.xslt
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://maven.apache.org/POM/4.0.0"
xpath-default-namespace="http://maven.apache.org/POM/4.0.0">
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()" />
</xsl:copy>
</xsl:template>
<!-- Rewrite artifactIds -->
<xsl:template match="artifactId[starts-with(text(), 'titan' ) and not(contains(text(), '-jre6')) and not(text() = 'titan-site')]">
<artifactId xmlns="http://maven.apache.org/POM/4.0.0"><xsl:value-of select="./text()" />-jre6</artifactId>
</xsl:template>
<!-- Rewrite compiler target -->
<xsl:template match="/project/properties/compiler.target">
<compiler.target>1.6</compiler.target>
</xsl:template>
<!-- Rewrite assembly archive names (used in titan-dist) -->
<xsl:template match="/project/properties/distribution.assembly.name[not(contains(text(), '-jre6'))]">
<distribution.assembly.name><xsl:value-of select="./text()" />-jre6</distribution.assembly.name>
</xsl:template>
<!-- Rewrite failsafe dependency scan configuration (used in titan-dist) -->
<xsl:template match="dependenciesToScan/dependency[contains(text(), 'com.thinkaurelius.titan') and not(contains(text(), '-jre6'))]">
<dependency><xsl:value-of select="./text()" />-jre6</dependency>
</xsl:template>
</xsl:stylesheet>
Computing file changes ...