So they are not packaged? That's not what the resources plugin is for, and I'd rather not add that confusion to it. Maybe we should add a new mojo to the resources plugin that does the same things, but is explicitly for out-of-package copies?
We need to consider how to share the code appropriately anyway so that the webapp plugin can do filtering. - Brett On 1/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Brett, > > I think this is a little more complex. I use the regular resources section in > my POM to copy my resources to target/classes. This works all fine. > > But I also want to use the plugin to copy another set of resources during the > lifecycle phase "package". During that phase, it should fetch the resources > from a different source directory and copy them to a different target as > well. The only way I see this possible is to use a maven-resource-plugin > configuration with a custom resource configuration. And that's what is not > working. > > > > > > > Brett Porter <[EMAIL PROTECTED]> wrote: configuration error. The plugin > configuration is not where the > resources are meant to be given. > > I'll comment in the JIRA. > > - Brett > > On 1/10/06, [EMAIL PROTECTED] wrote: > > I just found a bug related to this filed 2 days ago: > > http://jira.codehaus.org/browse/MRESOURCES-8. > > > > Anybody can confirm this is a bug or is it simply a misconfiguration on my > > end? > > > > [EMAIL PROTECTED] wrote: I want to use the plugin maven-resources-plugin to > > copy some files in a non-default location during the lifecycle phase > > "package". I'm using a company-wide pom.xml (which is included into the > > project's pom.xml using > > ) to configure the plugin: > > > > Parent POM: > > > > ... > > > > > > > > > > > > > > > > org.apache.maven.plugins > > maven-resources-plugin > > > > > > > > package > > > > > > > > target/mhave/packaging/${project.artifactId}-${project.version} > > > > > > src/main/packaging/ > > true > > > > > > > > > > resources > > > > > > > > > > > > > > > > > > > > ... > > > > Now, what happens is that it copies the files from what I specified in > > ${project.resources} rather than what I configured in the POM above > > (src/main/packaging). I simply can't get it to fetch the files from > > src/main/packaging. > > > > Anybody any idea what's wrong with my config? > > > > Thanks, > > Chris > > > > > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]