/maven-testability-plugin/pom.xml

http://testability-explorer.googlecode.com/ · XML · 149 lines · 145 code · 4 blank · 0 comment · 0 complexity · ccb5fa92aa9f424fde1ef8bc9febc26f MD5 · raw file

  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>com.google.testability-explorer</groupId>
  5. <artifactId>testability-explorer-parent</artifactId>
  6. <version>1.3.4-SNAPSHOT</version>
  7. </parent>
  8. <artifactId>maven-testability-plugin</artifactId>
  9. <packaging>maven-plugin</packaging>
  10. <name>Testability Explorer - Maven plugin</name>
  11. <properties>
  12. <mavenVersion>2.0</mavenVersion>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.google.testability-explorer</groupId>
  17. <artifactId>testability-explorer</artifactId>
  18. <version>${version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>commons-lang</groupId>
  22. <artifactId>commons-lang</artifactId>
  23. <version>2.3</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.apache.maven</groupId>
  27. <artifactId>maven-plugin-api</artifactId>
  28. <version>${mavenVersion}</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.apache.maven</groupId>
  32. <artifactId>maven-artifact</artifactId>
  33. <version>${mavenVersion}</version>
  34. <scope>compile</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.apache.maven.reporting</groupId>
  38. <artifactId>maven-reporting-impl</artifactId>
  39. <version>${mavenVersion}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.apache.maven.reporting</groupId>
  43. <artifactId>maven-reporting-api</artifactId>
  44. <version>${mavenVersion}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.maven</groupId>
  48. <artifactId>maven-project</artifactId>
  49. <version>${mavenVersion}</version>
  50. <scope>compile</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.codehaus.plexus</groupId>
  54. <artifactId>plexus-utils</artifactId>
  55. <version>1.5.1</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.codehaus.plexus</groupId>
  59. <artifactId>plexus-archiver</artifactId>
  60. <version>1.0-alpha-7</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.google.inject</groupId>
  64. <artifactId>guice</artifactId>
  65. <version>2.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.apache.maven.shared</groupId>
  69. <artifactId>maven-plugin-testing-harness</artifactId>
  70. <version>1.1</version>
  71. <scope>test</scope>
  72. </dependency>
  73. <dependency>
  74. <groupId>junit</groupId>
  75. <artifactId>junit</artifactId>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <plugin>
  81. <artifactId>maven-surefire-plugin</artifactId>
  82. <configuration>
  83. <argLine>-Xmx512M</argLine>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-invoker-plugin</artifactId>
  88. <configuration>
  89. <debug>true</debug>
  90. <goals>
  91. <goal>com.google.testability-explorer:maven-testability-plugin:testability</goal>
  92. </goals>
  93. <projectsDirectory>src/it</projectsDirectory>
  94. <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
  95. <pomIncludes>
  96. <pomInclude>*/pom.xml</pomInclude>
  97. </pomIncludes>
  98. <testProperties>
  99. <property>
  100. <name>provided.version</name>
  101. <value>testing</value>
  102. </property>
  103. </testProperties>
  104. <preBuildHookScript>setup.bsh</preBuildHookScript>
  105. <postBuildHookScript>verify.bsh</postBuildHookScript>
  106. <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
  107. </configuration>
  108. <executions>
  109. <execution>
  110. <phase>integration-test</phase>
  111. <goals>
  112. <goal>install</goal>
  113. <goal>run</goal>
  114. </goals>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-clean-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <phase>clean</phase>
  123. <goals>
  124. <goal>clean</goal>
  125. </goals>
  126. <configuration>
  127. <filesets>
  128. <fileset>
  129. <directory>src/it</directory>
  130. <includes>
  131. <include>**/target</include>
  132. <include>**/*.log</include>
  133. </includes>
  134. <followSymlinks>
  135. false
  136. </followSymlinks>
  137. </fileset>
  138. </filesets>
  139. </configuration>
  140. </execution>
  141. </executions>
  142. </plugin>
  143. </plugins>
  144. </build>
  145. </project>