Add (mvn verify -P build,fast) as a test of clean build

This commit is contained in:
Dave Syer
2011-08-26 08:23:41 +01:00
parent 4f550d4250
commit 752297116a
2 changed files with 38 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
target
bin
build.log
integration-repo
ivy-cache
spring-build

37
pom.xml
View File

@@ -311,6 +311,43 @@
</plugins>
</build>
</profile>
<profile>
<id>build</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<!-- After the file count, we build the samples and archetypes as well -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<configuration>
<projectsDirectory>${basedir}</projectsDirectory>
<localRepositoryPath>target/local-repo</localRepositoryPath>
<debug>true</debug>
<settingsFile>${basedir}/src/it/settings.xml</settingsFile>
<goals>
<goal>clean</goal>
<goal>install</goal>
</goals>
<pomIncludes>
<pomInclude>pom.xml</pomInclude>
</pomIncludes>
</configuration>
<executions>
<execution>
<id>integration-test</id>
<phase>verify</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>samples</id>
<modules>