maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swissbib <swissbib...@unibas.ch>
Subject error creating jar-with-dependencies
Date Mon, 04 Jul 2016 12:31:15 GMT
Hi

I'm getting an error while trying to build a jar-with-dependencies [1]

mvn install assembly:single -Dmaven.debug.skip=true
  --- maven-install-plugin:2.4:install (default-install) @ 
swissbibMF-plugins ---
[INFO] Installing 
/home/swissbib/environment/code/linkedSwissbib/mfCommands/target/swissbibMF-plugins-0.0.5-SNAPSHOT.jar

to 
/home/swissbib/.m2/repository/ch/linked-swissbib/swissbibMF-plugins/0.0.5-SNAPSHOT/swissbibMF-plugins-0.0.5-SNAPSHOT.jar
[INFO] Installing 
/home/swissbib/environment/code/linkedSwissbib/mfCommands/pom.xml to 
/home/swissbib/.m2/repository/ch/linked-swissbib/swissbibMF-plugins/0.0.5-SNAPSHOT/swissbibMF-plugins-0.0.5-SNAPSHOT.pom
[INFO] Installing 
/home/swissbib/environment/code/linkedSwissbib/mfCommands/target/swissbibMF-plugins-0.0.5-SNAPSHOT-plugin.jar

to 
/home/swissbib/.m2/repository/ch/linked-swissbib/swissbibMF-plugins/0.0.5-SNAPSHOT/swissbibMF-plugins-0.0.5-SNAPSHOT-plugin.jar
[INFO]
[INFO] --- maven-assembly-plugin:2.6:single (default-cli) @ 
swissbibMF-plugins ---
[INFO] Reading assembly descriptor: /src/main/assembly/assembly.xml
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 11.683 s
[INFO] Finished at: 2016-07-04T14:19:24+02:00
[INFO] Final Memory: 55M/2124M
[INFO] 
------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-assembly-plugin:2.6:single (default-cli) 
on project swissbibMF-plugins: Failed to create assembly: Unable to 
obtain archiver for extension 'jar-with-dependencies', for assembly: 
'plugins': No such archiver: 'jar-with-dependencies'. -> [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/MojoExecutionException



You can find the assembly descriptor referenced in the error message [2]
Actually I'm rather puzzled because this setup worked until two days 
before and I haven't changed anything - at least consciously....

Any hints why this error might occour?

Im running a very new maven version
swissbib@ub-sbhp01:~/environment/code/linkedSwissbib/mfCommands$ mvn 
-version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T17:41:47+01:00)
Maven home: /home/swissbib/environment/tools/java.tools/maven
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: /usr/java/jdk1.8.0_92/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-86-generic", arch: "amd64", family: 
"unix"


Thanks a lot!
G√ľnter

[1] 
https://github.com/linked-swissbib/swissbib-metafacture-commands/blob/tracking/pom.xml#L137
[2] 
https://github.com/linked-swissbib/swissbib-metafacture-commands/blob/tracking/src/main/assembly/assembly.xml

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message