JMH JDK Microbenchmarks refer to Oracle internal infras?

xiaofeng Young fenix_young at hotmail.com
Mon Apr 8 09:52:00 UTC 2019


Hi,
   not sure if this alias is suitable. I'm trying to build and run JDK micro-benchmarks with following guides
Wiki: http://openjdk.java.net/projects/code-tools/jmh-jdk-microbenchmarks/
Repo: http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/README.md

After cloning the repo, a simple build with "mvn clean install" fails. It refers an oracle infra, http://maven.se.oracle.com/nexus/content/groups/public.
http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml

    <repositories><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l294>
        <repository><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l295>
            <id>Stockholm Repository</id><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l296>
            <url>http://maven.se.oracle.com/nexus/content/groups/public</url><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l297>
        </repository><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l298>
    </repositories><http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/pom.xml#l299>


Is it an internal one? How can I fix or workaround?

See the mvn failure:

[INFO] OpenJDK Microbenchmark Corpus (JDK 8) .............. FAILURE [  0.259 s]
[INFO] OpenJDK Microbenchmark Corpus (Uber-Package) 1.0-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.019 s
[INFO] Finished at: 2019-04-08T17:26:12+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project micros-jdk8: Could not resolve dependencies for project org.openjdk:micros-jdk8:jar:1.0-SNAPSHOT: Failed to collect dependencies at org.openjdk:micros-util:jar:1.0-SNAPSHOT: Failed to read artifact descriptor for org.openjdk:micros-util:jar:1.0-SNAPSHOT: Could not transfer artifact org.openjdk:micros-util:pom:1.0-SNAPSHOT from/to Stockholm Repository (http://maven.se.oracle.com/nexus/content/groups/public): maven.se.oracle.com: Unknown host maven.se.oracle.com -> [Help 1]

Thank you very much!
Felix Yang



More information about the code-tools-dev mailing list