Keyfactor / signserver-ce

SignServer – Open source, PKI-based signing software to sign code, documents, timestamps and more.
https://www.signserver.org
GNU Lesser General Public License v2.1
331 stars 37 forks source link

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 6 months ago

r-shafi commented 6 months ago

Environment:

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
mlundblad commented 6 months ago

I think you need to run:

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

mlundblad commented 6 months ago

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 commented 6 months ago

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 commented 6 months ago

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

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