Daniel Kaplan
Daniel Kaplan

Reputation: 67300

How do you set the targetPath of jar overlay in a war?

I was reading the war plugin's overlay documentation and it said:

targetPath - the target relative path in the webapp structure, which is only available for overlays of type war. By default, the content of the overlay is added in the root structure of the webapp.

But I'm trying to overlay a jar, not a war. I don't want the files to be at the root directory.

Upvotes: 1

Views: 471

Answers (1)

Daniel Kaplan
Daniel Kaplan

Reputation: 67300

Answering my own question:

Turns out that documentation is wrong and you can use a targetPath with a type, jar.

Upvotes: 1

Related Questions