code_junkie

Preprocessing source code as a part of a maven build

Nov 11th, 2011
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. <build>
  2. <plugins>
  3. <plugin>
  4. <groupId>org.apache.maven.plugins</groupId>
  5. <artifactId>maven-antrun-plugin</artifactId>
  6. <executions>
  7. <execution>
  8. <id>process-sources</id>
  9. <phase>process-sources</phase>
  10. <configuration>
  11. <tasks>
  12. <!-- Put the code to run the program here -->
  13. </tasks>
  14. </configuration>
  15. <goals>
  16. <goal>run</goal>
  17. </goals>
  18. </execution>
  19. </executions>
  20. </plugin>
  21. </plugins>
  22. </build>
Add Comment
Please, Sign In to add comment