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

You might want to look at the code we have for Modello: https://github.com/sonatype/m2eclipse-extras/tree/master/org.sonatype.m2e.modello

On 27 June 2011 16:58, David Carver <d_a_carver@xxxxxxxxx> wrote:
What is lacking in those pages is how to correctly get the generated-sources and generated-resources directories added to the Java Classpath for eclipse.   I've got a basic working instance, but it seems that the protected method, getSources() is called to early.

I've got a partially working config now, but it really is a crap shoot at times to figure out what needs to be done.   It would also help to have some better (or any) docs on some of the API that is supposed to be used.  Much of it is missing.  Which I think is leading to some of the frustrations that have been expressed here.

Dave


On 06/27/2011 04:20 PM, Igor Fedorenko wrote:
m2e dev env setup is briefly explain in [1].

wiki page [2] explains how different parts of m2e/antlr integration fit together.

hope this helps.

[1] http://wiki.eclipse.org/M2E_extension_development_environment#Setting_up_Eclipse_IDE
[2] http://wiki.eclipse.org/M2E_Extension_Development

--
Regards,
Igor

On 11-06-27 11:37 PM, Christian Schneider wrote:
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


_______________________________________________
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


Back to the top