[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Failed to obtain signature: org.codehaus.mojo.signature:java15:1.0



Hello,

I'm trying to build a newer release of joptsimple (source avaible in the
debian repository), and am getting this.  I don't really understand what
this means and were to look at.

cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven2/boot/classworlds.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dproperties.file.manual=/build/joptsimple-4.9/debian/maven.properties -Dclassworlds.conf=/etc/maven2/m2-debian.conf org.codehaus.classworlds.Launcher -s/etc/maven2/settings-debian.xml -Dmaven.repo.local=/build/joptsimple-4.9/debian/maven-repo  package
[INFO] 
NOTE: Maven is executing in offline mode. Any artifacts not already in your local
repository will be inaccessible.

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building JOpt Simple
[INFO]    task-segment: [package]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 45 source files to /build/joptsimple-4.9/target/classes
[INFO] [animal-sniffer:check {execution: check-signature}]
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java15:1.0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to obtain signature: org.codehaus.mojo.signature:java15:1.0

Embedded error: System is offline.

Try downloading the file manually from the project website.

Then, install it using the command: 
    mvn install:install-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java15 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: 
    mvn deploy:deploy-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java15 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.codehaus.mojo.signature:java15:signature:1.0



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Oct 24 18:05:59 CEST 2015
[INFO] Final Memory: 20M/337M
[INFO] ------------------------------------------------------------------------
/usr/share/cdbs/1/class/maven.mk:93: recipe for target 'mvn-build' failed


Samuel


Reply to: