I\'m using the maven-antrun-plugin to do a bunch of work with Ant, which ultimately results in a zip file. I\'d like to deploy the zip file to our maven server (Artifactory
The solution worked for me is to add the
tag after zip creation, filled with the same path and zip filename . So something like:
zip-artifacts
package
run
Remember that the zip file has to exists, otherwise attachartifact
returns "file does not exists" error (consider to use whenempty="create"
in tag in order to avoid errors).