Hi Michael, The recommended way is to create an extension for m2e: http://wiki.eclipse.org/M2E_Extension_Development
Matthew On 18 July 2011 09:53, Wenig, Michael (IT/I4Z) < [email protected]> wrote: > Hi Matthew, > > thanks for your answer. The execute mapping does not belong to the > axis-tools but to the dependency plugin. > > But I found out that it works in another project. I came to the conclusion > that it does work with version 1.4 but not 1.3 of the axistools. So the > problem is solved. > > Regarding "We don't recommend or support adding an execute mapping to your > pom": > > I read it on > http://wiki.eclipse.org/M2E_plugin_execution_not_covered#execute_plugin_goal > > What is the preferred way to get some plugins running at the > generate-resources or validate phase when there is no special lifecycle > mapping? > > E.g. we have some inhouse implemented plugins which should get executed. > Additionally we provide several configuration files (like checkstyle) via > Dependency unpack. > > How should we execute this without the pom-mapping? > > Regards Michael > > > > Date: Mon, 18 Jul 2011 09:26:43 -0400 > From: Matthew Piggott <[email protected]> > To: Maven Integration for Eclipse users mailing list > <[email protected]> > Subject: Re: [m2e-users] Error setting up project with > axistools-maven-plugin > Message-ID: > <calvn6k5f1ebkpxsvpe0ntw5vgritprotkrx9f3f_qedahps...@mail.gmail.com > > > Content-Type: text/plain; charset="iso-8859-1" > > We don't recommend or support adding an execute mapping to your pom, and I > believe for axis tools there should be no reason to. Try removing the > mapping and using the Discover quickfix. > > On 18 July 2011 07:14, Wenig, Michael (IT/I4Z) < > [email protected]> wrote: > > > ** > > > > Hi all, > > > > I upgraded to m2eclipse 1.0 and unfortuinately none of our projects > > are running out of the box. I got most of the modules working (at > > least acceptable for the moment) by putting a custom lifecycle mapping > > in the parent pom. > > > > One is still missing and I get the following error: > > > > Unable to update Maven configuration > > Could not get mojo execution parameter value Cannot assign > > configuration entry 'outputDirectory' with value > > 'target/generated-sources' of type java.lang.String to property of > > type java.io.File[] > > > > Could anyone lead me the way to solve this? > > > > this is the pom definition: > > > > <build> > > <plugins> > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>*axistools*-*maven*-*plugin*</artifactId> > > <version>1.3</version> > > <executions> > > <execution> > > <goals> > > <goal>wsdl2java</goal> > > </goals> > > </execution> > > </executions> > > <configuration> > > <packageSpace>gen.mypackage</packageSpace> > > <sourceDirectory>*src*/*wsdl*</sourceDirectory> > > <outputDirectory>target/generated-sources</outputDirectory> > > </configuration> > > </plugin> > > </plugins> > > </build> > > > > and the following mapping: > > > > <plugin> > > > <groupId>org.eclipse.m2e</groupId> > > > > <artifactId>lifecycle-mapping</ > > artifactId> > > <version>1.0.0</version> > > <configuration> > > > <lifecycleMappingMetadata> > > > <pluginExecutions> > > < > > pluginExecution> > > > > < > > pluginExecutionFilter> > > > > <groupId> > > > > org.apache.maven.plugins > > > > </groupId> > > > > <artifactId> > > > > maven-dependency-plugin > > > > </artifactId> > > > > <versionRange> > > > > [2.2,) > > > > </versionRange> > > > > <goals> > > > > <goal>unpack</goal> > > > > <goal>resolve</goal> > > > > <goal>unpack-dependencies</goal> > > > > > > </goals> > > > > </ > > pluginExecutionFilter> > > > > < > > action> > > > > <execute /> > > > > </ > > action> > > </ > > pluginExecution> > > > > </pluginExecutions > > > > > > > </lifecycleMappingMetadata > > > > > </configuration> > > </plugin> > > > > Regards > > > > Michael > > > > ********************************************************************** > > ********* Diese eMail enthaelt vertrauliche und/oder rechtlich > > geschuetzte Informationen. > > Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich > > erhalten haben, informieren Sie bitte sofort den Absender und > > vernichten Sie diese Mail. > > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist > > nicht gestattet. > > > > This email may contain confidential and/or privileged information. > > If you are not the intended recipient (or have received this email in > > error) please notify the sender immediately and destroy this e-mail. > > Any unauthorized copying, disclosure or distribution of the material > > in this email is strictly forbidden. > > > > ********************************************************************** > > ********* > > > > _______________________________________________ > > m2e-users mailing list > > [email protected] > > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://dev.eclipse.org/mailman/private/m2e-users/attachments/20110718/9f754573/attachment.htm > > > > ------------------------------ > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users > > > End of m2e-users Digest, Vol 30, Issue 30 > ***************************************** > > ******************************************************************************* > Diese eMail enthaelt vertrauliche und/oder rechtlich geschuetzte > Informationen. > Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtuemlich > erhalten > haben, informieren Sie bitte sofort den Absender und vernichten Sie diese > Mail. > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist > nicht > gestattet. > > This email may contain confidential and/or privileged information. > If you are not the intended recipient (or have received this email > in error) please notify the sender immediately and destroy this e-mail. > Any unauthorized copying, disclosure or distribution of the material > in this email is strictly forbidden. > > ******************************************************************************* > > _______________________________________________ > m2e-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/m2e-users >
_______________________________________________ m2e-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/m2e-users
