You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Yuriy Krymlov <kr...@gmail.com> on 2008/03/24 20:42:23 UTC

It is not possible to include folder: .svn to JAR file (maven 2.0.8)

Dears

    Could you please help me to include folder *.svn *with all its 
content to resulting file like jar?
    Actually I need this only within resources (folder: 
*src/main/resources*), so, if you try to specify include pattern
        in *maven-resources-plugin *settings - it does not work.

    If you create some hidden folder (in terms of Linux) like: *.wow *it 
works and will be copied to JAR.
    So, looks like filter about *.svn *is hardcoded to some default 
exclusion list and how to override it is unknown.

    I can assume this problem is common for many plugins, but what I 
need is just to know some workaround.

PS. Please do not ask me why I need .svn in JAR file ... I really need it.

-- 

Thanks
Yuriy Krymlov

GTalk: krymlov
GMail: krymlov@gmail.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: It is not possible to include folder: .svn to JAR file (maven 2.0.8)

Posted by Wendy Smoak <ws...@gmail.com>.
On Mon, Mar 24, 2008 at 12:42 PM, Yuriy Krymlov <kr...@gmail.com> wrote:

>     Could you please help me to include folder *.svn *with all its
>  content to resulting file like jar?
>     Actually I need this only within resources (folder:
>  *src/main/resources*), so, if you try to specify include pattern
>         in *maven-resources-plugin *settings - it does not work.

See 'Including Subversion Metadata...' on this page:
http://maven.apache.org/plugins/maven-assembly-plugin/advanced-descriptor-topics.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org