PageRenderTime 28ms CodeModel.GetById 20ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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