directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: [Studio] Using the Maven Release Plugin
Date Tue, 23 Sep 2008 11:36:42 GMT

>>
>> I know that is is possible for a Mojo to launch the goal of another
>> plugin. This can be done with the execute annotation
>> (http://maven.apache.org/developers/mojo-api-specification.html#The_Descriptor_and_Annotations)
>>
>>     
I can't get this working as it never finds the goal eclipse:eclipse
(external plugin) but only plugin internal goals.

But there's another approach looking at the release plugin. The fork a
mvn execution within the plugin to run the goals.
See
http://svn.apache.org/repos/asf/maven/release/trunk/maven-release-manager/src/main/java/org/apache/maven/shared/release/exec/ForkedMavenExecutor.java

Do you think it's worth to give it a try for eliminating the
eclipse:eclipse goal and run it (forked) by the studio:eclipse?

Regards
Felix


Mime
View raw message