Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Unable to build the project locally #1092

Closed
skarampatakis opened this issue Nov 22, 2024 · 0 comments
Closed

Unable to build the project locally #1092

skarampatakis opened this issue Nov 22, 2024 · 0 comments
Labels
kind/bug Something isn't working. The software does not behave as expected or specified.

Comments

@skarampatakis
Copy link

Description - What happened? *

Hi, I am trying to set up the edc-ce for development and I am facing some issues, namely I cannot build the project with gradle.

As suggested on the README I created a PAT in github with the read:packages scope and added this on my ~/.gradle/gradle.properties but the on build I am getting the following error

Could not determine the dependencies of task ':launchers:connectors:mds-ce:shadowJar'.
> Could not resolve all dependencies for configuration ':launchers:connectors:mds-ce:runtimeClasspath'.
   > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
     Required by:
         project :launchers:connectors:mds-ce > project :launchers:common:base-mds
         project :launchers:connectors:mds-ce > project :launchers:common:base-mds > project :extensions:mds-logginghouse-binder
      > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
         > Could not get resource 'https://maven.pkg.github.com/truzzt/mds-ap3/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'.
            > Could not GET 'https://maven.pkg.github.com/truzzt/mds-ap3/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'. Received status code 401 from server: Unauthorized
      > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
         > Could not get resource 'https://maven.pkg.github.com/ids-basecamp/ids-infomodel-java/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'.
            > Could not GET 'https://maven.pkg.github.com/ids-basecamp/ids-infomodel-java/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'. Received status code 401 from server: Unauthorized

I think my properties file is correct, so can it be that I should be given access to this registry?

Expected Behavior *

Successfully build the project

Observed Behavior *

Getting an 401 from the maven registry and then build fails

Steps to Reproduce

No response

Context Information

No response

Relevant log output

Could not determine the dependencies of task ':launchers:connectors:mds-ce:shadowJar'.
> Could not resolve all dependencies for configuration ':launchers:connectors:mds-ce:runtimeClasspath'.
   > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
     Required by:
         project :launchers:connectors:mds-ce > project :launchers:common:base-mds
         project :launchers:connectors:mds-ce > project :launchers:common:base-mds > project :extensions:mds-logginghouse-binder
      > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
         > Could not get resource 'https://maven.pkg.github.com/truzzt/mds-ap3/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'.
            > Could not GET 'https://maven.pkg.github.com/truzzt/mds-ap3/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'. Received status code 401 from server: Unauthorized
      > Could not resolve logging-house:logging-house-client:v1.2.0-alpha.1.
         > Could not get resource 'https://maven.pkg.github.com/ids-basecamp/ids-infomodel-java/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'.
            > Could not GET 'https://maven.pkg.github.com/ids-basecamp/ids-infomodel-java/logging-house/logging-house-client/v1.2.0-alpha.1/logging-house-client-v1.2.0-alpha.1.pom'. Received status code 401 from server: Unauthorized

Screenshots

No response

@skarampatakis skarampatakis added the kind/bug Something isn't working. The software does not behave as expected or specified. label Nov 22, 2024
@sovity sovity locked and limited conversation to collaborators Nov 22, 2024
@tmberthold tmberthold converted this issue into discussion #1093 Nov 22, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
kind/bug Something isn't working. The software does not behave as expected or specified.
Projects
None yet
Development

No branches or pull requests

1 participant