You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Daniel Kulp (JIRA)" <ji...@codehaus.org> on 2007/11/29 13:07:57 UTC

[jira] Commented: (MRRESOURCES-28) Attaching the generated resources to the project should be optional (for webapps)

    [ http://jira.codehaus.org/browse/MRRESOURCES-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_115342 ] 

Daniel Kulp commented on MRRESOURCES-28:
----------------------------------------


With 1.0-beta-1 (probably doing the release build this morning, snapshot is available), there is a <attached>false</attached> config setting that will not add the maven-shared-archive-resources dir to the list of resource directories or test resource directories.

Be careful with that setting though, especially with Apache releases.   Without being attached, some things like source jars (source:jar) may not pick up the resources.   Double check all your artifacts to make sure they contain what you expect them to contain.



> Attaching the generated resources to the project should be optional (for webapps)
> ---------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-28
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-28
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Wish
>    Affects Versions:  1.0-alpha-6
>            Reporter: Grégory Joseph
>            Assignee: Daniel Kulp
>             Fix For: 1.0-beta-1
>
>
> .. or should somehow allow to define them as webResources.
> If I declare
>               <directory>${project.build.directory}/maven-shared-archive-resources</directory>
> as a webResource for the war plugin, I'd also ideally need to avoid having a duplicate of these resources under WEB-INF/classes.

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