always run integration tests for this pom
</execution>
</executions>
</plugin>
+
+ <!-- the following 2 plugins are for integration tests of plugin-pom only -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>mrm-maven-plugin</artifactId>
+ <version>1.2.0</version>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <goals>
+ <goal>start</goal>
+ <goal>stop</goal>
+ </goals>
+ <configuration>
+ <propertyName>repository.proxy.url</propertyName>
+ <repositories>
+ <proxyRepo />
+ </repositories>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <version>3.2.1</version>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>install</goal>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <streamLogs>true</streamLogs>
+ <showErrors>true</showErrors>
+ <cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo>
+ <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
+ <settingsFile>src/it/settings.xml</settingsFile>
+ <filterProperties>
+ <repository.proxy.url>${repository.proxy.url}</repository.proxy.url>
+ </filterProperties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</plugins>
</build>
</profile>
- <profile>
- <id>run-plugin-pom-its</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>mrm-maven-plugin</artifactId>
- <version>1.2.0</version>
- <executions>
- <execution>
- <goals>
- <goal>start</goal>
- <goal>stop</goal>
- </goals>
- <configuration>
- <propertyName>repository.proxy.url</propertyName>
- <repositories>
- <proxyRepo />
- </repositories>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <artifactId>maven-invoker-plugin</artifactId>
- <version>3.2.1</version>
- <executions>
- <execution>
- <id>integration-test</id>
- <goals>
- <goal>install</goal>
- <goal>run</goal>
- </goals>
- <configuration>
- <streamLogs>true</streamLogs>
- <showErrors>true</showErrors>
- <cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo>
- <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath>
- <settingsFile>src/it/settings.xml</settingsFile>
- <filterProperties>
- <repository.proxy.url>${repository.proxy.url}</repository.proxy.url>
- </filterProperties>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
<!-- Profile to run benchmarks when the `benchmark` property is set -->
<profile>
<id>jmh-benchmark</id>
