[
http://jira.codehaus.org/browse/MBUILDHELPER-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Gier closed MBUILDHELPER-4.
--------------------------------
Resolution: Fixed
Fixed in [r9912|http://svn.mojo.codehaus.org/changelog/mojo/?cs=9912]
> build-helper-maven-plugin: Add resources
> -----------------------------------------
>
> Key: MBUILDHELPER-4
> URL: http://jira.codehaus.org/browse/MBUILDHELPER-4
> Project: Maven 2.x Build Helper Plugin
> Issue Type: New Feature
> Reporter: David Blevins
> Assignee: Paul Gier
> Fix For: 1.3
>
> Attachments: add-resource.txt
>
>
> Would be great if we could use the build-helper-maven-plugin to add
> additional resources from a src dir to be included in the final jar, such as
> *.properties files. I keep i18n properties files in our java source tree
> which each java package able to have it's own properties file. Duplicating
> and maintaining our java package structure under src/main/resources is not an
> ideal option.
> irc.codehaus.org/maven [transcript]:
> [13:24] <dblevins> i want to keep i18n properties files in my
> src/main/java tree, not src/main/resources
> [13:24] <dblevins> is this possible?
> [13:27] <jesse> dblevins: should be, just have to use buildhelper to
> add it as a resource and it ought to be copied over for packaging
> [13:34] <raphael> dblevins:
> http://mojo.codehaus.org/build-helper-maven-plugin/
> [13:36] <dblevins> that doesn't quite look like what I'm after...
> [13:37] <dblevins> more just looking to get
> src/main/java/**/*.properties added to my jar
> [13:39] <dblevins> raphael: according to the docs, build helper is
> for adding additional source directories and additional artifacts for
> install/deploy
> [13:40] <dblevins> not really for adding additional file types for
> inclusion in the produced jar
> [13:40] <jesse> if not, it should
> [13:42] <raphael> it should but don't, tonite checkout don't show
> any AddResourceMojo nor AddTestResourceMojo
--
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
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email