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

com.keyfactor:servicemanifestbuilder:jar:1.0.2 was not found in https://ec.europa.eu/cefdigital/artifact/content/repositories/esignaturedss/ #83

Open
r-shafi opened this issue May 19, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@r-shafi
Copy link

r-shafi commented May 19, 2024

Environment:

  • openjdk version "17.0.11" 2024-04-16
  • OpenJDK Runtime Environment (Red_Hat-17.0.11.0.9-1) (build 17.0.11+9)
  • OpenJDK 64-Bit Server VM (Red_Hat-17.0.11.0.9-1) (build 17.0.11+9, mixed mode, sharing)
  • Apache Maven 3.9.1 (Red Hat 3.9.1-3)

Steps to reproduce the behavior:

  1. git clone --depth 1 https://github.com/Keyfactor/signserver-ce.git
  2. cd signserver-ce
  3. cd lib
  4. ./update-jars-list.sh
  5. ./update-projects-list.sh
  6. ./maven-install-files.sh
  7. cd ..
  8. mvn install

Error Log:

...
[INFO] SignServer-Test-AdminWS ............................ SKIPPED
[INFO] SignServer-Test-System ............................. SKIPPED
[INFO] SignServer-Test-Random ............................. SKIPPED
[INFO] SignServer-Test-Performance ........................ SKIPPED
[INFO] SignServer-Test-ClientWS ........................... SKIPPED
[INFO] SignServer-Doc-web ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.623 s
[INFO] Finished at: 2024-05-19T16:35:29+06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SignServer-Common: Could not resolve dependencies for project org.signserver:SignServer-Common:jar:6.2.1.Alpha1-SNAPSHOT: The following artifacts could not be resolved: com.keyfactor:servicemanifestbuilder:jar:1.0.2 (absent): Could not find artifact com.keyfactor:servicemanifestbuilder:jar:1.0.2 in cefdigital (https://ec.europa.eu/cefdigital/artifact/content/repositories/esignaturedss/) -> [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] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :SignServer-Common
@r-shafi r-shafi added the bug Something isn't working label May 19, 2024
@mlundblad
Copy link
Collaborator

I think you need to run:

./bin/ant init
from the signserver directory before building

@mlundblad
Copy link
Collaborator

Oh, another thing. building SignServer is still only supported with JDK 11 (we don't officially support building on JDK 17 yet, it's planed) running on JDK 17 is supported, however.

@mlundblad
Copy link
Collaborator

Also, there is no need to run the update-jars-list.sh and update-projects-list.sh scripts, they are only used to update the dependency lists when new JAR dependencies has been added (in lib/ext).

@r-shafi
Copy link
Author

r-shafi commented May 20, 2024

Thanks for checking this issue out. I've tried it again cleaning up my environment, removed old files, all old caches, and started again.

Environment

  • openjdk version "11.0.23" 2024-04-16
  • OpenJDK Runtime Environment (Red_Hat-11.0.23.0.9-1) (build 11.0.23+9)
  • OpenJDK 64-Bit Server VM (Red_Hat-11.0.23.0.9-1) (build 11.0.23+9, mixed mode, sharing)
  • Apache Maven 3.9.1 (Red Hat 3.9.1-3)

Steps to reproduce the behavior:

Error Output: mvn install

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:19 min
[INFO] Finished at: 2024-05-20T15:38:47+06:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SignServer-Common: Could not resolve dependencies for project org.signserver:SignServer-Common:jar:6.2.1.Alpha1-SNAPSHOT: The following artifacts could not be resolved: com.keyfactor:servicemanifestbuilder:jar:1.0.2 (absent): Could not find artifact com.keyfactor:servicemanifestbuilder:jar:1.0.2 in cefdigital (https://ec.europa.eu/cefdigital/artifact/content/repositories/esignaturedss/) -> [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] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :SignServer-Common

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants