Author: olamy Date: Sun Nov 16 08:15:23 2008 New Revision: 718052 URL: http://svn.apache.org/viewvc?rev=718052&view=rev Log: really enable it MRESOURCES-78 : fixing groovy post build script execution
Modified: maven/plugins/trunk/maven-resources-plugin/pom.xml maven/plugins/trunk/maven-resources-plugin/src/it/MRESOURCES-78/verify.groovy Modified: maven/plugins/trunk/maven-resources-plugin/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/pom.xml?rev=718052&r1=718051&r2=718052&view=diff ============================================================================== --- maven/plugins/trunk/maven-resources-plugin/pom.xml (original) +++ maven/plugins/trunk/maven-resources-plugin/pom.xml Sun Nov 16 08:15:23 2008 @@ -109,7 +109,7 @@ <pomIncludes> <pomInclude>**/pom.xml</pomInclude> </pomIncludes> - <postBuildHookScript>verify.bsh</postBuildHookScript> + <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath> <goals> <goal>clean</goal> Modified: maven/plugins/trunk/maven-resources-plugin/src/it/MRESOURCES-78/verify.groovy URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-resources-plugin/src/it/MRESOURCES-78/verify.groovy?rev=718052&r1=718051&r2=718052&view=diff ============================================================================== --- maven/plugins/trunk/maven-resources-plugin/src/it/MRESOURCES-78/verify.groovy (original) +++ maven/plugins/trunk/maven-resources-plugin/src/it/MRESOURCES-78/verify.groovy Sun Nov 16 08:15:23 2008 @@ -20,6 +20,8 @@ assert new File(basedir, 'target/classes/unfiltered.properties').exists(); filteredContent = new File(basedir, 'target/classes/filtered.properties').text; -assert content.contains( 'bar=this is bar'); -assert content.contains( 'escaped=\\${escaped}'); -assert content.contains( '[EMAIL PROTECTED]@'); \ No newline at end of file +assert filteredContent.contains( 'bar=this is bar'); +assert filteredContent.contains( 'escaped=${escaped}'); +assert filteredContent.contains( '[EMAIL PROTECTED]@'); + +return true; \ No newline at end of file