Advertisement
Guest User

Miguel Almeida

a guest
Jan 15th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. <profile>
  2. <id>jibxProfile</id>
  3. <activation>
  4. <activeByDefault>true</activeByDefault>
  5. </activation>
  6. <build>
  7. <plugins>
  8. <plugin>
  9. <groupId>org.jibx</groupId>
  10. <artifactId>maven-jibx-plugin</artifactId>
  11. <version>1.2.2</version>
  12. <configuration>
  13. <directory>src/main/resources/jibx</directory>
  14. <includes>
  15. <include>*-binding.xml</include>
  16. </includes>
  17. <verbose>true</verbose>
  18. </configuration>
  19. <executions>
  20. <execution>
  21. <phase>process-classes</phase>
  22. <goals>
  23. <goal>bind</goal>
  24. </goals>
  25. </execution>
  26. </executions>
  27. </plugin>
  28. </plugins>
  29. </build>
  30. </profile>
  31. <profile>
  32. <id>jibx-test</id>
  33. <build>
  34. <plugins>
  35. <plugin>
  36. <groupId>org.jibx</groupId>
  37. <artifactId>maven-jibx-plugin</artifactId>
  38. <version>1.2.2</version>
  39. <configuration>
  40. <directory>src/main/resources/jibx</directory>
  41. <includes>
  42. <include>*-bindingTest.xml</include>
  43. <include>*-binding.xml</include>
  44. </includes>
  45. <verbose>true</verbose>
  46. </configuration>
  47. <executions>
  48. <!-- Passar as clases para test/main/java NOT WORKING-->
  49. <execution>
  50. <phase>process-test-classes</phase>
  51. <goals>
  52. <!-- <goal>test-bind</goal>-->
  53. <goal>bind</goal>
  54. </goals>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. </profile>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement