mirror of https://github.com/apache/maven.git
o Added profile to run ITs using embedded Maven
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@910121 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5af0ae1390
commit
3e37fe1c52
|
@ -55,6 +55,7 @@ under the License.
|
|||
</scm>
|
||||
|
||||
<properties>
|
||||
<surefireMemory>-Xmx256m -XX:MaxPermSize=128m</surefireMemory>
|
||||
<!-- The original Maven distribution to test. -->
|
||||
<mavenHome>${maven.home}</mavenHome>
|
||||
<!-- The (possibly instrumented copy of the) Maven distribution we actually use for the tests. -->
|
||||
|
@ -197,6 +198,26 @@ under the License.
|
|||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>embedded</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<configuration>
|
||||
<forkMode>once</forkMode>
|
||||
<argLine>${surefireMemory}</argLine>
|
||||
<systemProperties combine.children="append">
|
||||
<property>
|
||||
<name>verifier.forkMode</name>
|
||||
<value>auto</value>
|
||||
</property>
|
||||
</systemProperties>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>emma</id>
|
||||
<properties>
|
||||
|
|
Loading…
Reference in New Issue