Difference between revisions of "CryptoTool"
Ralf.hauser (talk | contribs) (→Could not resolve dependencies) |
Ralf.hauser (talk | contribs) (→Solution as per pom.xml) |
||
| Line 28: | Line 28: | ||
-Dpackaging=jar\ | -Dpackaging=jar\ | ||
-DgeneratePom=true | -DgeneratePom=true | ||
| − | |||
mvn install:install-file -Dfile=src/main/resources/libs/bcpkix-jdk15on-163b03.jar\ | mvn install:install-file -Dfile=src/main/resources/libs/bcpkix-jdk15on-163b03.jar\ | ||
-DgroupId=org.bouncycastle\ | -DgroupId=org.bouncycastle\ | ||
-DartifactId=bcpkix-jdk15on\ | -DartifactId=bcpkix-jdk15on\ | ||
| + | -Dversion=1.63.0.03-local\ | ||
| + | -Dpackaging=jar\ | ||
| + | -DgeneratePom=true | ||
| + | |||
| + | mvn install:install-file -Dfile=src/main/resources/libs/bcprov-jdk15on-163b03.jar\ | ||
| + | -DgroupId=org.bouncycastle\ | ||
| + | -DartifactId=bcprov-jdk15on\ | ||
-Dversion=1.63.0.03-local\ | -Dversion=1.63.0.03-local\ | ||
-Dpackaging=jar\ | -Dpackaging=jar\ | ||
Latest revision as of 13:27, 24 November 2020
Contents
FAQ
t.b.d
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project CryptoTool: Fatal error compiling: invalid target release: 11
hauser@hauservm:~/git/e2efatclient$ echo $JAVA_HOME /usr/lib/jvm/curr hauser@hauservm:~/git/e2efatclient$ export JAVA_HOME=/usr/lib/jvm/jdk-11
Could not resolve dependencies
[ERROR] Failed to execute goal on project CryptoTool: Could not resolve dependencies for project org.myd:CryptoTool:jar:1.0.1-SNAPSHOT: The following artifacts could not be resolved: org.bouncycastle:bcmail-jdk15on:jar:1.63.0.03-local, org.bouncycastle:bcpg-jdk15on:jar:1.63.0.03-local, org.bouncycastle:bcpkix-jdk15on:jar:1.63.0.03-local, org.bouncycastle:bcprov-jdk15on:jar:1.63.0.03-local: Failure to find org.bouncycastle:bcmail-jdk15on:jar:1.63.0.03-local in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
Solution as per pom.xml
mvn install:install-file -Dfile=src/main/resources/libs/bcmail-jdk15on-163b03.jar\
-DgroupId=org.bouncycastle\
-DartifactId=bcmail-jdk15on\
-Dversion=1.63.0.03-local\
-Dpackaging=jar\
-DgeneratePom=true
mvn install:install-file -Dfile=src/main/resources/libs/bcpg-jdk15on-163b03.jar\
-DgroupId=org.bouncycastle\
-DartifactId=bcpg-jdk15on\
-Dversion=1.63.0.03-local\
-Dpackaging=jar\
-DgeneratePom=true
mvn install:install-file -Dfile=src/main/resources/libs/bcpkix-jdk15on-163b03.jar\
-DgroupId=org.bouncycastle\
-DartifactId=bcpkix-jdk15on\
-Dversion=1.63.0.03-local\
-Dpackaging=jar\
-DgeneratePom=true
mvn install:install-file -Dfile=src/main/resources/libs/bcprov-jdk15on-163b03.jar\
-DgroupId=org.bouncycastle\
-DartifactId=bcprov-jdk15on\
-Dversion=1.63.0.03-local\
-Dpackaging=jar\
-DgeneratePom=true
README
git clone https://hauser@git.my-d.org/e2e/e2efatclient.git
install maven from apache
install 7z.dll
then in cygwin, do "mvn clean install"
Links
Back to Projects