Skip to content

[ERROR] Failed to execute goal on project leveldbjni-all: Could not resolve dependencies for project org.fusesource.leveldbjni:leveldbjni-all #105

@xianlaishen2

Description

@xianlaishen2

Hi
I have built snappy-1.1.7 and have built libleveldb.a, now I want to build the leveldbjni for Apache Spark dynamic resource allocation on ARM server platform, and It failed to compile for leveldbjni.
Please help to check it, thanks!
The detail failed logs as below:

[xianlai@hadoop4 leveldbjni]$
[xianlai@hadoop4 leveldbjni]$ mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Djavax.net.ssl.trustStore=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.aarch64/jre/lib/security/cacerts -Djavax.net.ssl.trustAnchors=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.aarch64/jre/lib/security/cacerts -DskipTests -P download -P linux64,all
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.fusesource.leveldbjni:leveldbjni:jar:99-master-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-jar-plugin @ line 168, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] leveldbjni-project
[INFO] leveldbjni
[INFO] leveldbjni-all
[INFO] leveldbjni-linux64
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building leveldbjni-project 99-master-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ leveldbjni-project ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ leveldbjni-project ---
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/pom.xml to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni-project/99-master-SNAPSHOT/leveldbjni-project-99-master-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building leveldbjni 99-master-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.3:clean (default-clean) @ leveldbjni ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ leveldbjni ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ leveldbjni ---
[INFO] Compiling 23 source files to /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/classes
[INFO]
[INFO] --- maven-hawtjni-plugin:1.11:generate (default) @ leveldbjni ---
[INFO] Analyzing classes...
[INFO] Generating...
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/leveldbjni.cpp
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/leveldbjni_stats.h
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/leveldbjni_stats.cpp
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/leveldbjni_structs.h
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/leveldbjni_structs.cpp
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/hawtjni.h
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/hawtjni.c
[INFO] Wrote: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/generated-sources/hawtjni/native-src/windows/stdint.h
[INFO] Done.
[INFO]
[INFO] --- maven-bundle-plugin:2.0.1:manifest (bundle-manifest) @ leveldbjni ---
[WARNING] Warning in manifest for org.fusesource.leveldbjni:leveldbjni:jar:99-master-SNAPSHOT : Superfluous export-package instructions: [org, org.fusesource]
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ leveldbjni ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/xianlai/leveldbjni/leveldbjni/leveldbjni/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ leveldbjni ---
[INFO] Compiling 1 source file to /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ leveldbjni ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ leveldbjni ---
[INFO] Building jar: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:test-jar (default) @ leveldbjni ---
[INFO] Building jar: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-tests.jar
[INFO]
[INFO] --- maven-hawtjni-plugin:1.11:package-source (default) @ leveldbjni ---
[INFO] Building zip: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-native-src.zip
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ leveldbjni ---
[INFO] Building jar: /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ leveldbjni ---
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT.jar to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT.jar
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/leveldbjni/pom.xml to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT.pom
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-tests.jar to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-tests.jar
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-native-src.zip to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-native-src.zip
[INFO] Installing /home/xianlai/leveldbjni/leveldbjni/leveldbjni/target/leveldbjni-99-master-SNAPSHOT-sources.jar to /home/xianlai/.m2/repository/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building leveldbjni-all 99-master-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.fusesource.leveldbjni:leveldbjni-freebsd64:jar:99-master-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.fusesource.leveldbjni:leveldbjni-sunos64-amd64:jar:99-master-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.fusesource.leveldbjni:leveldbjni-sunos64-sparcv9:jar:99-master-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.fusesource.leveldbjni:leveldbjni-linux64-ppc64le:jar:99-master-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for org.fusesource.leveldbjni:leveldbjni-linux64-aarch64:jar:99-master-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] leveldbjni-project ................................. SUCCESS [ 0.185 s]
[INFO] leveldbjni ......................................... SUCCESS [ 3.558 s]
[INFO] leveldbjni-all ..................................... FAILURE [ 0.051 s]
[INFO] leveldbjni-linux64 ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.444 s
[INFO] Finished at: 2019-08-05T15:00:47+08:00
[INFO] Final Memory: 29M/2467M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project leveldbjni-all: Could not resolve dependencies for project org.fusesource.leveldbjni:leveldbjni-all:bundle:99-master-SNAPSHOT: The following artifacts could not be resolved: org.fusesource.leveldbjni:leveldbjni-freebsd64:jar:99-master-SNAPSHOT, org.fusesource.leveldbjni:leveldbjni-sunos64-amd64:jar:99-master-SNAPSHOT, org.fusesource.leveldbjni:leveldbjni-sunos64-sparcv9:jar:99-master-SNAPSHOT, org.fusesource.leveldbjni:leveldbjni-linux64-ppc64le:jar:99-master-SNAPSHOT, org.fusesource.leveldbjni:leveldbjni-linux64-aarch64:jar:99-master-SNAPSHOT: Failure to find org.fusesource.leveldbjni:leveldbjni-freebsd64:jar:99-master-SNAPSHOT in http://repo.fusesource.com/nexus/content/groups/public-snapshots was cached in the local repository, resolution will not be reattempted until the update interval of fusesource.nexus.snapshot has elapsed or updates are forced -> [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 -rf :leveldbjni-all
[xianlai@hadoop4 leveldbjni]$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions