Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Make attachment of source zip artifact optional #96

@mpontes

Description

@mpontes

Since version 2.3.0, the zip with the source (the .mvn-golang one) is now being installed/deployed as a zip. We are using mvn-golang-wrapper together with maven-assembly-plugin, where the latter generates a zip file containing a compiled golang executable suitable for running as an AWS Lambda. Since 2.3.0, the source zip being generated by mvn-golang-wrapper is installed/deployed as a zip, which overrides the zip being generated by maven-assembly-plugin.

Ideally we would be able to prevent the source zip from being attached as an artifact of the module, as it can be done with attach=false in maven-assembly-plugin, meaning a deploy/install of the module only deploys the zip that we want (the assembly one).

To be clear, we've always had a problem of the resulting source zip being (unwantedly) uploaded to our repository, but with the extension of .mvn-golang. We ended up deploying both the source zip and our zip containing the wanted binary created by the assembly plugin. Since 2.3.0, the artifact of the mvn-golang-wrapper plugin is now conflicting with our zip, making the issue worse.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions