s-rwe commented on PR #615:
URL: https://github.com/apache/maven-surefire/pull/615#issuecomment-1461555269

   > Can you show me more logs for your erro:
   > 
   > > Failed to install project dependencies: MavenProject: 
org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M10-SNAPSHOT
   > > [...]
   > > cannot install 
/home/me/.m2/repository/org/apache/maven/maven-parent/36/maven-parent-36.pom to 
same path
   > 
   > Which plugin was executed for it?
   
   Sure, here is some more log-output if that helps. Note that I once more ran 
this on a master / 208eae24 (git-cleaned, and with `.m2/repository` cleaned out 
as well) - so not directly related to the branch of this PR.
   
   ```
   $ mvn -Drat.skip=true -Prun-its clean install
   
   [...]
   
   [INFO]
   [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ maven-failsafe-plugin 
---
   [INFO] Building jar: 
/development/projects/3rdparty/maven-surefire/maven-failsafe-plugin/target/maven-failsafe-plugin-3.0.0-M10-SNAPSHOT.jar
   [INFO]
   [INFO] --- maven-plugin-plugin:3.6.4:addPluginArtifactMetadata 
(default-addPluginArtifactMetadata) @ maven-failsafe-plugin ---
   [INFO]
   [INFO] --- maven-site-plugin:3.11.0:attach-descriptor (attach-descriptor) @ 
maven-failsafe-plugin ---
   [INFO] Skipping because packaging 'maven-plugin' is not pom.
   [INFO]
   [INFO] --- maven-invoker-plugin:3.2.2:install (pre-its) @ 
maven-failsafe-plugin ---
   [INFO] Installing 
/development/projects/3rdparty/maven-surefire/maven-surefire-common/pom.xml to 
/home/me/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.0.0-M10-SNAPSHOT/maven-surefire-common-3.0.0-M10-SNAPSHOT.pom
   [INFO] Installing 
/development/projects/3rdparty/maven-surefire/maven-surefire-common/target/maven-surefire-common-3.0.0-M10-SNAPSHOT.jar
 to 
/home/me/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.0.0-M10-SNAPSHOT/maven-surefire-common-3.0.0-M10-SNAPSHOT.jar
   [INFO] Installing 
/development/projects/3rdparty/maven-surefire/maven-surefire-common/pom.xml to 
/home/me/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.0.0-M10-SNAPSHOT/maven-surefire-common-3.0.0-M10-SNAPSHOT.pom
   [INFO] Installing /development/projects/3rdparty/maven-surefire/pom.xml to 
/home/me/.m2/repository/org/apache/maven/surefire/surefire/3.0.0-M10-SNAPSHOT/surefire-3.0.0-M10-SNAPSHOT.pom
   [INFO] Installing 
/home/me/.m2/repository/org/apache/maven/maven-parent/36/maven-parent-36.pom to 
/home/me/.m2/repository/org/apache/maven/maven-parent/36/maven-parent-36.pom
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Apache Maven Surefire 3.0.0-M10-SNAPSHOT:
   [INFO]
   [INFO] Apache Maven Surefire .............................. SUCCESS [  1.616 
s]
   [INFO] Surefire Shared Utils .............................. SUCCESS [  0.993 
s]
   [INFO] SureFire Logger API ................................ SUCCESS [  1.685 
s]
   [INFO] SureFire API ....................................... SUCCESS [ 14.029 
s]
   [INFO] Surefire Extensions API ............................ SUCCESS [  1.651 
s]
   [INFO] Surefire Extensions SPI ............................ SUCCESS [  0.520 
s]
   [INFO] SureFire Booter .................................... SUCCESS [  7.134 
s]
   [INFO] Maven Surefire Test-Grouping Support ............... SUCCESS [  1.370 
s]
   [INFO] SureFire Providers ................................. SUCCESS [  0.222 
s]
   [INFO] Shared JUnit3 Provider Code ........................ SUCCESS [  1.096 
s]
   [INFO] Shared Java 5 Provider Base ........................ SUCCESS [  1.464 
s]
   [INFO] Shared JUnit4 Provider Code ........................ SUCCESS [  1.431 
s]
   [INFO] Shared JUnit48 Provider Code ....................... SUCCESS [  2.059 
s]
   [INFO] SureFire JUnit Runner .............................. SUCCESS [  1.320 
s]
   [INFO] SureFire JUnit4 Runner ............................. SUCCESS [  1.289 
s]
   [INFO] Maven Surefire Common .............................. SUCCESS [ 40.743 
s]
   [INFO] SureFire JUnitCore Runner .......................... SUCCESS [01:59 
min]
   [INFO] SureFire JUnit Platform Runner ..................... SUCCESS [  2.780 
s]
   [INFO] SureFire TestNG Utils .............................. SUCCESS [  1.215 
s]
   [INFO] SureFire TestNG Runner ............................. SUCCESS [  2.029 
s]
   [INFO] ShadeFire JUnit3 Provider .......................... SUCCESS [  0.576 
s]
   [INFO] Surefire Report Parser ............................. SUCCESS [  1.514 
s]
   [INFO] Maven Surefire Plugin .............................. SUCCESS [  2.605 
s]
   [INFO] Maven Failsafe Plugin .............................. FAILURE [  2.804 
s]
   [INFO] Maven Surefire Report Plugin ....................... SKIPPED
   [INFO] Maven Surefire Integration Tests ................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  03:31 min
   [INFO] Finished at: 2023-03-09T09:18:15+01:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-invoker-plugin:3.2.2:install (pre-its) on 
project maven-failsafe-plugin: Failed to install project dependencies: 
MavenProject: org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M10-SNAPSHOT 
@ /development/projects/3rdparty/maven-surefire/maven-failsafe-plugin/pom.xml: 
Failed to install project parents: MavenProject: 
org.apache.maven.surefire:maven-surefire-common:3.0.0-M10-SNAPSHOT @ 
/development/projects/3rdparty/maven-surefire/maven-surefire-common/pom.xml: 
Failed to install POM: MavenProject: org.apache.maven:maven-parent:36 @ 
/home/me/.m2/repository/org/apache/maven/maven-parent/36/maven-parent-36.pom: 
Failed to install artifact: org.apache.maven:maven-parent:pom:36: Failed to 
install artifact org.apache.maven:maven-parent:pom:36: cannot install 
/home/me/.m2/repository/org/apache/maven/maven-parent/36/maven-parent-36.pom to 
same path -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :maven-failsafe-plugin
   ```
   
   Version / Java - info as well if relevant:
   ```
   $ mvn --version
   Apache Maven 3.8.2 (ea98e05a04480131370aa0c110b8c54cf726c06f)
   Maven home: /software/apache-maven-3.8.2
   Java version: 19.0.2, vendor: Amazon.com Inc., runtime: 
/usr/lib/jvm/java-19-amazon-corretto
   Default locale: en_US, platform encoding: UTF-8
   OS name: "linux", version: "5.13.0-52-generic", arch: "amd64", family: "unix"
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to