This is an automated email from the ASF dual-hosted git repository. tibordigana pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-archetype.git
commit 1001054b43f9a4f4d355f8bda350c19a52b60dc0 Author: tibordigana <tibordig...@apache.org> AuthorDate: Fri Aug 2 00:24:03 2019 +0200 split invoker:3.2.0:run to two goals and properly stop the embedded MRM HTTP server --- maven-archetype-plugin/pom.xml | 68 ++++++++++++++++++++++++++---------------- 1 file changed, 43 insertions(+), 25 deletions(-) diff --git a/maven-archetype-plugin/pom.xml b/maven-archetype-plugin/pom.xml index 322bafa..943f691 100644 --- a/maven-archetype-plugin/pom.xml +++ b/maven-archetype-plugin/pom.xml @@ -233,38 +233,56 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> - <configuration> - <projectsDirectory>src/it/projects</projectsDirectory> - <cloneClean>true</cloneClean> - <cloneProjectsTo>${project.build.directory}/it/projects</cloneProjectsTo> - <pomIncludes> - <pomInclude>*</pomInclude> - </pomIncludes> - <preBuildHookScript>setup</preBuildHookScript> - <postBuildHookScript>verify</postBuildHookScript> - <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> - <settingsFile>src/it/mrm/settings.xml</settingsFile> - <filterProperties> - <repository.proxy.url>${mrm.repository.url}</repository.proxy.url> - <archetype-repo.proxy.url>${archetype-repo.proxy.url}</archetype-repo.proxy.url> - </filterProperties> - <properties> - <maven.compiler.source>${maven.compiler.source}</maven.compiler.source> - <maven.compiler.target>${maven.compiler.target}</maven.compiler.target> - <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central --> - <https.protocols>${https.protocols}</https.protocols> - </properties> - <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures> - </configuration> + <version>3.2.0</version> <executions> <execution> - <id>integration-test</id> + <id>invoker-install</id> <goals> <goal>install</goal> - <goal>run</goal> </goals> </execution> + <execution> + <id>invoker-it</id> + <goals> + <goal>integration-test</goal> + </goals> + <configuration> + <showErrors>true</showErrors> + <debug>true</debug> + <projectsDirectory>src/it/projects</projectsDirectory> + <cloneClean>true</cloneClean> + <cloneProjectsTo>${project.build.directory}/it/projects</cloneProjectsTo> + <pomIncludes> + <pomInclude>*</pomInclude> + </pomIncludes> + <preBuildHookScript>setup</preBuildHookScript> + <postBuildHookScript>verify</postBuildHookScript> + <settingsFile>src/it/mrm/settings.xml</settingsFile> + <filterProperties> + <repository.proxy.url>${mrm.repository.url}</repository.proxy.url> + <archetype-repo.proxy.url>${archetype-repo.proxy.url}</archetype-repo.proxy.url> + </filterProperties> + <properties> + <maven.compiler.source>${maven.compiler.source}</maven.compiler.source> + <maven.compiler.target>${maven.compiler.target}</maven.compiler.target> + <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central --> + <https.protocols>${https.protocols}</https.protocols> + </properties> + </configuration> + </execution> + <execution> + <id>invoker-verify</id> + <goals> + <goal>verify</goal> + </goals> + <configuration> + <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures> + </configuration> + </execution> </executions> + <configuration> + <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> + </configuration> </plugin> </plugins> </build>