| <?xml version="1.0" encoding="UTF-8"?> |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| xmlns="http://maven.apache.org/POM/4.0.0" |
| exclude-result-prefixes="#default" version="1.0"> |
| |
| <!-- rename artifactId --> |
| <xsl:template match="/*[local-name() = 'project']/*[local-name() = 'artifactId']"> |
| <artifactId>groovy-jdk14</artifactId> |
| </xsl:template> |
| |
| <!-- remove livetribe --> |
| <xsl:template match="/*[local-name() = 'project']/*[local-name() = 'dependencies']/*[local-name() = 'dependency'][*/text() = 'livetribe-jsr223']"/> |
| |
| <!-- TODO: pull these in from tools pom? --> |
| <xsl:template match="/*[local-name() = 'project']/*[local-name() = 'dependencies']"> |
| <dependencies> |
| |
| <dependency> |
| <groupId>net.sf.retrotranslator</groupId> |
| <artifactId>retrotranslator-runtime</artifactId> |
| <version>1.2.4</version> |
| </dependency> |
| <dependency> |
| <groupId>mx4j</groupId> |
| <artifactId>mx4j</artifactId> |
| <version>3.0.2</version> |
| <scope>compile</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <xsl:apply-templates select="node()"/> |
| |
| </dependencies> |
| </xsl:template> |
| |
| <xsl:template match="@*|node()"> |
| <xsl:copy> |
| <xsl:apply-templates select="@*|node()"/> |
| </xsl:copy> |
| </xsl:template> |
| |
| </xsl:stylesheet> |