You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eelco Hillenius (JIRA)" <ji...@codehaus.org> on 2008/07/10 00:28:26 UTC
[jira] Commented: (MECLIPSE-331) Allow to use a packaging model to
override the packaging defined in the pom
[ http://jira.codehaus.org/browse/MECLIPSE-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141283#action_141283 ]
Eelco Hillenius commented on MECLIPSE-331:
------------------------------------------
This doesn't work for me. I have a project that uses swf packaging (flex mojos), and a plugin configuration in the build section like this:
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<packaging>jar</packaging>
<outputDirectory>target</outputDirectory>
<additionalBuildcommands>
<buildCommand>
<name>
com.adobe.flexbuilder.project.flexbuilder
</name>
</buildCommand>
</additionalBuildcommands>
<additionalProjectnatures>
<projectnature>
com.adobe.flexbuilder.project.flexnature
</projectnature>
<projectnature>
com.adobe.flexbuilder.project.actionscriptnature
</projectnature>
</additionalProjectnatures>
</configuration>
</plugin>
{code}
Unfortunately, this doesn't trigger the maven-eclipse plugin for adding the javabuilder & javanature to the project, nor does result in the plugin creating a .classpath file.
I tested this with 2.5 and 2.5.1.
> Allow to use a packaging model to override the packaging defined in the pom
> ---------------------------------------------------------------------------
>
> Key: MECLIPSE-331
> URL: http://jira.codehaus.org/browse/MECLIPSE-331
> Project: Maven 2.x Eclipse Plugin
> Issue Type: Improvement
> Affects Versions: 2.4
> Reporter: Arnaud Heritier
> Assignee: Arnaud Heritier
> Fix For: 2.5
>
>
> It can be useful to be able to define the packaging to use to generate eclipse settings.
> In the case of a customized packaging (a grails application for ex) you would like to use a war packaging model to be able to reuse WTP feature, but it is actually impossible because the plugin reads directly the pom packaging (and not an intermediate configuration variable).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira