Hi,

Am 11.04.2011 13:00, schrieb sebb:
I'm trying to add source and binary test jars to a project.

Now source:jar works fine; it picks up N&L from the<resources>  section.

However, source:test-jar appears to ignore the<resources>  section -
is that intentional, or an oversight? In any case, how does one get it
to add the resources?

Similarly for the binary test jar - it does not seem to want to
include the resources.

Yes, that's how it works AFAIK. source:jar includes the resources from the <resources> section and source:test-jar includes the resources from the <testResources> section. Same for the jar plugin. Makes sense to me.

How do I fix these issuse

If you absolutely need to include the non-test resources the best way to go is probably to use the assembly plugin and create a custom assembly descriptor.

-Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to