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

Maven Install and Use Issue (MASON and Paysim) #68

Open
RockyZhangHKU opened this issue Feb 13, 2022 · 0 comments
Open

Maven Install and Use Issue (MASON and Paysim) #68

RockyZhangHKU opened this issue Feb 13, 2022 · 0 comments

Comments

@RockyZhangHKU
Copy link

Hi, dear authors, my system is Ubuntu Linux 18.04 and want to build this AMLSim, I have manually install the Maven and want to install the MASON and Paysim jars . When I following the commends to install these two jars
(dl4aml) rockyzhang@rockyzhang-Precision-5530:~/Desktop/AMLSim-master$ mvn install:install-file -Dfile=jars/mason.18.jar -DgroupId=mason -DartifactId=mason -Dversion=18 -Dpackaging=jar -DgeneratePom=true

The error appears as following:
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.8.1/junit-bom-5.8.1.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not transfer artifact org.junit:junit-bom:pom:5.8.1 from/to central(https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.8.1/junit-bom-5.8.1.pom @ line 18, column 16
[ERROR] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is missing. @ line 67, column 21 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project amlsim:amlsim:1.0.0 (/home/rockyzhang/Desktop/ARD260/AMLSim-master/pom.xml) has 2 errors
[ERROR] Non-resolvable import POM: Could not transfer artifact org.junit:junit-bom:pom:5.8.1 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/junit/junit-bom/5.8.1/junit-bom-5.8.1.pom @ line 18, column 16: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter:jar is missing. @ line 67, column 21
[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/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Sorry that I am not familiar with Maven so I don't really understand this issue. I search it by google that try to solve but still can't find out the solution.

The Maven should be installed successfully as I input the mvn -version and the output run as follows.
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /opt/maven
Java version: 11.0.13, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-99-generic", arch: "amd64", family: "unix"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant