belingueres commented on code in PR #70:
URL: 
https://github.com/apache/maven-project-info-reports-plugin/pull/70#discussion_r1633942122


##########
pom.xml:
##########
@@ -511,11 +511,47 @@ under the License.
                 <pomExclude>pom.xml</pomExclude>
               </pomExcludes>
               
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+              <filterProperties>
+                
<repository.proxy.url>${repository.proxy.url}</repository.proxy.url>
+              </filterProperties>
+              <addTestClassPath>true</addTestClassPath>
+
               <goals>
                 <goal>site</goal>
               </goals>
             </configuration>
           </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>mrm-maven-plugin</artifactId>
+            <version>1.6.0</version>
+            <configuration>
+              <propertyName>repository.proxy.url</propertyName>
+              <repositories>
+                <mockRepo>
+                  <source>src/it/mrm/repository</source>
+                  <!--

Review Comment:
   I tried to set the .jar file in the root of the repo, but what is actually 
served by the mock repo is an empty .jar file.
   Alternatively, I could try not using the mrm-maven-plugin, and instead use a 
setup.groovy preBuildHookScript to copy the actual jars to the IT /local-repo.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to