In a single-module project, I don't see how to get a 'classified' artifact from the project itself into the descriptor and thus the assembly. Do I list it as a dependency?
+1
A:
Did you try the Build Helper Maven Plugin (I'm thinking to build-helper:attach-artifact
)? See Attach additional artifacts to your project in the plugin Usage page.
If it doesn't work, then indeed declare your 'classified' artifact as dependency using one of the advanced identity pattern.
Pascal Thivent
2010-01-14 21:06:31
I tried your second alternative. That didn't work.Turning all useProjectAttachments gets *all* of them.I'll look into the build helper.
bmargulies
2010-01-14 21:13:49