I was wrong about generated-sources. An "update project configuration"
solved this. Not sure why I didn't get it on project import.

2008/7/22 nicolas de loof <[EMAIL PROTECTED]>:

> Hello,
>
> I just installed m2eclipse 0.9.5, but for some unknown reason my
> target/generated-sources/cxf folder is not included in Java build path
>
> Looking at eclipse console, I can't see the CXF code generation running
> (that works if I run mvn eclipse:m2eclipse from command line with maven
> 2.0.9) There is a java.lang.NullPointerException error in the console, and
> it seems the forked m2eclipse execution is stopped.
>
> ...
> 22/07/08 15:58:18 CEST: [INFO] [statemgmt:start-fork]
> 22/07/08 15:58:18 CEST: [INFO] Starting forked execution [fork id:
> 1259353884]
> 22/07/08 15:58:18 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 15:58:20 CEST: [INFO] [enforcer:enforce]
> *22/07/08 15:58:20 CEST: java.lang.NullPointerException*
> ...
>
>
> Removing the enforcer plugin from my configuration makes the cxf plugin run
> as expected :
>
> 22/07/08 16:00:52 CEST: [INFO] [statemgmt:start-fork]
> 22/07/08 16:00:52 CEST: [INFO] Starting forked execution [fork id:
> 1259507356]
> 22/07/08 16:00:52 CEST: [INFO] [xml:transform]
> *22/07/08 16:00:56 CEST: [INFO] [cxf-codegen:wsdl2java]
> *22/07/08 16:00:57 CEST: [INFO] [statemgmt:end-fork]
> 22/07/08 16:00:57 CEST: [INFO] Ending forked execution [fork id:
> 1259507356]
>
> and the target/generated-source/cxf is created ... but not added to my java
> build path ??
>

Reply via email to