Difference between revisions of "CryptoTool"
Ralf.hauser (talk | contribs) (→Could not resolve dependencies) |
Ralf.hauser (talk | contribs) (→Could not resolve dependencies) |
||
| Line 13: | Line 13: | ||
[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] | [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 | ||
= README = | = README = | ||
Revision as of 13:23, 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
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