3

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?

chad
  • 7,369
  • 6
  • 37
  • 56

1 Answers1

1

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

Community
  • 1
  • 1