Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 0.9.5
-
Fix Version/s: None
-
Component/s: Maven Embedder
-
Labels:None
-
Environment:eclipse 3.4 windows
maven 2.0.9
m2eclipse 0.9.5
-
Testcase included:yes
-
Number of attachments :
Description
Attached project demonstrates the issue.
Here is the result I get in m2eclipse console :
22/07/08 16:34:58 CEST: Generating sources /test/pom.xml 22/07/08 16:34:58 CEST: [INFO] Scanning for projects... 22/07/08 16:34:59 CEST: [WARN] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-enforcer-plugin:1.0-20080605.105126-11) of type: maven-plugin; constructing POM artifact instead. 22/07/08 16:34:59 CEST: [INFO] ------------------------------------------------------------------------ 22/07/08 16:34:59 CEST: [INFO] Building test 22/07/08 16:34:59 CEST: [INFO] 22/07/08 16:34:59 CEST: [INFO] Id: test:test:jar:1-SNAPSHOT 22/07/08 16:34:59 CEST: [INFO] task-segment: [process-resources] 22/07/08 16:34:59 CEST: [INFO] ------------------------------------------------------------------------ 22/07/08 16:34:59 CEST: [WARN] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-enforcer-plugin:1.0-20080605.105126-11) of type: maven-plugin; constructing POM artifact instead. 22/07/08 16:34:59 CEST: [WARN] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-enforcer-plugin:1.0-20080605.105126-11) of type: maven-plugin; constructing POM artifact instead. 22/07/08 16:35:00 CEST: [WARN] Attempting to build MavenProject instance for Artifact (org.apache.maven.plugins:maven-enforcer-plugin:1.0-20080605.105126-11) of type: maven-plugin; constructing POM artifact instead. 22/07/08 16:35:00 CEST: [INFO] [enforcer:enforce] 22/07/08 16:35:00 CEST: Unable to update source folders test; java.lang.NullPointerException
The resulting java project has no maven structure but eclipse default one(source folder = project root, compile to bin ...)