Skip to content

Instantly share code, notes, and snippets.

@luc310
Created November 20, 2018 18:51
Show Gist options
  • Save luc310/2e4b435c5a801d5a221a92ff0f20a692 to your computer and use it in GitHub Desktop.
Save luc310/2e4b435c5a801d5a221a92ff0f20a692 to your computer and use it in GitHub Desktop.
datasources-5.0-1.5 compilation error /debian stretch
root@rudder-master:/tmp/rudder-plugins# make datasources
cd datasources && make
make[1] : on entre dans le répertoire « /tmp/rudder-plugins/datasources »
mvn --batch-mode package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building datasources 5.0-1.5
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- properties-maven-plugin:1.0.0:read-project-properties (default) @ datasources ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:copy-resources (copy-build-conf) @ datasources ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:add-source (add-source) @ datasources ---
[INFO] Source directory: /tmp/rudder-plugins/datasources/src/main/scala-templates/default added.
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ datasources ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- scala-maven-plugin:3.2.2:add-source (scala-compile-first) @ datasources ---
[INFO] Add Source directory: /tmp/rudder-plugins/datasources/src/main/scala
[INFO] Add Test Source directory: /tmp/rudder-plugins/datasources/src/test/scala
[INFO]
[INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ datasources ---
[INFO] /tmp/rudder-plugins/datasources/src/main/scala-templates/default:-1: info: compiling
[INFO] /tmp/rudder-plugins/datasources/src/main/scala:-1: info: compiling
[INFO] Compiling 12 source files to /tmp/rudder-plugins/datasources/target/classes at 1542739267269
[INFO] compiler plugin: BasicArtifact(com.github.ghik,silencer-plugin_2.12,1.2,null)
[INFO] Silencer using global filters:
[INFO] prepare-compile in 0 s
[INFO] compile in 41 s
[INFO]
[INFO] --- jrebel-maven-plugin:1.1.3:generate (generate-rebel-xml) @ datasources ---
[INFO] Processing com.normation.plugins:datasources with packaging jar
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ datasources ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default) @ datasources ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ datasources ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- scala-maven-plugin:3.2.2:testCompile (scala-test-compile) @ datasources ---
[INFO] /tmp/rudder-plugins/datasources/src/test/scala:-1: info: compiling
[INFO] Compiling 3 source files to /tmp/rudder-plugins/datasources/target/test-classes at 1542739308948
[INFO] compiler plugin: BasicArtifact(com.github.ghik,silencer-plugin_2.12,1.2,null)
[INFO] Silencer using global filters:
[INFO] prepare-compile in 0 s
[INFO] compile in 20 s
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ datasources ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ datasources ---
[INFO] Surefire report directory: /tmp/rudder-plugins/datasources/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Erreur : impossible de trouver ou charger la classe principale org.apache.maven.surefire.booter.ForkedBooter
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:08 min
[INFO] Finished at: 2018-11-20T19:42:09+01:00
[INFO] Final Memory: 27M/506M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project datasources: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd /tmp/rudder-plugins/datasources && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /tmp/rudder-plugins/datasources/target/surefire/surefirebooter5494068911948502278.jar /tmp/rudder-plugins/datasources/target/surefire/surefire7352845817140405056tmp /tmp/rudder-plugins/datasources/target/surefire/surefire_06227899506275412587tmp
[ERROR] -> [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/PluginExecutionException
../makefiles/common-scala-plugin.mk:20 : la recette pour la cible « std-files » a échouée
make[1]: *** [std-files] Erreur 1
make[1] : on quitte le répertoire « /tmp/rudder-plugins/datasources »
Makefile:28 : la recette pour la cible « datasources » a échouée
make: *** [datasources] Erreur 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment