Skip to content

Instantly share code, notes, and snippets.

@louiszuckerman
Created June 26, 2013 15:37
Show Gist options
  • Save louiszuckerman/5868477 to your computer and use it in GitHub Desktop.
Save louiszuckerman/5868477 to your computer and use it in GitHub Desktop.
glfsjni mvn -Plinux64 install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] glfsjni-project
[INFO] glfsjni
[INFO] glfsjni-linux64
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building glfsjni-project 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ glfsjni-project ---
[INFO] Installing /home/louis/IdeaProjects/glfsjni/pom.xml to /home/louis/.m2/repository/org/fusesource/glfsjni/glfsjni-project/1.0-SNAPSHOT/glfsjni-project-1.0-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building glfsjni 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ glfsjni ---
[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) @ glfsjni ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-hawtjni-plugin:1.8:generate (default) @ glfsjni ---
[INFO] Analyzing classes...
[INFO] Generating...
[INFO] Done.
[INFO] executing: /bin/sh -c ./autogen.sh
[INFO] auto reconf...
[INFO] configure.ac:44: error: m4_require: circular dependency of AC_LANG_COMPILER(C++)
[INFO] ../../lib/autoconf/lang.m4:329: AC_LANG_COMPILER_REQUIRE is expanded from...
[INFO] ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from...
[INFO] ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
[INFO] ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from...
[INFO] /usr/share/aclocal/libtool.m4:1130: _LT_SYS_MODULE_PATH_AIX is expanded from...
[INFO] /usr/share/aclocal/libtool.m4:5830: _LT_LANG_CXX_CONFIG is expanded from...
[INFO] /usr/share/aclocal/libtool.m4:819: _LT_LANG is expanded from...
[INFO] /usr/share/aclocal/libtool.m4:801: LT_LANG is expanded from...
[INFO] ../../lib/autoconf/c.m4:667: AC_LANG_COMPILER(C++) is expanded from...
[INFO] ../../lib/autoconf/lang.m4:329: AC_LANG_COMPILER_REQUIRE is expanded from...
[INFO] ../../lib/autoconf/general.m4:2606: AC_COMPILE_IFELSE is expanded from...
[INFO] ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
[INFO] ../../lib/m4sugar/m4sh.m4:385: AS_REQUIRE is expanded from...
[INFO] ../../lib/autoconf/general.m4:181: AC_REQUIRE_SHELL_FN is expanded from...
[INFO] ../../lib/autoconf/headers.m4:129: _AC_CHECK_HEADER_MONGREL is expanded from...
[INFO] ../../lib/autoconf/headers.m4:67: AC_CHECK_HEADER is expanded from...
[INFO] m4/custom.m4:33: CUSTOM_M4_SETUP is expanded from...
[INFO] configure.ac:44: the top level
[INFO] autom4te: /usr/bin/m4 failed with exit status: 1
[INFO] aclocal: /usr/bin/autom4te failed with exit status: 1
[INFO] autoreconf: aclocal failed with exit status: 1
[INFO] rc: 1
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ glfsjni ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/louis/IdeaProjects/glfsjni/glfsjni/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ glfsjni ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.4.3:test (default-test) @ glfsjni ---
[INFO] Surefire report directory: /home/louis/IdeaProjects/glfsjni/glfsjni/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ glfsjni ---
[INFO] Building jar: /home/louis/IdeaProjects/glfsjni/glfsjni/target/glfsjni-1.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:test-jar (default) @ glfsjni ---
[INFO]
[INFO] --- maven-hawtjni-plugin:1.8:package-source (default) @ glfsjni ---
[INFO]
[WARNING] Will NOT package the native sources to: /home/louis/IdeaProjects/glfsjni/glfsjni/target/glfsjni-1.0-SNAPSHOT-native-src.zip
[INFO] Native source build directory did not contain a 'configure' script.
[INFO] To ignore this warnning and package it up anyways configure the plugin with: <skipAutogen>true</skipAutogen>
[INFO]
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ glfsjni ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ glfsjni ---
[INFO] Installing /home/louis/IdeaProjects/glfsjni/glfsjni/target/glfsjni-1.0-SNAPSHOT.jar to /home/louis/.m2/repository/org/fusesource/glfsjni/glfsjni/1.0-SNAPSHOT/glfsjni-1.0-SNAPSHOT.jar
[INFO] Installing /home/louis/IdeaProjects/glfsjni/glfsjni/pom.xml to /home/louis/.m2/repository/org/fusesource/glfsjni/glfsjni/1.0-SNAPSHOT/glfsjni-1.0-SNAPSHOT.pom
[INFO] Installing /home/louis/IdeaProjects/glfsjni/glfsjni/target/glfsjni-1.0-SNAPSHOT-tests.jar to /home/louis/.m2/repository/org/fusesource/glfsjni/glfsjni/1.0-SNAPSHOT/glfsjni-1.0-SNAPSHOT-tests.jar
[INFO] Installing /home/louis/IdeaProjects/glfsjni/glfsjni/target/glfsjni-1.0-SNAPSHOT-sources.jar to /home/louis/.m2/repository/org/fusesource/glfsjni/glfsjni/1.0-SNAPSHOT/glfsjni-1.0-SNAPSHOT-sources.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building glfsjni-linux64 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ glfsjni-linux64 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/louis/IdeaProjects/glfsjni/glfsjni-linux64/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ glfsjni-linux64 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-hawtjni-plugin:1.8:build (default) @ glfsjni-linux64 ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] glfsjni-project ................................... SUCCESS [0.255s]
[INFO] glfsjni ........................................... SUCCESS [4.738s]
[INFO] glfsjni-linux64 ................................... FAILURE [0.032s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.497s
[INFO] Finished at: Wed Jun 26 11:33:51 EDT 2013
[INFO] Final Memory: 10M/252M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.8:build (default) on project glfsjni-linux64: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist. Could not find artifact org.fusesource.glfsjni:glfsjni:zip:native-src:1.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.fusesource.glfsjni -DartifactId=glfsjni -Dversion=1.0-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.fusesource.glfsjni -DartifactId=glfsjni -Dversion=1.0-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.fusesource.glfsjni:glfsjni:zip:1.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.8:build (default) on project glfsjni-linux64: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.fusesource.hawtjni.maven.BuildMojo.execute(BuildMojo.java:254)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist.
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage(BuildMojo.java:409)
at org.fusesource.hawtjni.maven.BuildMojo.configureBasedBuild(BuildMojo.java:331)
at org.fusesource.hawtjni.maven.BuildMojo.execute(BuildMojo.java:245)
... 21 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Could not find artifact org.fusesource.glfsjni:glfsjni:zip:native-src:1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.fusesource.glfsjni -DartifactId=glfsjni -Dversion=1.0-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.fusesource.glfsjni -DartifactId=glfsjni -Dversion=1.0-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.fusesource.glfsjni:glfsjni:zip:1.0-SNAPSHOT
from the specified remote repositories:
central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveAlways(DefaultArtifactResolver.java:163)
at org.fusesource.hawtjni.maven.BuildMojo.downloadNativeSourcePackage(BuildMojo.java:405)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not find artifact org.fusesource.glfsjni:glfsjni:zip:native-src:1.0-SNAPSHOT
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213)
... 25 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact org.fusesource.glfsjni:glfsjni:zip:native-src:1.0-SNAPSHOT
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:528)
... 29 more
[ERROR]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :glfsjni-linux64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment