-
Notifications
You must be signed in to change notification settings - Fork 295
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
flyway/11.3.0 package update #40896
flyway/11.3.0 package update #40896
Conversation
octo-sts
bot
commented
Jan 30, 2025
Signed-off-by: wolfi-bot <[email protected]>
Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation. To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify: e.g. /ai-verify partially helpful but I also added bash to the build environment Gen AI suggestions to solve the build error: • Detected Error: "Could not transfer artifact org.flywaydb:flyway-database-ignite:pom:10.17.0 from/to flyway-community-db-support (https://maven.pkg.github.com/flyway/flyway-community-db-support): status code: 401, reason phrase: Unauthorized (401)" • Error Category: Dependency Resolution/Authentication • Failure Point: Maven dependency resolution during build, specifically when trying to fetch the flyway-database-ignite dependency • Root Cause Analysis: The build is failing because it's trying to access a private GitHub package repository without proper authentication. Flyway has moved some database support packages to a separate repository that requires authentication. • Suggested Fix:
- name: Install
runs: |
# Build flyway
./mvnw -B clean dependency:copy-dependencies package -e --file pom.xml -DskipTests -pl !flyway-database-mongodb,!flyway-database-ignite • Explanation: By excluding the ignite module from the build, we avoid the need to authenticate against the private repository. The ignite module is not required for core Flyway functionality and is part of Flyway Teams edition. • Additional Notes:
• References:
|
The build is failing because we get a 401 when we attempt to fetch packages from |
superseded by #41271 |