- https://github.com/grchr/yf-models-proto-содержит определения Protobuf
/> - https://github.com/grchr/fintestq - проект Quarkus, который использует (среди прочего) мои 2 других репо
- https://github.com/grchr/yf-project/packages/2573404
- https://github.com/grchr/yf-models-prot ... es/2573407
com.github.grchr
yf-project
0.0.6
com.github.grchr
yf-models-proto
1.0.2
< /code>
И я также объявляю их в разделе репозитории: < /p>
Код: Выделить всё
github-yf-project
GitHub Packages
https://maven.pkg.github.com/grchr/yf-project
true
true
github-yf-models-proto
GitHub Packages
https://maven.pkg.github.com/grchr/yf-models-proto
true
true
< /code>
локально мне не сталкиваются с какими -либо проблемами при создании проекта. Однако мой рабочий процесс Ci.yml
Код: Выделить всё
## A basic GitHub Actions workflow for your Quarkus application.
name: CI build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Maven GitHub Packages auth
uses: s4u/maven-settings-action@v2
with:
servers: |
[
{
"id": "github-yf-project",
"username": "${{ github.actor }}",
"password": "${{ secrets.GITHUB_TOKEN }}"
},
{
"id": "github-yf-models-proto",
"username": "${{ github.actor }}",
"password": "${{ secrets.GITHUB_TOKEN }}"
}
]
- name: Clear Maven cache for grchr packages
run: rm -rf ~/.m2/repository/com/github/grchr
- name: Show Maven settings (debug)
run: grep '' ~/.m2/settings.xml || true
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: maven
- name: Build
run: ./mvnw verify -B
< /code>
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.075 s
[INFO] Finished at: 2025-07-08T11:18:21Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal on project fintestq: Could not collect dependencies for project com.example:fintestq:jar:1.0.0-SNAPSHOT
Error: Failed to read artifact descriptor for com.github.grchr:yf-project:jar:0.0.6
Error: Caused by: The following artifacts could not be resolved: com.github.grchr:yf-project:pom:0.0.6 (absent): Could not transfer artifact com.github.grchr:yf-project:pom:0.0.6 from/to github-yf-project (https://maven.pkg.github.com/grchr/yf-project): status code: 401, reason phrase: Unauthorized (401)
Error: Failed to read artifact descriptor for com.github.grchr:yf-models-proto:jar:1.0.2
Error: Caused by: The following artifacts could not be resolved: com.github.grchr:yf-models-proto:pom:1.0.2 (absent): Could not transfer artifact com.github.grchr:yf-models-proto:pom:1.0.2 from/to github-yf-project (https://maven.pkg.github.com/grchr/yf-project): status code: 401, reason phrase: Unauthorized (401)
Error: -> [Help 1]
Error:
Error: To see the full stack trace of the errors, re-run Maven with the -e switch.
Error: Re-run Maven using the -X switch to enable full debug logging.
Error:
Error: For more information about the errors and possible solutions, please read the following articles:
Error: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Error: Process completed with exit code 1.
Как я могу решить эту проблему?
Подробнее здесь: https://stackoverflow.com/questions/796 ... -workflows