Closed martinschorb closed 4 years ago
the same failures happen also for the other modules (when running the build with -fn
)
[INFO]
[INFO] Janelia Rendering Utilities ....................... SUCCESS [0.001s]
[INFO] Render Application ................................ FAILURE [7.211s]
[INFO] Render Web Service ................................ FAILURE [23.763s]
[INFO] Render Web Service Java Client .................... FAILURE [31.713s]
[INFO] Render Web Service Spark Client ................... FAILURE [1:18.612s]
[INFO] TrakEM2 Scripts ................................... FAILURE [0.367s]
[INFO] Render Documents .................................. SUCCESS [16.151s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:37.911s
[INFO] Finished at: Thu Jul 30 15:24:24 CEST 2020
[INFO] Final Memory: 31M/93M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project render-app: Could not resolve dependencies for project org.janelia.render:render-app:jar:2.1.1-SNAPSHOT: Failed to collect dependencies for [mpicbg:mpicbg_:jar:1.0.1 (compile), jama:jama:jar:1.0.2 (compile), net.imagej:ij:jar:1.52d (compile), net.imglib2:imglib2:jar:5.3.0 (compile), net.imglib2:imglib2-realtransform:jar:2.0.0 (compile), com.fasterxml.jackson.core:jackson-databind:jar:2.6.7 (compile), com.google.guava:guava:jar:19.0 (compile), com.google.code.findbugs:jsr305:jar:3.0.0 (compile), com.beust:jcommander:jar:1.72 (compile), sc.fiji:mpicbg-trakem2:jar:1.2.2 (compile), sc.fiji:trakem2_tps:jar:1.1.1 (compile), jitk:jitk-tps:jar:1.3.2 (compile), io.swagger:swagger-annotations:jar:1.5.12 (compile), com.github.davidmoten:rtree:jar:0.7.6 (compile), com.amazonaws:aws-java-sdk-s3:jar:1.11.82 (compile), ch.qos.logback:logback-classic:jar:1.1.2 (compile), junit:junit:jar:4.5 (test)]: Failed to read artifact descriptor for mpicbg:mpicbg_:jar:1.0.1: Could not transfer artifact mpicbg:mpicbg_:pom:1.0.1 from/to imagej.releases (https://maven.imagej.net/content/repositories/releases): hostname in certificate didn't match: <maven.scijava.org> != <maven.imagej.net> OR <maven.imagej.net> -> [Help 1]
[ERROR] Failed to execute goal on project render-ws: Could not resolve dependencies for project org.janelia.render:render-ws:war:2.1.1-SNAPSHOT: The following artifacts could not be resolved: org.janelia.render:render-app:jar:2.1.1-SNAPSHOT, jitk:jitk-tps:jar:1.3.2: Could not transfer artifact org.janelia.render:render-app:jar:2.1.1-SNAPSHOT from/to imagej.public (https://maven.scijava.org/content/groups/public): hostname in certificate didn't match: <maven.scijava.org> != <maven.imagej.net> OR <maven.imagej.net> -> [Help 1]
[ERROR] Failed to execute goal on project render-ws-java-client: Could not resolve dependencies for project org.janelia.render:render-ws-java-client:jar:2.1.1-SNAPSHOT: The following artifacts could not be resolved: org.janelia.render:render-app:jar:2.1.1-SNAPSHOT, jitk:jitk-tps:jar:1.3.2: Failure to transfer org.janelia.render:render-app:jar:2.1.1-SNAPSHOT from https://maven.scijava.org/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of imagej.public has elapsed or updates are forced. Original error: Could not transfer artifact org.janelia.render:render-app:jar:2.1.1-SNAPSHOT from/to imagej.public (https://maven.scijava.org/content/groups/public): hostname in certificate didn't match: <maven.scijava.org> != <maven.imagej.net> OR <maven.imagej.net> -> [Help 1]
[ERROR] Failed to execute goal on project render-ws-spark-client: Could not resolve dependencies for project org.janelia.render:render-ws-spark-client:jar:2.1.1-SNAPSHOT: The following artifacts could not be resolved: org.janelia.render:render-ws-java-client:jar:2.1.1-SNAPSHOT, org.janelia.render:render-app:jar:2.1.1-SNAPSHOT, jitk:jitk-tps:jar:1.3.2: Could not transfer artifact org.janelia.render:render-ws-java-client:jar:2.1.1-SNAPSHOT from/to imagej.public (https://maven.scijava.org/content/groups/public): hostname in certificate didn't match: <maven.scijava.org> != <maven.imagej.net> OR <maven.imagej.net> -> [Help 1]
[ERROR] Failed to execute goal on project trakem2-scripts: Could not resolve dependencies for project org.janelia.render:trakem2-scripts:jar:2.1.1-SNAPSHOT: Failed to collect dependencies for [org.janelia.render:render-ws-java-client:jar:2.1.1-SNAPSHOT (compile), net.imagej:ij:jar:1.52d (compile), mpicbg:mpicbg:jar:1.0.1 (compile), sc.fiji:TrakEM2_:jar:1.0j (compile), ch.qos.logback:logback-classic:jar:1.1.2 (compile), junit:junit:jar:4.5 (test)]: Failed to read artifact descriptor for sc.fiji:TrakEM2_:jar:1.0j: Could not transfer artifact sc.fiji:TrakEM2_:pom:1.0j from/to imagej.public (https://maven.scijava.org/content/groups/public): hostname in certificate didn't match: <maven.scijava.org> != <maven.imagej.net> OR <maven.imagej.net> -> [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 <goals> -rf :render-app
Hi Martin, Are you building the latest version of the master branch? All of the ImageJ libraries should be fetched from maven.scijava.org now. --Eric
Hi Eric,
I did a git clone https://github.com/saalfeldlab/render.git
That should pull the latest master commit, shouldn't it?
commit 597babcd498e0cc2f784b179275d8c2e903782ba
Author: Eric Trautman <trautmane@janelia.hhmi.org>
Date: Wed Apr 1 12:03:27 2020 -0400
reduced render to just one section and two levels (run separately) so results fit in default Docker container storage
commit c3243eeeeec099aae427ba81eaae3427b5a7db23
Author: Eric Trautman <trautmane@janelia.hhmi.org>
Date: Wed Apr 1 11:06:04 2020 -0400
update base url for maven central ( see https://central.sonatype.org/articles/2019/Jul/15/central-http-deprecation-update/ )
commit a45dc5c8c38c9fc875f1574283e0a37493ef8b85
Yes, that should give you the latest stuff. Do you know what version of maven you are running? I found this post which implies an older maven install (<= 3.2.5) might cause the problem you are seeing: https://stackoverflow.com/questions/24958334/maven-repository-has-an-invalid-certificate
Apache Maven 3.0.5 (Red Hat 3.0.5-17)
Maven home: /usr/share/maven
Java version: 1.8.0_252, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.252.b09-2.el7_8.x86_64/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.10.0-1062.9.1.el7.x86_64", arch: "amd64", family: "unix"```
That might explain it.
That's the one that ships with CentOS 7
Will try to manually update. Thanks for the hint...
Let me know how it goes ...
Looks good now. Sorry for bothering... It seems a simple google search would have done it!
No worries - feel free to contact me (trautmane at janelia.hhmi.org) if you have any questions about render.
Sure, thanks.
I got the web-services running nicely with the example data now. The interesting part will now be to get our data in there. I will play a bit and let you know once I get stuck.
Dear all,
I get a build error due to a problem in a certificate: