On Thu, Apr 23, 2009 at 11:03 AM, Stan Devitt <sdev...@rim.com> wrote: > <plugin> > <groupId>org.codehaus.groovy.maven</groupId> > <artifactId>gmaven-plugin</artifactId> > <executions> > <execution> > <phase>generate-resources</phase> > <goals> > <goal>execute</goal> > </goals> > <configuration> > <source> > <![CDATA[ > new File( "target" ).mkdirs(); > def resultfile = new File( "target/dictionary" ); > new File("src/main/dictionary").eachFileMatch(~/.*\.lst/){ file -> > file.readLines().sort().each(){resultfile << it.trim() + "\n";} > } > ]]> > </source> > </configuration> > </execution> > </executions> > </plugin>
http://groovy.codehaus.org/GMaven+-+Executing+Groovy+Code#GMaven-ExecutingGroovyCode-ExecuteanInlineGroovyScript Why is the CDATA in there? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org