maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Poitras (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MECLIPSE-111) Additional webResources are not added to the component list when using WTP projects generation
Date Wed, 28 Jun 2006 13:32:40 GMT
    [ http://jira.codehaus.org/browse/MECLIPSE-111?page=comments#action_68459 ] 

Alexandre Poitras commented on MECLIPSE-111:
--------------------------------------------

One problem with this approach is that it doesn't care about settings coming from the parent.
I think it is just an example of a broader problem : sharing properties between plugins.

> Additional webResources are not added to the component list when using WTP projects generation
> ----------------------------------------------------------------------------------------------
>
>          Key: MECLIPSE-111
>          URL: http://jira.codehaus.org/browse/MECLIPSE-111
>      Project: Maven 2.x Eclipse Plugin
>         Type: Bug

>     Versions: 2.2
>     Reporter: Renaud Julienne
>  Attachments: MECLIPSE-111-patch.txt
>
>
> I have a war project, with the standard layout :
>  + project
>     + src
>       + main
>         + java
>         + resources
>         + webapp
> But my project is also relying on a common web application framework, containing web
resources I must add to my project.
> So in the pom.xml, for the maven-war-plugin configuration, I have additional webResources
declared :
>   <plugin>
>     <artifactId>maven-war-plugin</artifactId>
>     <configuration>
>       <webResources>
>         <webResource>
>           <directory>${project.build.directory}/fwk</directory>
>         <webResource>
>       </webResources>
>     </configuration>
>   </plugin>
> When I generate the eclipse project, with WTP activated, the .component generated does
not include the wb-resource element corresponding to my webResource. It should contain :
>   <wb-resource deploy-path="/" source-path="target/fwk"/>

-- 
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


Mime
View raw message