Last active
September 16, 2015 19:04
-
-
Save martinmidtsund/5f6233cad98d875f8d0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="2.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:maven="http://maven.apache.org/POM/4.0.0"> | |
<xsl:output omit-xml-declaration="no" indent="yes"/> | |
<xsl:strip-space elements="*" /> | |
<!-- Identity template, copies every element in source file --> | |
<xsl:template match="node() | @*"> | |
<xsl:copy> | |
<xsl:apply-templates select="node() | @*" /> | |
</xsl:copy> | |
</xsl:template> | |
<!-- Match plugin-elements and discard them by doing nothing --> | |
<xsl:template match="maven:build/maven:plugins/maven:plugin/[maven:artifactId = 'maven-release-plugin']" /> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment