Add (mvn verify -P build,fast) as a test of clean build
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
target
|
||||
bin
|
||||
build.log
|
||||
integration-repo
|
||||
ivy-cache
|
||||
spring-build
|
||||
|
||||
37
pom.xml
37
pom.xml
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user