I am relitively new to Apache Ivy and am trying to move an existing dev project to using Ivy for dependency management. The last dependency I have to configure is jboss-javaee.jar. I can't find it anywhere and am getting the following error message when running
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: org.jboss#jboss-javaee;5.0.1.GA
[ivy:retrieve] ==== local: tried
[ivy:retrieve] C:\Documents and Settings\eweibust.ivy2/local/org.jboss/jboss-javaee/5.0.1.GA/ivys/ivy.xml
[ivy:retrieve] -- artifact org.jboss#jboss-javaee;5.0.1.GA!jboss-javaee.jar:
[ivy:retrieve] C:\Documents and Settings\eweibust.ivy2/local/org.jboss/jboss-javaee/5.0.1.GA/jars/jboss-javaee.jar
[ivy:retrieve] ==== shared: tried
[ivy:retrieve] C:\Documents and Settings\eweibust.ivy2/shared/org.jboss/jboss-javaee/5.0.1.GA/ivys/ivy.xml
[ivy:retrieve] -- artifact org.jboss#jboss-javaee;5.0.1.GA!jboss-javaee.jar:
[ivy:retrieve] C:\Documents and Settings\eweibust.ivy2/shared/org.jboss/jboss-javaee/5.0.1.GA/jars/jboss-javaee.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve] http://repo1.maven.org/maven2/org/jboss/jboss-javaee/5.0.1.GA/jboss-javaee-5.0.1.GA.pom
[ivy:retrieve] -- artifact org.jboss#jboss-javaee;5.0.1.GA!jboss-javaee.jar:
[ivy:retrieve] http://repo1.maven.org/maven2/org/jboss/jboss-javaee/5.0.1.GA/jboss-javaee-5.0.1.GA.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: org.jboss#jboss-javaee;5.0.1.GA: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
<dependency org="org.jboss" name="jboss-javaee" rev="5.0.1.GA">
</dependency>
To update #AngerClown's comment: The current JBoss repository has a different URL.
<ibiblio
name="jboss"
m2compatible="true"
root="https://repository.jboss.org/nexus/content/groups/public"
pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" />
I found an overview here.
You need to be using the jboss repository at http://repository.jboss.com/maven2/. Use the following as your ivy-settings.xml
<ivysettings>
<settings defaultResolver="myChain" checkUpToDate="true" />
<resolvers>
<chain name="myChain">
<ibiblio name="jboss" m2compatible="true" root="http://repository.jboss.com/maven2/" />
<ibiblio name="ibiblio" m2compatible="true" />
</chain>
</resolvers>
</ivysettings>
The depency needs to look like this aswell:
<dependency org="org.jboss.javaee" name="jboss-javaee" rev="5.0.1.GA" />
Related
I'm trying to resolve the following dependencies using IVY 2.5.0-rc1 where gwt.version=[2.7.0, 2.8.0, 2.8.2] and I'm pointing to https://jcenter.bintray.com/ as a repository
<dependency org="com.google.gwt" name="gwt-user" rev="${gwt.version}"
conf="gwt-compile, compile->master"/>
<dependency org="com.google.gwt" name="gwt-dev" rev="${gwt.version}"
conf="compile, gwt-compile->master" />
<dependency org="com.google.gwt" name="gwt-servlet" rev="${gwt.version}"
conf="compile, gwt-compile, war-libs->master" />
This results in the following output
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: com.google.gwt#gwt-user;2.7.0: com.google.gwt#gwt;2.7.0->org.sonatype.oss#oss-parent;4
[ivy:resolve] :: com.google.gwt#gwt-dev;2.7.0: com.google.gwt#gwt;2.7.0->org.sonatype.oss#oss-parent;4
[ivy:resolve] :: com.google.gwt#gwt-servlet;2.7.0: com.google.gwt#gwt;2.7.0->org.sonatype.oss#oss-parent;4
The org.sonatype.oss#oss-parent;4 appears to exist in the repository https://jcenter.bintray.com/org/sonatype/oss/oss-parent/
I've tried using excludes for oss-parent both at the dependency and dependencies level without success. I've also tried setting the transitive=false attribute on the gwt dependency elements.
The only relevant post I could find was this, which has no response.
I also saw the following deprecation warning regarding oss-parent
Sonatype OSS Parent poms - oss-parents
DEPRECATION WARNING:
This project is no longer active or supported. We suggest to manage parent POM files for your own organization as needed. The POM files from this project no longer work with latest Maven and/or Java versions.
For deployments to the Central Repository and the needed setup, please refer to http://central.sonatype.org
This is due to the following bug in ivy 2.5.0-rc1: https://issues.apache.org/jira/browse/IVY-1588
The best workaround I've found until they push out a release with the fix they implemented is to downgrade to ivy 2.4
I got the following error when run sbt.
PS H:\> sbt
Getting org.fusesource.jansi jansi 1.11 (this may take some time)...
:: problems summary ::
:::: WARNINGS
module not found: org.fusesource.jansi#jansi;1.11
==== local: tried
C:\Users\user1\.ivy2\local\org.fusesource.jansi\jansi\1.11\ivys\ivy.xml
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
C:\Users\user1\.ivy2\local\org.fusesource.jansi\jansi\1.11\jars\jansi.jar
==== local-preloaded-ivy: tried
file:/C:/Users/user1/.sbt/preloaded/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
==== local-preloaded: tried
file:/C:/Users/user1/.sbt/preloaded/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
file:/C:/Users/user1/.sbt/preloaded/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.fusesource.jansi#jansi;1.11: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection reset url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
Server access Error: Connection reset url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Server access Error: Connection reset url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.fusesource.jansi#jansi;1.11: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\user1\.sbt\boot\update.log for complete log)
Error: Could not retrieve jansi 1.11
However, I can get the file using wget?
PS H:\> wget https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
StatusCode : 200
StatusDescription : OK
Content : <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 h...
......
Update:
The following error message is from update.log.
ERROR: Server access Error: Connection reset
url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
Maven Central: resource not reachable for
org/fusesource/jansi#jansi;1.11:
res=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
trying
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
tried
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
ERROR: Server access Error: Connection reset
url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Maven Central: resource not reachable for
org/fusesource/jansi#jansi;1.11:
res=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Maven Central: no ivy file nor artifact found for
org.fusesource.jansi#jansi;1.11 typesafe-ivy-releases: no namespace
defined: using system no ivy file in cache for
org.fusesource.jansi#jansi;1.11: tried
C:\Users\user1.ivy2\cache\org.fusesource.jansi\jansi\ivy-1.11.xml
trying
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
tried
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
ERROR: Server access Error: Connection reset
url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
typesafe-ivy-releases: resource not reachable for
org.fusesource.jansi#jansi;1.11:
res=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
typesafe-ivy-releases: no ivy file found for
org.fusesource.jansi#jansi;1.11 sbt-ivy-snapshots: no namespace
defined: using system no ivy file in cache for
org.fusesource.jansi#jansi;1.11: tried
C:\Users\user1.ivy2\cache\org.fusesource.jansi\jansi\ivy-1.11.xml
trying
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
ERROR: Server access Error: Connection reset
url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
sbt-ivy-snapshots: resource not reachable for
org.fusesource.jansi#jansi;1.11:
res=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
sbt-ivy-snapshots: no ivy file found for
org.fusesource.jansi#jansi;1.11
looks like this is not a Powershell issue at all, regardless if you're receiving the error when using Powershell. Per the top of the error, looks like you're missing dependencies:
module not found: org.fusesource.jansi#jansi;1.11
the fact that wget works but sbt doesn't is because they are entirely different applications / exe's; wget is an alias for the Powershell cmdlet Invoke-WebRequest (run Get-Command wget to see this for yourself), while sbt is it's own application that I've honestly never heard or personally.
I found the issue - need to set proxy settings for https too.
I upgraded sbt from version 0.13.8 to 0.13.9. We have Nexus proxying many repositories. Now, when I issue 'sbt' command - I get unresolved dependencies
scala-library
scala-compilre
scala-reflect
all due to sha1 different from the computed. Is there a way to bypass sha1 validation?
FYI. setting checksums in update := Nil in build.sbt does not solve the problem. I even tried putting
<property name="ivy.checksums" value=""/> in ~/.ivy/ivysettings.xml still fails.
here is the console output:
D:\Temp\test>sbt -v update
Getting org.scala-sbt sbt 0.13.9 ...
:: problems summary ::
:::: WARNINGS
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-library/2.10.5/scala-library-2.10.5.pom: invalid sha1: expected=c39e31e37ce77d8d5fb8e8c640222275815d36f2 computed=4e8b721680f2defb491fe90447302658d464d5c
0 (351ms)
module not found: org.scala-lang#scala-library;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-library\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-library;2.10.5!scala-library.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-library\2.10.5\jars\scala-library.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-library/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-library/2.10.5/scala-library-2.10.5.pom
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-compiler/2.10.5/scala-compiler-2.10.5.pom: invalid sha1: expected=9a85822af1f9ea46b49dfdfa99eafc0bd819abaf computed=c3e0b6cf2f45a5a7cb052ef9e00f8fdac55e7
1b7 (69ms)
module not found: org.scala-lang#scala-compiler;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-compiler\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-compiler;2.10.5!scala-compiler.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-compiler\2.10.5\jars\scala-compiler.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-compiler/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-compiler/2.10.5/scala-compiler-2.10.5.pom
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-reflect/2.10.5/scala-reflect-2.10.5.pom: invalid sha1: expected=3a6fa11041ac0c8b4d5fcf9d4f1372ba8c0b7216 computed=30f1f646114a79eeefb254ead190f045c460564
9 (67ms)
module not found: org.scala-lang#scala-reflect;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-reflect\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-reflect;2.10.5!scala-reflect.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-reflect\2.10.5\jars\scala-reflect.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-reflect/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-reflect/2.10.5/scala-reflect-2.10.5.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-lang#scala-library;2.10.5: not found
:: org.scala-lang#scala-compiler;2.10.5: not found
:: org.scala-lang#scala-reflect;2.10.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-lang#scala-library;2.10.5: not found
unresolved dependency: org.scala-lang#scala-compiler;2.10.5: not found
unresolved dependency: org.scala-lang#scala-reflect;2.10.5: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\ak\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.9
It turned out to be an ordering issue with our Nexus proxy repositories. oss.sonatype.org maven repo was causing an issue when it was placed ahead of the Maven Central repo. Removing oss.sonatype.org maven repository solved the problem.
I Have a Play2 project, and wanted to compile in IntelliJ IDEA.
I have build.properties correctly read by IntelliJ -- sbt.version is 0.12.4.
When I run my project, this happens:
/opt/jdk/jdk1.7.0_75/bin/java -Dfile.encoding=UTF8 -Dsbt.boot.properties=file:////home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt.boot.properties -Djline.terminal=none -Dsbt.log.noformat=true "-Dplay.version= ]; then
PLAY_VERSION=" -Dsbt.global.base=/tmp/sbt-global-plugin0stub -Dsbt.ivy.home=/home/urvoy_p/Programmes/play-2.1.5/repository -Dplay.home=/home/urvoy_p/Programmes/play-2.1.5/framework -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M -classpath /home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt-launch.jar xsbt.boot.Boot "project universail" ~run
Getting org.scala-sbt sbt ${{sbt.version}} ...
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;${{sbt.version}}
==== local: tried
/home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
==== Maven2 Local: tried
file:///home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;${{sbt.version}}: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;${{sbt.version}}: not found
Error during sbt execution: Error retrieving required libraries
(see /home/urvoy_p/Programmes/play-2.1.5/framework/sbt/boot/update.log for complete log)
Error: Could not retrieve sbt ${{sbt.version}}
Process finished with exit code 1
Here's a more detailed log
setting 'ivy.default.settings.dir' to 'jar:file:/home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
setting 'ivy.basedir' to '/home/urvoy_p/Universail/universail-dev/.idea/modules/.'
setting 'ivy.default.conf.dir' to 'jar:file:/home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VsftpResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.version.PatternVersionMatcher in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.trigger.LogTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntBuildTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.IvyRepResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.conflict.RegexpConflictManager in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.updatesite.UpdateSiteResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntCallTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.MirroredURLResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.packager.PackagerResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.DualResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.JarResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.obr.OBRResolver in [] nor Ivy classloader
impossible to define glob matcher: org.apache.ivy.plugins.matcher.GlobPatternMatcher was not found.
setting 'sbt.ivy.home' to '/home/urvoy_p/Programmes/play-2.1.5/repository'
setting 'java.runtime.name' to 'Java(TM) SE Runtime Environment'
setting 'sun.boot.library.path' to '/opt/jdk/jdk1.7.0_75/jre/lib/amd64'
setting 'java.vm.version' to '24.75-b04'
setting 'sbt.global.base' to '/tmp/sbt-global-plugin0stub'
setting 'jline.terminal' to 'none'
setting 'java.vm.vendor' to 'Oracle Corporation'
setting 'java.vendor.url' to 'http://java.oracle.com/'
setting 'path.separator' to ':'
setting 'java.vm.name' to 'Java HotSpot(TM) 64-Bit Server VM'
setting 'file.encoding.pkg' to 'sun.io'
setting 'user.country' to 'US'
setting 'sun.java.launcher' to 'SUN_STANDARD'
setting 'sun.os.patch.level' to 'unknown'
setting 'java.vm.specification.name' to 'Java Virtual Machine Specification'
setting 'user.dir' to '/home/urvoy_p/Universail/universail-dev/.idea/modules'
setting 'java.runtime.version' to '1.7.0_75-b13'
setting 'sbt.boot.properties' to 'file:////home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt.boot.properties'
setting 'java.awt.graphicsenv' to 'sun.awt.X11GraphicsEnvironment'
setting 'java.endorsed.dirs' to '/opt/jdk/jdk1.7.0_75/jre/lib/endorsed'
setting 'os.arch' to 'amd64'
setting 'java.io.tmpdir' to '/tmp'
setting 'line.separator' to '
'
setting 'java.vm.specification.vendor' to 'Oracle Corporation'
setting 'os.name' to 'Linux'
setting 'sbt.log.noformat' to 'true'
setting 'sun.jnu.encoding' to 'UTF-8'
setting 'java.library.path' to '/home/urvoy_p/Programmes/idea-IU-139.659.2/bin::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib'
setting 'java.specification.name' to 'Java Platform API Specification'
setting 'java.class.version' to '51.0'
setting 'play.home' to '/home/urvoy_p/Programmes/play-2.1.5/framework'
setting 'sun.management.compiler' to 'HotSpot 64-Bit Tiered Compilers'
setting 'os.version' to '3.2.0-75-generic'
setting 'user.home' to '/home/urvoy_p'
setting 'user.timezone' to 'Europe/Paris'
setting 'java.awt.printerjob' to 'sun.print.PSPrinterJob'
setting 'file.encoding' to 'UTF8'
setting 'java.specification.version' to '1.7'
setting 'java.class.path' to '/home/urvoy_p/Programmes/play-2.1.5/framework/sbt/sbt-launch.jar'
setting 'user.name' to 'urvoy_p'
setting 'play.version' to ' ]; then
PLAY_VERSION='
setting 'java.vm.specification.version' to '1.7'
setting 'sun.java.command' to 'xsbt.boot.Boot project universail ~run'
setting 'java.home' to '/opt/jdk/jdk1.7.0_75/jre'
setting 'sun.arch.data.model' to '64'
setting 'user.language' to 'en'
setting 'java.specification.vendor' to 'Oracle Corporation'
setting 'awt.toolkit' to 'sun.awt.X11.XToolkit'
setting 'java.vm.info' to 'mixed mode'
setting 'java.version' to '1.7.0_75'
setting 'java.ext.dirs' to '/opt/jdk/jdk1.7.0_75/jre/lib/ext:/usr/java/packages/lib/ext'
setting 'sun.boot.class.path' to '/opt/jdk/jdk1.7.0_75/jre/lib/resources.jar:/opt/jdk/jdk1.7.0_75/jre/lib/rt.jar:/opt/jdk/jdk1.7.0_75/jre/lib/sunrsasign.jar:/opt/jdk/jdk1.7.0_75/jre/lib/jsse.jar:/opt/jdk/jdk1.7.0_75/jre/lib/jce.jar:/opt/jdk/jdk1.7.0_75/jre/lib/charsets.jar:/opt/jdk/jdk1.7.0_75/jre/lib/jfr.jar:/opt/jdk/jdk1.7.0_75/jre/classes'
setting 'java.vendor' to 'Oracle Corporation'
setting 'file.separator' to '/'
setting 'java.vendor.url.bug' to 'http://bugreport.sun.com/bugreport/'
setting 'sun.io.unicode.encoding' to 'UnicodeLittle'
setting 'sun.cpu.endian' to 'little'
setting 'sun.desktop' to 'gnome'
setting 'sun.cpu.isalist' to ''
setting 'ivy.default.ivy.user.dir' to '/home/urvoy_p/Programmes/play-2.1.5/framework/../repository'
setting 'ivy.home' to '/home/urvoy_p/Programmes/play-2.1.5/framework/../repository'
setting 'ivy.cache.dir' to '/home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache'
no default cache defined: set to /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache
setting 'ivy.checksums' to 'sha1,md5'
setting 'ivy.basedir' to '/home/urvoy_p/Programmes/play-2.1.5/framework/sbt/boot'
setting 'basedir' to '/home/urvoy_p/Programmes/play-2.1.5/framework/sbt/boot'
setting 'scala' to '2.9.2'
:: resolving dependencies :: org.scala-sbt#boot-app;1.0
confs: [default]
validate = true
refresh = false
resolving dependencies for configuration 'default'
== resolving dependencies for org.scala-sbt#boot-app;1.0 [default]
loadData of org.scala-sbt#boot-app;1.0 of rootConf=default
== resolving dependencies org.scala-sbt#boot-app;1.0->org.scala-sbt#sbt;${{sbt.version}} [default->default(compile)]
loadData of org.scala-sbt#sbt;${{sbt.version}} of rootConf=default
using redefined-public to resolve org.scala-sbt#sbt;${{sbt.version}}
redefined-public: Checking cache for: dependency: org.scala-sbt#sbt;${{sbt.version}} {default=[default(compile)]}
redefined-public: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;${{sbt.version}}: tried /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt/sbt/ivy-${{sbt.version}}.xml
redefined-public: no latest strategy defined: using default
local: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;${{sbt.version}}: tried /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt/sbt/ivy-${{sbt.version}}.xml
trying /home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
tried /home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
local: resource not reachable for org.scala-sbt#sbt;${{sbt.version}}: res=/home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
local: no ivy file found for org.scala-sbt#sbt;${{sbt.version}}
Maven2 Local: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;${{sbt.version}}: tried /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt/sbt/ivy-${{sbt.version}}.xml
trying file:///home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
tried file:///home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
Maven2 Local: resource not reachable for org/scala-sbt#sbt;${{sbt.version}}: res=file:/home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
Maven2 Local: no ivy file found for org.scala-sbt#sbt;${{sbt.version}}
typesafe-ivy-releases: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;${{sbt.version}}: tried /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt/sbt/ivy-${{sbt.version}}.xml
trying http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
tried http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
HTTP response status: 404 url=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/$%7B%7Bsbt.version%7D%7D/ivys/ivy.xml
CLIENT ERROR: Not Found url=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/$%7B%7Bsbt.version%7D%7D/ivys/ivy.xml
typesafe-ivy-releases: resource not reachable for org.scala-sbt#sbt;${{sbt.version}}: res=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
typesafe-ivy-releases: no ivy file found for org.scala-sbt#sbt;${{sbt.version}}
Maven Central: no namespace defined: using system
no ivy file in cache for org.scala-sbt#sbt;${{sbt.version}}: tried /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt/sbt/ivy-${{sbt.version}}.xml
trying http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
tried http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
HTTP response status: 404 url=http://repo1.maven.org/maven2/org/scala-sbt/sbt/$%7B%7Bsbt.version%7D%7D/sbt-$%7B%7Bsbt.version%7D%7D.pom
CLIENT ERROR: Not Found url=http://repo1.maven.org/maven2/org/scala-sbt/sbt/$%7B%7Bsbt.version%7D%7D/sbt-$%7B%7Bsbt.version%7D%7D.pom
Maven Central: resource not reachable for org/scala-sbt#sbt;${{sbt.version}}: res=http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
Maven Central: no ivy file found for org.scala-sbt#sbt;${{sbt.version}}
WARN: module not found: org.scala-sbt#sbt;${{sbt.version}}
WARN: ==== local: tried
WARN: /home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
WARN: ==== Maven2 Local: tried
WARN: file:///home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
WARN: ==== typesafe-ivy-releases: tried
WARN: http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
WARN: ==== Maven Central: tried
WARN: http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
Nbr of module to sort : 0
resolved ivy file produced in /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/resolved-org.scala-sbt-boot-app-1.0.xml
:: downloading artifacts ::
:: resolution report :: resolve 868ms :: artifacts dl 0ms
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
WARN: :: UNRESOLVED DEPENDENCIES ::
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
WARN: :: org.scala-sbt#sbt;${{sbt.version}}: not found
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
Nbr of module to sort : 0
report for org.scala-sbt#boot-app;1.0 default produced in /home/urvoy_p/Programmes/play-2.1.5/framework/../repository/cache/org.scala-sbt-boot-app-default.xml
resolve done (868ms resolve - 0ms download)
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;${{sbt.version}}
==== local: tried
/home/urvoy_p/Programmes/play-2.1.5/repository/local/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
==== Maven2 Local: tried
file:///home/urvoy_p/.m2/repository/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/${{sbt.version}}/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/org/scala-sbt/sbt/${{sbt.version}}/sbt-${{sbt.version}}.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;${{sbt.version}}: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
java.lang.RuntimeException: not found
at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:238)
at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:695)
at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:780)
at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:703)
at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:575)
at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:233)
at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Checks.java:105)
at xsbt.boot.Update$$anon$3.call(Update.scala:99)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at xsbt.boot.Update.apply(Checks.java:100)
at xsbt.boot.Launch.update(Launch.scala:275)
at xsbt.boot.Launch.retrieve$1(Launch.scala:145)
at xsbt.boot.Launch$$anonfun$3.apply(Launch.scala:153)
at scala.Option.getOrElse(Option.scala:108)
at xsbt.boot.Launch$$anon$2.call(Launch.scala:138)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at xsbt.boot.Launch.locked(Launch.scala:174)
at xsbt.boot.Launch.app(Launch.scala:91)
at xsbt.boot.Launch.app(Launch.scala:89)
at xsbt.boot.Launch$.run(Launch.scala:51)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: Error retrieving required libraries
at xsbt.boot.Pre$.error(Pre.scala:22)
at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Checks.java:105)
at xsbt.boot.Update$$anon$3.call(Update.scala:99)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at xsbt.boot.Update.apply(Checks.java:100)
at xsbt.boot.Launch.update(Launch.scala:275)
at xsbt.boot.Launch.retrieve$1(Launch.scala:145)
at xsbt.boot.Launch$$anonfun$3.apply(Launch.scala:153)
at scala.Option.getOrElse(Option.scala:108)
at xsbt.boot.Launch$$anon$2.call(Launch.scala:138)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51)
at xsbt.boot.Locks$.apply0(Locks.scala:30)
at xsbt.boot.Locks$.apply(Locks.scala:27)
at xsbt.boot.Launch.locked(Launch.scala:174)
at xsbt.boot.Launch.app(Launch.scala:91)
at xsbt.boot.Launch.app(Launch.scala:89)
at xsbt.boot.Launch$.run(Launch.scala:51)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:45)
at xsbt.boot.Launch$.launch(Launch.scala:69)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: Error retrieving required libraries
I'm trying a toolkit named junto to do label propagation.
When I compile it, it downloads Scala.
However, an unresolved dependency appeared in the process.
The detailed information is here:
:: problems summary ::
:::: WARNINGS
module not found: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0
==== local: tried
/root/.ivy2/local/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml
==== typesafe-ivy-releases: tried
repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml
==== Maven Central: tried
repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
==== sonatype-snapshots: tried
oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/7/oss-parent-7.jar
SERVER ERROR: Service Unavailable url=http://repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/apache/apache/7/apache-7.jar
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/6/oss-parent-6.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found
Error during sbt execution: Error retrieving required libraries
(see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.12.0
download the jar as unmanaged dependency:
http://mvnrepository.com/artifact/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0
and put it under lib_unmanaged folder in the project directory.
or add a repository that contains it: http://repo1.maven.org/maven2/
http://repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/
add to pom.xml between:
<repositories>
...
</repositories>
the following:
<repository>
<id>central</id>
<name>Maven Central</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
or:
<repository>
<id>mvnrepository</id>
<name>mvnrepository</name>
<url>http://mvnrepository.com/artifact</url>
</repository>
if you are using sbt, you should add in build.sbt the following:
resolvers += "mvnrepository" at "http://mvnrepository.com/artifact/"
or:
resolvers += "central" at "http://repo1.maven.org/maven2/"