Select .zip artifact from Maven repository using Transfer a Package

We are looking at deploying java application using octopus deploy.

In our maven repository, for one of the application there are multiple jar files + one zip artifact containing all these jars and dependencies. Main jar file and zip have same file structure, i.e. APP-1.0.0.jar and APP-1.0.0.zip.

Is there a way to filter which artifact is picked up by octopus as we want zip to be deployed or transferred?

Hi prabulike,

Unfortunately, because of the way the function was designed you will not be able to achieve the result you’re looking for. If you want to filter specifically for the zip file, you will need to give the zip file its own distinct group and artifact ID. Hopefully that’s a solution that will work for you going forward. Please reach out if you have any further questions.

Thanks,
Jeremy

Hi @prabulike,

Just to let you know, we have added the ability to reference artifacts by their packaging in version 2020.3.0. The issue for this new feature can be found at https://github.com/OctopusDeploy/Issues/issues/6348. We don’t have an exact date for the release of Octopus 2020.3.0, but keep an eye on the downloads page to make use of this feature when it is released.

Regards
Matt C

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.