I think you can. What you need to do is to specify the right id. I think the id will be "default-test-jar".
/Anders On Mon, Apr 16, 2012 at 19:55, Wayne Fay <[email protected]> wrote: >> I know of "tests-jar" goal in maven-jar-plugin that would generate both >> my-artifact.jar and my-artifact-tests.jar. But what if I want to exclude >> some properties resources ONLY for the my-artifact-tests.jar? I tried the >> following, but it exclude from both of the jars, which is not what I want. >> Can anyone give me a tip on how to do this? > > Don't think you can, at least, not with any specific simply config > that is built into Maven. > > Why do you want to do this? > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
