Community
Participate
Working Groups
This can happen in shared environment.
This does not provide enough information to troubleshoot the problem. Please provide complete standalone sample project and steps to reproduce the problem.
1. login as root 2. make sure /tmp/fakerepo do not exists already 3. open eclipse 4. create maven projects using m2e test:project-1 test:project-2 5. add dependency from project-2 to test:project-1 6. Login as normal user (without root rights) 7. open eclipse 8. create maven projects using m2e test:project-1 test:project-2 9. add dependency from project-2 to test:project-1 10. now project-2's pom.xml has error "no such directory of file found", because root user owns folder /tmp/fakerepo and normal user do not have rights to it.
this does not explain why m2e needs to access /tmp/fakerepo
right .. I dug up this a bit. seems that problem is actually in m2e-extras not in core https://github.com/sonatype/m2eclipse-extras/blob/master/org.sonatype.m2e.mavenarchiver/src/org/sonatype/m2e/mavenarchiver/internal/AbstractMavenArchiverConfigurator.java#L640
This is why we always ask for complete standalone example project and steps to reproduce the problem ;-)
Moved to https://github.com/eclipse-m2e/m2e-core/issues/