Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try Go Offline Maven Plugin for maven-build-and-tag-action #341

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

igdianov
Copy link
Contributor

Try to use https://github.com/qaware/go-offline-maven-plugin to populate local m2 repository for CI build.

@igdianov igdianov self-assigned this Oct 31, 2023
@igdianov igdianov added the enhancement New feature or request label Oct 31, 2023
run: mvn ${{ steps.define_maven_command.outputs.command }} ${{ env.MAVEN_CLI_OPTS}} ${{ inputs.extra-maven-opts }}
run: |
mvn -T1C de.qaware.maven:go-offline-maven-plugin:resolve-dependencies ${{ env.MAVEN_CLI_OPTS}} ${{ inputs.extra-maven-opts }}
mvn ${{ steps.define_maven_command.outputs.command }} ${{ env.MAVEN_CLI_OPTS}} ${{ inputs.extra-maven-opts }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you added and then removed the --offline parameter on the second maven call: do we still need to download some dependencies on the regular build? (for plugins or tests maybe?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants