m2e stuck when importing maven projects
Closed this issue · 1 comments
Version:
2023_09_R (but I also have the issue with 2023_03)
Steps to reproduce:
Imports several existing maven projects - with a few modules without folders src/test/java and without src/test/resources
Logs: (some info have been replaced with similar names)
2023-09-28 21:13:51,396 [Worker-21: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding resource folder /com.company.myapp.example.modulea.web/src/test/resources
2023-09-28 21:13:51,527 [Worker-21: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding source folder /com.company.myapp.example.modulea.web/src/main/java
2023-09-28 21:13:51,909 [Worker-21: Updating Maven Project] INFO o.e.m.c.i.p.ProjectConfigurationManager - Update completed for 2 poms: local refresh takes 0.00 sec, refresh facades takes 1.00 sec, update config takes 0.00 sec
2023-09-28 21:13:52,879 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - Using 'UTF-8' encoding to copy filtered resources.
2023-09-28 21:13:52,879 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - skip non existing resourceDirectory C:\Projects\git\myapp\MYFOLDER\MODULEa\com.company.myapp.example.modulea.tests\src\main\resources
2023-09-28 21:13:52,881 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - Using 'UTF-8' encoding to copy filtered resources.
2023-09-28 21:13:52,881 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - skip non existing resourceDirectory C:\Projects\git\myapp\MYFOLDER\MODULEa\com.company.myapp.example.modulea.tests\src\test\resources
2023-09-28 21:13:53,314 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - Using 'UTF-8' encoding to copy filtered resources.
2023-09-28 21:13:53,314 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - skip non existing resourceDirectory C:\Projects\git\myapp\MYFOLDER\MODULEa\com.company.myapp.example.modulea.web\src\main\resources
2023-09-28 21:13:53,316 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - Using 'UTF-8' encoding to copy filtered resources.
2023-09-28 21:13:53,316 [Worker-11: Building] INFO o.e.m.c.i.embedder.EclipseLogger - skip non existing resourceDirectory C:\Projects\git\myapp\MYFOLDER\MODULEa\com.company.myapp.example.modulea.web\src\test\resources
2023-09-28 21:14:09,171 [Worker-36: Updating Maven Project] INFO o.e.m.c.i.p.ProjectConfigurationManager - Update started
2023-09-28 21:14:10,793 [Worker-36: Updating Maven Project] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using org.eclipse.m2e.pde.connector.TychoLifecycleMapping lifecycle mapping for MavenProject: com.company.myapp.example:com.company.myapp.example.modulea.web.tests:3.26.0-SNAPSHOT @ C:\Projects\git\myapp\MYFOLDER\MODULEa\com.company.myapp.example.modulea.web.tests\pom.xml.
2023-09-28 21:14:11,017 [Worker-36: Updating Maven Project] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using org.eclipse.m2e.pde.connector.TychoLifecycleMapping lifecycle mapping for MavenProject: com.company.myapp.example:com.company.myapp.example.moduleb.web:4.26.0-SNAPSHOT @ C:\Projects\git\myapp\MYFOLDER\MODULEB\com.company.myapp.example.moduleb.web\pom.xml.
2023-09-28 21:14:11,104 [Worker-36: Updating Maven Project] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using org.eclipse.m2e.pde.connector.TychoLifecycleMapping lifecycle mapping for MavenProject: com.company.myapp.example:com.company.myapp.example.moduleb.web.tests:4.26.0-SNAPSHOT @ C:\Projects\git\myapp\MYFOLDER\MODULEB\com.company.myapp.example.moduleb.web.tests\pom.xml.
2023-09-28 21:14:11,194 [Worker-36: Updating Maven Project] INFO o.e.m.c.i.l.LifecycleMappingFactory - Using org.eclipse.m2e.pde.connector.TychoLifecycleMapping lifecycle mapping for MavenProject: com.company.myapp.example:com.company.myapp.example.modulec.plugins:3.26.0-SNAPSHOT @ C:\Projects\git\myapp\MYFOLDER\MODULEC\com.company.myapp.example.modulec.plugins\pom.xml.
2023-09-28 21:14:11,917 [Worker-36: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding source folder /com.company.myapp.example.modulea.web.tests/src/main/java
2023-09-28 21:14:11,917 [Worker-36: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding resource folder /com.company.myapp.example.modulea.web.tests/src/main/resources
2023-09-28 21:14:11,938 [Worker-36: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding source folder /com.company.myapp.example.modulea.web.tests/src/test/java
2023-09-28 21:14:11,938 [Worker-36: Updating Maven Project] INFO o.e.m.j.i.AbstractJavaProjectConfigurator - Adding resource folder /com.company.myapp.example.modulea.web.tests/src/test/resources
=> every time it is blocked it on the kind of log Adding resource folder ... /src/test/resources
Closed and created a new one here:
eclipse-m2e/m2e-core#1566