This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MENFORCER-421 in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git
commit da074064435e507e6fb14bc6c85e220a957bcf8f Author: Slawomir Jaranowski <s.jaranow...@gmail.com> AuthorDate: Tue May 31 20:29:04 2022 +0200 [MENFORCER-421] Use currently build artifacts in IT tests --- maven-enforcer-extension/pom.xml | 6 +++--- maven-enforcer-plugin/pom.xml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/maven-enforcer-extension/pom.xml b/maven-enforcer-extension/pom.xml index 38bd1f1..83d78a1 100644 --- a/maven-enforcer-extension/pom.xml +++ b/maven-enforcer-extension/pom.xml @@ -108,9 +108,9 @@ <configuration> <propertyName>repository.proxy.url</propertyName> <repositories> - <mockRepo> - <source>src/it/mrm/repository</source> - </mockRepo> + <localRepo> + <source>${project.build.directory}/local-repo</source> + </localRepo> <proxyRepo /> </repositories> </configuration> diff --git a/maven-enforcer-plugin/pom.xml b/maven-enforcer-plugin/pom.xml index 3413a52..a282d66 100644 --- a/maven-enforcer-plugin/pom.xml +++ b/maven-enforcer-plugin/pom.xml @@ -200,6 +200,9 @@ <mockRepo> <source>src/it/mrm/repository</source> </mockRepo> + <localRepo> + <source>${project.build.directory}/local-repo</source> + </localRepo> <proxyRepo /> </repositories> </configuration>