OK, just reading the configuration pannel "*Note that Embedded runtime is
always used for dependency resolution*" gives me the answer.

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

> Running with "debug output" checked I notice :
>
> 22/07/08 16:45:13 CEST: [DEBUG] Detected Maven Version: 2.1-SNAPSHOT
> 22/07/08 16:45:13 CEST: [DEBUG] Detected Maven Version: 2.1-SNAPSHOT is
> allowed in the range 2.0.9+.
>
> I've set my windows/preferences/maven instalation to point to maven 2.0.9
> doesn't this mean m2eclipse is supposed to use 2.0.9 for it's internal tasks
> ?
>
>
> 2008/7/22 nicolas de loof <[EMAIL PROTECTED]>:
>
>> MNGECLIPSE-768 created for this, with a demo project (ultra simplified
>> POM)
>>
>>
>> Just having the enforcer plugin in the POM.xml (nothing else) break the
>> project import with a NullPointer. I don't know to get more logs to discover
>> what the enforcer plugin does that is so unstandard ;-)
>>
>> 2008/7/22 Igor Fedorenko <[EMAIL PROTECTED]>:
>>
>>> Nicolas,
>>>
>>>
>>> m2e does not run any m2e goals during project import by default. You can
>>> change this in Preferences->Maven->Goals to run on import. I usually set
>>> both goals to run on import and on configuration update to
>>> process-test-resources. After that source code generation works properly
>>> both during import of new projects or when I update configuration of
>>> existing projects (right-click, maven->update project configuration).
>>>
>>> I am not sure what is going on in enforcer plugin. Can you please open a
>>> bugreport with sample project and details of your eclipse/m2e configuration
>>> (see [1])?
>>>
>>> [1] http://docs.codehaus.org/display/M2ECLIPSE/Reporting+Issues
>>>
>>>
>>> nicolas de loof wrote:
>>>
>>>> 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 ??
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>   http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>

Reply via email to