bmargulies
bmargulies

Reputation: 100153

maven-assembly-descriptor include this very module

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?

Upvotes: 1

Views: 220

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570545

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.

Upvotes: 1

Related Questions