环境: openjdk版本"1.8.0_322“OpenJDK运行时环境(Temurin)(build 1.8.0_322-b06) OpenJDK 64位服务器VM (Temurin)(build 25.322-b06,混合模式)在Visual代码(Versión: 1.68.1) -码头容器(4.6.1) MacOS11.6 Big Sur上
描述:我已经尝试运行git与克隆在码头容器中。主回购( https://github.com/esig/dss.git )不编译。
Unable to build dependency tree.
Could not resolve following dependencies: [eu.europa.ec.joinup.sd-dss:dss-document:jar:5.10.1
Could not resolve dependencies for project eu.europa.ec.joinup.sd-dss:dss-test:jar:5.10.1
The following artifacts could not be resolved: eu.europa.ec.joinup.sd-dss:dss-document:jar:5.10.1, eu.europa.ec.joinup.sd-dss:dss-token:jar:5.10.1, eu.europa.ec.joinup.sd-dss:dss-service:jar:5.10.1, eu.europa.ec.joinup.sd-dss:dss-utils-apache-commons:jar:5.10.1, eu.europa.ec.joinup.sd-dss:dss-crl-parser-stream:jar:5.10.1: eu.europa.ec.joinup.sd-dss:dss-document:jar:5.10.1 was not found in https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced
Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.10.0:run (default-cli) on project dss-test: Execution default-cli of goal org.apache.maven.plugins:maven-site-plugin:3.10.0:run failed.: NullPointerException -> [Help 1]我试着编译演示回购( https://github.com/esig/dss-demonstrations.git ),但没有编译,pom文件错误,以及在JavaFX上修复它的错误。
Error: JavaFX runtime components are missing, and are required to run this application Jira杂志:https://ec.europa.eu/digital-building-blocks/tracker/browse/DSS-2801
发布于 2022-07-15 19:54:01
请看文档
The latest version of DSS framework has the following minimal requirements:
- Java 11 and higher (tested up to Java 17) for the build is required. For usage Java 8 is a minimum requirement;
- Maven 3.6 and higher;
- Memory and Disk: see minimal requirements for the used JVM. In general the higher available is better;
- Operating system: no specific requirements (tested on Windows and Linux).因此,您应该至少使用Java 11来构建DSS项目。
但是,如果需要将DSS用作依赖项,则可以通过将其存储库添加到Maven项目的pom.xml来使用Java 8:
<repositories>
...
<repository>
<id>cefdigital</id>
<name>cefdigital</name>
<url>https://ec.europa.eu/digital-building-blocks/artifact/content/repositories/esignaturedss/</url>
</repository>
</repositories>在您需要将所需的模块作为依赖项添加到项目之后(有关可用模块的更多细节,请参见文档)。有关决策支持系统集成的示例,请参见dss-示范项目。
我希望这能帮到你。
向你问好,亚历克桑德尔。
https://stackoverflow.com/questions/72770801
复制相似问题