chad
chad

Reputation: 7519

Deploying an non-Jar executable from a Maven build

I have a maven build that produces a binary executable. This executable is not a jar. It happens to be a linux executable file. This is produced by a separate process that is executed by the custom execution of the exec-maven-plugin, attached to the install phase. We then have a script invoked from another custom execution of the exec-maven-plugin, attached to the deploy phase, which "deploys" the executable to a filesystem location.

How can I deploy this executable as a real maven artifact in a nexus repository?

Upvotes: 3

Views: 3467

Answers (1)

Pradeep Fernando
Pradeep Fernando

Reputation: 659

you can use maven-deploy-plugin. A similar scenario is documented here [1]

[1] How can I deploy a zip file created with the maven-antrun-plugin?

hth

Upvotes: 1

Related Questions