Skip to content

Commit

Permalink
Merge pull request #43 from rosslamont/issue-41
Browse files Browse the repository at this point in the history
Fixed #41. "addedToClassPath" setting not using proper outputDir default
  • Loading branch information
rosslamont committed Feb 28, 2018
2 parents 0a8c9bd + 186dddd commit 6cacd86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/codehaus/mojo/xml/TransformMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ private void transform( Resolver pResolver, TransformationSet pTransformationSet

if ( pTransformationSet.isAddedToClasspath() )
{
addToClasspath( pTransformationSet.getOutputDir() );
addToClasspath( getOutputDir( pTransformationSet.getOutputDir() ));
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/test/xinclude-xsl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<configuration>
<transformationSets>
<transformationSet>
<addedToClasspath>true</addedToClasspath>
<xincludeAware>true</xincludeAware>
<dir>xml</dir>
<stylesheet>xsl/copy.xsl</stylesheet>
Expand All @@ -41,6 +42,7 @@
</transformationSet>

<transformationSet>
<addedToClasspath>true</addedToClasspath>
<xincludeAware>false</xincludeAware>
<dir>xml</dir>
<stylesheet>xsl/copy.xsl</stylesheet>
Expand Down

0 comments on commit 6cacd86

Please sign in to comment.