Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] feedback M2E Ingio - m2e connector concept

Hi Igor,

I try to create a m2e plugin for cxf codegen. I started with the antlr plugin and adapted it to cxf codegen.
Please see my github fork:
https://github.com/cschneider/m2eclipse-extras

I test the plugin using an "Eclipse Application" starter with alle workspace projects and my currennt eclipse indigo.

The code gets executed but I get the error:
Description    Resource    Path    Location    Type
Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:2.4.1:wsdl2java failed. (org.apache.cxf:cxf-codegen-plugin:2.4.1:wsdl2java:generate-sources:generate-sources) pom.xml /jaxws-jms-client line 73 Maven Build Problem

The problem is that I get nothing more than that. The log shows nothing. Any idea how I get more information on what goes wrong?

I also do not have the source code of m2eclipse available in my eclipse. Is there a way to get the source code like for normal maven projects with m2eclipse? I think I would get ahead faster if I could debug into the rest of m2e.

Many thanks in advance

Christian


Am 25.06.2011 09:56, schrieb Igor Fedorenko:


I believe this is the only way to properly and reliably integrate maven
build in Eclipse workspace. I provided more detailed explanation on this
least earlier, see [3] and [4] for example

[1] http://wiki.eclipse.org/M2E_Extension_Development
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=335711
[3] http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00572.html
[4] http://dev.eclipse.org/mhonarc/lists/m2e-users/msg00585.html



Christian




---------------
<plugins>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
<executions>
<execution>
<id>generate-cxf-sources</id>
<phase>generate-sources</phase>
<configuration>
<wsdlOptions>
<wsdlOption>
<wsdl>${basedir}/src/main/resources/CustomerService.wsdl</wsdl>
<bindingFiles>
<bindingFile>${basedir}/src/main/resources/binding.xml</bindingFile>
</bindingFiles>
</wsdlOption>
</wsdlOptions>
</configuration>
<goals>
<goal>wsdl2java</goal>
</goals>
</execution>
</executions>
</plugin>

Am 24.06.2011 12:45, schrieb Moser, Christian:

Just tried out our build environment with Indigo and m2e
1.0.0.20110607-2117.

User-experience :

After a full import of all maven projects, I’ve received following
error in almost every pom:

Plugin execution not covered by lifecycle configuration: …

After clicking around for some time, I found under pom.xml / Overview
the possibility to ignore those «not covered plugin-lifecycles »



--
--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Divisionhttp://www.talend.com



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com



Back to the top