I am working with Luna latest version, Liferay IDE 3.x, Liferay 7.
Some weeks ago all worked fine(MVC portlet), but now it does not.
I searched on google but in vain (so few documentation).
I changed ivy URL and switched off my firewall but in vain.
[Console output redirected to file:E:\WORK\LIFERAY\TRAININGS\.metadata\.plugins\com.liferay.ide.sdk.core\sdk.log]
Buildfile: E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\portlets\build.xml
[mkdir] Created dir: E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\.ivy
[copy] Copying 1 file to E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\.ivy
[ivy:resolve] :: Apache Ivy 2.4.0 - 20141213170938 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file = E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\ivy-settings.xml
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: javax.activation#activation;1.1: several problems occurred while resolving dependency: javax.activation#activation;1.1 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for javax/activation#activation;1.1: res=/javax/activation/activation/1.1/activation-1.1-javadoc.jar: java.net.MalformedURLException: no protocol: /javax/activation/activation/1.1/activation-1.1-javadoc.jar
[ivy:resolve] liferay-private: unable to get resource for javax/activation#activation;1.1: res=/javax/activation/activation/1.1/activation-1.1.pom: java.net.MalformedURLException: no protocol: /javax/activation/activation/1.1/activation-1.1.pom
[ivy:resolve] :: org.apache.ant#ant-apache-bsf;1.8.3: several problems occurred while resolving dependency: org.apache.ant#ant-apache-bsf;1.8.3 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache.ant#ant-parent;1.8.3 {}:
[ivy:resolve] liferay-private: unable to get resource for org/apache/ant#ant-parent;1.8.3: res=/org/apache/ant/ant-parent/1.8.3/ant-parent-1.8.3.jar: java.net.MalformedURLException: no protocol: /org/apache/ant/ant-parent/1.8.3/ant-parent-1.8.3.jar
[ivy:resolve] liferay-private: unable to get resource for org/apache/ant#ant-parent;1.8.3: res=/org/apache/ant/ant-parent/1.8.3/ant-parent-1.8.3.pom: java.net.MalformedURLException: no protocol: /org/apache/ant/ant-parent/1.8.3/ant-parent-1.8.3.pom
[ivy:resolve] liferay-private: unable to get resource for org/apache/ant#ant-apache-bsf;1.8.3: res=/org/apache/ant/ant-apache-bsf/1.8.3/ant-apache-bsf-1.8.3.pom: java.net.MalformedURLException: no protocol: /org/apache/ant/ant-apache-bsf/1.8.3/ant-apache-bsf-1.8.3.pom
[ivy:resolve] :: org.tigris.antelope#antelopetasks;3.2.10: several problems occurred while resolving dependency: org.tigris.antelope#antelopetasks;3.2.10 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for org/tigris/antelope#antelopetasks;3.2.10: res=/org/tigris/antelope/antelopetasks/3.2.10/antelopetasks-3.2.10-sources.jar: java.net.MalformedURLException: no protocol: /org/tigris/antelope/antelopetasks/3.2.10/antelopetasks-3.2.10-sources.jar
[ivy:resolve] liferay-private: unable to get resource for org/tigris/antelope#antelopetasks;3.2.10: res=/org/tigris/antelope/antelopetasks/3.2.10/antelopetasks-3.2.10.pom: java.net.MalformedURLException: no protocol: /org/tigris/antelope/antelopetasks/3.2.10/antelopetasks-3.2.10.pom
[ivy:resolve] :: org.beanshell#bsh;2.0b4: several problems occurred while resolving dependency: org.beanshell#bsh;2.0b4 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.beanshell#beanshell;2.0b4 {}:
[ivy:resolve] liferay-private: unable to get resource for org/beanshell#beanshell;2.0b4: res=/org/beanshell/beanshell/2.0b4/beanshell-2.0b4.jar: java.net.MalformedURLException: no protocol: /org/beanshell/beanshell/2.0b4/beanshell-2.0b4.jar
[ivy:resolve] liferay-private: unable to get resource for org/beanshell#beanshell;2.0b4: res=/org/beanshell/beanshell/2.0b4/beanshell-2.0b4.pom: java.net.MalformedURLException: no protocol: /org/beanshell/beanshell/2.0b4/beanshell-2.0b4.pom
[ivy:resolve] liferay-private: unable to get resource for org/beanshell#bsh;2.0b4: res=/org/beanshell/bsh/2.0b4/bsh-2.0b4.pom: java.net.MalformedURLException: no protocol: /org/beanshell/bsh/2.0b4/bsh-2.0b4.pom
[ivy:resolve] :: bsf#bsf;2.4.0: several problems occurred while resolving dependency: bsf#bsf;2.4.0 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache#apache;3 {}:
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;3: res=/org/apache/apache/3/apache-3.jar: java.net.MalformedURLException: no protocol: /org/apache/apache/3/apache-3.jar
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;3: res=/org/apache/apache/3/apache-3.pom: java.net.MalformedURLException: no protocol: /org/apache/apache/3/apache-3.pom
[ivy:resolve] liferay-private: unable to get resource for bsf#bsf;2.4.0: res=/bsf/bsf/2.4.0/bsf-2.4.0.pom: java.net.MalformedURLException: no protocol: /bsf/bsf/2.4.0/bsf-2.4.0.pom
[ivy:resolve] :: javax.ccpp#ccpp;1.0: several problems occurred while resolving dependency: javax.ccpp#ccpp;1.0 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for javax/ccpp#ccpp;1.0: res=/javax/ccpp/ccpp/1.0/ccpp-1.0-sources.jar: java.net.MalformedURLException: no protocol: /javax/ccpp/ccpp/1.0/ccpp-1.0-sources.jar
[ivy:resolve] liferay-private: unable to get resource for javax/ccpp#ccpp;1.0: res=/javax/ccpp/ccpp/1.0/ccpp-1.0.pom: java.net.MalformedURLException: no protocol: /javax/ccpp/ccpp/1.0/ccpp-1.0.pom
[ivy:resolve] :: commons-logging#commons-logging;1.1.1: several problems occurred while resolving dependency: commons-logging#commons-logging;1.1.1 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache.commons#commons-parent;5 {}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache#apache;4 {}:
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.jar: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.jar
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.pom: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.pom
[ivy:resolve] liferay-private: unable to get resource for org/apache/commons#commons-parent;5: res=/org/apache/commons/commons-parent/5/commons-parent-5.pom: java.net.MalformedURLException: no protocol: /org/apache/commons/commons-parent/5/commons-parent-5.pom
[ivy:resolve] liferay-private: unable to get resource for commons-logging#commons-logging;1.1.1: res=/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom: java.net.MalformedURLException: no protocol: /commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.pom
[ivy:resolve] :: com.google.errorprone#error_prone_ant;1.0.8: several problems occurred while resolving dependency: com.google.errorprone#error_prone_ant;1.0.8 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: com.google.errorprone#error_prone_parent;1.0.8 {}:
[ivy:resolve] several problems occurred while resolving dependency: com.google#google;5 {}:
[ivy:resolve] liferay-private: unable to get resource for com/google#google;5: res=/com/google/google/5/google-5.jar: java.net.MalformedURLException: no protocol: /com/google/google/5/google-5.jar
[ivy:resolve] liferay-private: unable to get resource for com/google#google;5: res=/com/google/google/5/google-5.pom: java.net.MalformedURLException: no protocol: /com/google/google/5/google-5.pom
[ivy:resolve] liferay-private: unable to get resource for com/google/errorprone#error_prone_parent;1.0.8: res=/com/google/errorprone/error_prone_parent/1.0.8/error_prone_parent-1.0.8.pom: java.net.MalformedURLException: no protocol: /com/google/errorprone/error_prone_parent/1.0.8/error_prone_parent-1.0.8.pom
[ivy:resolve] liferay-private: unable to get resource for com/google/errorprone#error_prone_ant;1.0.8: res=/com/google/errorprone/error_prone_ant/1.0.8/error_prone_ant-1.0.8.pom: java.net.MalformedURLException: no protocol: /com/google/errorprone/error_prone_ant/1.0.8/error_prone_ant-1.0.8.pom
[ivy:resolve] :: jalopy#jalopy;1.5rc3: several problems occurred while resolving dependency: jalopy#jalopy;1.5rc3 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for jalopy#jalopy;1.5rc3: res=/jalopy/jalopy/1.5rc3/jalopy-1.5rc3-sources.jar: java.net.MalformedURLException: no protocol: /jalopy/jalopy/1.5rc3/jalopy-1.5rc3-sources.jar
[ivy:resolve] liferay-private: unable to get resource for jalopy#jalopy;1.5rc3: res=/jalopy/jalopy/1.5rc3/jalopy-1.5rc3.pom: java.net.MalformedURLException: no protocol: /jalopy/jalopy/1.5rc3/jalopy-1.5rc3.pom
[ivy:resolve] :: javax.servlet#javax.servlet-api;3.0.1: several problems occurred while resolving dependency: javax.servlet#javax.servlet-api;3.0.1 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: net.java#jvnet-parent;1 {}:
[ivy:resolve] liferay-private: unable to get resource for net/java#jvnet-parent;1: res=/net/java/jvnet-parent/1/jvnet-parent-1.jar: java.net.MalformedURLException: no protocol: /net/java/jvnet-parent/1/jvnet-parent-1.jar
[ivy:resolve] liferay-private: unable to get resource for net/java#jvnet-parent;1: res=/net/java/jvnet-parent/1/jvnet-parent-1.pom: java.net.MalformedURLException: no protocol: /net/java/jvnet-parent/1/jvnet-parent-1.pom
[ivy:resolve] liferay-private: unable to get resource for javax/servlet#javax.servlet-api;3.0.1: res=/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.pom: java.net.MalformedURLException: no protocol: /javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.pom
[ivy:resolve] :: javax.servlet.jsp#jsp-api;2.1: several problems occurred while resolving dependency: javax.servlet.jsp#jsp-api;2.1 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for javax/servlet/jsp#jsp-api;2.1: res=/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1-javadoc.jar: java.net.MalformedURLException: no protocol: /javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1-javadoc.jar
[ivy:resolve] liferay-private: unable to get resource for javax/servlet/jsp#jsp-api;2.1: res=/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom: java.net.MalformedURLException: no protocol: /javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.pom
[ivy:resolve] :: javax.mail#mail;1.4: several problems occurred while resolving dependency: javax.mail#mail;1.4 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for javax/mail#mail;1.4: res=/javax/mail/mail/1.4/mail-1.4-javadoc.jar: java.net.MalformedURLException: no protocol: /javax/mail/mail/1.4/mail-1.4-javadoc.jar
[ivy:resolve] liferay-private: unable to get resource for javax/mail#mail;1.4: res=/javax/mail/mail/1.4/mail-1.4.pom: java.net.MalformedURLException: no protocol: /javax/mail/mail/1.4/mail-1.4.pom
[ivy:resolve] :: com.liferay#net.sf.jargs;1.0: several problems occurred while resolving dependency: com.liferay#net.sf.jargs;1.0 {default=[default]}:
[ivy:resolve] liferay-private: unable to get resource for com/liferay#net.sf.jargs;1.0: res=/com/liferay/net.sf.jargs/1.0/net.sf.jargs-1.0-sources.jar: java.net.MalformedURLException: no protocol: /com/liferay/net.sf.jargs/1.0/net.sf.jargs-1.0-sources.jar
[ivy:resolve] liferay-private: unable to get resource for com/liferay#net.sf.jargs;1.0: res=/com/liferay/net.sf.jargs/1.0/net.sf.jargs-1.0.pom: java.net.MalformedURLException: no protocol: /com/liferay/net.sf.jargs/1.0/net.sf.jargs-1.0.pom
[ivy:resolve] :: com.thoughtworks.qdox#qdox;1.12.1: several problems occurred while resolving dependency: com.thoughtworks.qdox#qdox;1.12.1 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.codehaus#codehaus-parent;4 {}:
[ivy:resolve] liferay-private: unable to get resource for org/codehaus#codehaus-parent;4: res=/org/codehaus/codehaus-parent/4/codehaus-parent-4.jar: java.net.MalformedURLException: no protocol: /org/codehaus/codehaus-parent/4/codehaus-parent-4.jar
[ivy:resolve] liferay-private: unable to get resource for org/codehaus#codehaus-parent;4: res=/org/codehaus/codehaus-parent/4/codehaus-parent-4.pom: java.net.MalformedURLException: no protocol: /org/codehaus/codehaus-parent/4/codehaus-parent-4.pom
[ivy:resolve] liferay-private: unable to get resource for com/thoughtworks/qdox#qdox;1.12.1: res=/com/thoughtworks/qdox/qdox/1.12.1/qdox-1.12.1.pom: java.net.MalformedURLException: no protocol: /com/thoughtworks/qdox/qdox/1.12.1/qdox-1.12.1.pom
[ivy:resolve] :: xalan#serializer;2.7.1: several problems occurred while resolving dependency: xalan#serializer;2.7.1 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache#apache;4 {}:
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.jar: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.jar
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.pom: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.pom
[ivy:resolve] liferay-private: unable to get resource for xalan#serializer;2.7.1: res=/xalan/serializer/2.7.1/serializer-2.7.1.pom: java.net.MalformedURLException: no protocol: /xalan/serializer/2.7.1/serializer-2.7.1.pom
[ivy:resolve] :: xalan#xalan;2.7.1: several problems occurred while resolving dependency: xalan#xalan;2.7.1 {default=[default]}:
[ivy:resolve] several problems occurred while resolving dependency: org.apache#apache;4 {}:
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.jar: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.jar
[ivy:resolve] liferay-private: unable to get resource for org/apache#apache;4: res=/org/apache/apache/4/apache-4.pom: java.net.MalformedURLException: no protocol: /org/apache/apache/4/apache-4.pom
[ivy:resolve] liferay-private: unable to get resource for xalan#xalan;2.7.1: res=/xalan/xalan/2.7.1/xalan-2.7.1.pom: java.net.MalformedURLException: no protocol: /xalan/xalan/2.7.1/xalan-2.7.1.pom
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\portlets\build.xml:5: The following error occurred while executing this line:
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\build-common-plugins.xml:5: The following error occurred while executing this line:
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\build-common.xml:57: The following error occurred while executing this line:
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\build-common-ivy.xml:570: The following error occurred while executing this line:
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\build-common-ivy.xml:173: The following error occurred while executing this line:
E:\WORK\LIFERAY\TRAININGS\com.liferay.portal.plugins.sdk-7.0\build-common-ivy.xml:202: impossible to resolve dependencies:
resolve failed - see output for details
Total time: 1 minute 58 seconds
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 need to build fat executable jar. Using IntelliJ IDEA, scala (2.12.4), sbt (1.1.1) on Windows behind the proxy. Also, using http://babun.github.io/.
Succeeded so far, except building fat jar using sbt-assembly.
created project/assembly.sbt
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
created project/plugins.sbt
resolvers += Resolver.url("bintray-sbt-plugins", url("http://dl.bintray.com/sbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
resolvers += Resolver.sonatypeRepo("releases")
It looks like it is able to grab com.eed3si9n:sbt-assembly:0.14.6, but probably fails with it's dependencies, errors are:
::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.pantsbuild#jarjar;1.6.5: Resolution failed several times for dependency: org.pantsbuild#jarjar;1.6.5 {compile=[default(compile)]}::
[warn] typesafe-ivy-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.typesafe.com/typesafe/ivy-releases/org.pantsbuild/jarjar/1.6.5/ivys/ivy.xml: java.io.IOException: Failed to authenticate with proxy
[warn] sbt-plugin-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.pantsbuild/jarjar/1.6.5/ivys/ivy.xml: java.io.IOException: Failed to authenticate with proxy
[warn] typesafe-ivy-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.typesafe.com/typesafe/ivy-releases/org.pantsbuild/jarjar/1.6.5/jars/jarjar.jar: java.io.IOException: Failed to authenticate with proxy
[warn] sonatype-releases: unable to get resource for org/pantsbuild#jarjar;1.6.5: res=https://oss.sonatype.org/content/repositories/releases/org/pantsbuild/jarjar/1.6.5/jarjar-1.6.5.pom: java.io.IOException: Failed to authenticate with proxy
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
[warn] org.pantsbuild:jarjar:1.6.5
[warn] +- com.eed3si9n:sbt-assembly:0.14.6 (scalaVersion=2.12, sbtVersion=1.0) (I:\Scala\SealJils\project\assembly.sbt#L1-2)
[warn] +- default:sealjils-build:0.1.0-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: org.pantsbuild#jarjar;1.6.5: Resolution failed several times for dependency: org.pantsbuild#jarjar;1.6.5 {compile=[default(compile)]}::
[error] typesafe-ivy-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.typesafe.com/typesafe/ivy-releases/org.pantsbuild/jarjar/1.6.5/ivys/ivy.xml: java.io.IOException: Failed to authenticate with proxy
[error] sbt-plugin-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.pantsbuild/jarjar/1.6.5/ivys/ivy.xml: java.io.IOException: Failed to authenticate with proxy
[error] typesafe-ivy-releases: unable to get resource for org.pantsbuild#jarjar;1.6.5: res=https://repo.typesafe.com/typesafe/ivy-releases/org.pantsbuild/jarjar/1.6.5/jars/jarjar.jar: java.io.IOException: Failed to authenticate with proxy
[error] sonatype-releases: unable to get resource for org/pantsbuild#jarjar;1.6.5: res=https://oss.sonatype.org/content/repositories/releases/org/pantsbuild/jarjar/1.6.5/jarjar-1.6.5.pom: java.io.IOException: Failed to authenticate with proxy
At the same time, I'm able to access following link via my Company browser, hence going via proxy:
https://oss.sonatype.org/content/repositories/releases/org/pantsbuild/jarjar/1.6.5/
Issue was resolved by downgrading sbt version to 0.13.17. Also, it was enough to just have following file included:
project/assembly.sbt
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
I am usig Intellij IDEA 2017.1.5 with Scala plugin installed. I created my first Scala project with SBT. I get following error while importing SBT project:
:: problems summary :: :::: WARNINGS problem while downloading module
descriptor:
https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom:
Read timed out (19336ms)
module not found:
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4
==== local: tried
C:\Users\Kacper\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\ivys\ivy.xml
-- artifact org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4!ivy.jar:
C:\Users\Kacper\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\jars\ivy.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
::
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4:
not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved
dependency:
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4:
not found Error during sbt execution: Error retrieving required
libraries (see C:\Users\Kacper\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.14 Java HotSpot(TM) 64-Bit Server
VM warning: ignoring option MaxPermSize=384M; support was removed in
8.0
I get the same error while getting sbt 0.13.15 and 0.13.14.
The "big-data-plugin" is the plugin for Kettle, now I need to build it with the source code, so I get the source from the 1, but when I build it use ant, it failed. The detail info is:
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 40 | 10 | 0 | 2 || 35 | 0 |
---------------------------------------------------------------------
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] io problem while parsing ivy file: http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.pom: Impossible to load parent for file:/C:/Users/***/.ivy2/cache/org.apache.oozie/oozie-core/ivy-3.1.3-incubating.xml.original. Parent=org.apache.oozie#oozie-main;3.1.3-incubating
[ivy:resolve] module not found: org.apache.oozie#oozie-core;3.1.3-incubating
[ivy:resolve] ==== local: tried
[ivy:resolve] C:\Users\***\.ivy2\local\org.apache.oozie\oozie-main\3.1.3-incubating\ivys\ivy.xml
[ivy:resolve] -- artifact org.apache.oozie#oozie-main;3.1.3-incubating!oozie-main.jar:
[ivy:resolve] C:\Users\***\.ivy2\local\org.apache.oozie\oozie-main\3.1.3-incubating\jars\oozie-main-3.1.3-incubating.jar
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/repo/org.apache.oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.ivy.xml
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-main;3.1.3-incubating!oozie-main.jar:
[ivy:resolve] http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.jar
[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-core;3.1.3-incubating!oozie-core.jar:
[ivy:resolve] http://repo1.maven.org/maven2/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.jar
[ivy:resolve] ==== java-net-maven2: tried
[ivy:resolve] http://download.java.net/maven/2/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-core;3.1.3-incubating!oozie-core.jar:
[ivy:resolve] http://download.java.net/maven/2/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.jar
[ivy:resolve] ==== cloudera: tried
[ivy:resolve] https://repository.cloudera.com/content/groups/cdh-build/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-core;3.1.3-incubating!oozie-core.jar:
[ivy:resolve] https://repository.cloudera.com/content/groups/cdh-build/org/apache/oozie/oozie-core/3.1.3-incubating/oozie-core-3.1.3-incubating.jar
[ivy:resolve] io problem while parsing ivy file: http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.pom: Impossible to load parent for file:/C:/Users/***/.ivy2/cache/org.apache.oozie/oozie-client/ivy-3.1.3-incubating.xml.original. Parent=org.apache.oozie#oozie-main;3.1.3-incubating
[ivy:resolve] module not found: org.apache.oozie#oozie-client;3.1.3-incubating
[ivy:resolve] ==== local: tried
[ivy:resolve] C:\Users\***\.ivy2\local\org.apache.oozie\oozie-main\3.1.3-incubating\ivys\ivy.xml
[ivy:resolve] -- artifact org.apache.oozie#oozie-main;3.1.3-incubating!oozie-main.jar:
[ivy:resolve] C:\Users\***\.ivy2\local\org.apache.oozie\oozie-main\3.1.3-incubating\jars\oozie-main-3.1.3-incubating.jar
[ivy:resolve] ==== pentaho-ivy: tried
[ivy:resolve] http://repo.pentaho.org/artifactory/repo/org.apache.oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.ivy.xml
[ivy:resolve] ==== pentaho-mvn: tried
[ivy:resolve] http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-main;3.1.3-incubating!oozie-main.jar:
[ivy:resolve] http://repository.pentaho.org/artifactory/repo/org/apache/oozie/oozie-main/3.1.3-incubating/oozie-main-3.1.3-incubating.jar
[ivy:resolve] ==== public: tried
[ivy:resolve] http://repo1.maven.org/maven2/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-client;3.1.3-incubating!oozie-client.jar:
[ivy:resolve] http://repo1.maven.org/maven2/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.jar
[ivy:resolve] ==== java-net-maven2: tried
[ivy:resolve] http://download.java.net/maven/2/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-client;3.1.3-incubating!oozie-client.jar:
[ivy:resolve] http://download.java.net/maven/2/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.jar
[ivy:resolve] ==== cloudera: tried
[ivy:resolve] https://repository.cloudera.com/content/groups/cdh-build/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.pom
[ivy:resolve] -- artifact org.apache.oozie#oozie-client;3.1.3-incubating!oozie-client.jar:
[ivy:resolve] https://repository.cloudera.com/content/groups/cdh-build/org/apache/oozie/oozie-client/3.1.3-incubating/oozie-client-3.1.3-incubating.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: org.apache.oozie#oozie-core;3.1.3-incubating: not found
[ivy:resolve] :: org.apache.oozie#oozie-client;3.1.3-incubating: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
can anybody help me, please?
I searched the cloudera repository and could not find a "3.1.3-incubating" revision for the oozie-core jar:
https://repository.cloudera.com/artifactory/webapp/search/artifact?1&q=oozie-cor
So, I suggest using a dynamic revision in ivy as follows:
diff --git a/build.properties b/build.properties
..
..
-dependency.apache-oozie.revision=3.1.3-incubating
+dependency.apache-oozie.revision=[3.1.3,)
..
"[3.1.3,)" means any version >= 3.1.3. Running the build, ivy will find:
[ivy:resolve] [4.0.0-cdh5.0.0-SNAPSHOT] org.apache.oozie#oozie-core;[3.1.3,)
Hope this helps.
I am working on ubuntu OS,I have started working on pentaho-BI using eclipse..
Just started with this step by step configuration as mentioned in this link:pentaho startup
I have checked out bi-project
but i found problem while Configuring a Tomcat Server in Eclipse using Sysdeo Eclipse Tomcat Launcher...3rd step of given link:Configuring a Tomcat Server in Eclipse using Sysdeo Eclipse Tomcat Launcher..
some IVY get resolved but then error in building and build failed...:(
the output is as shown below:
---------------------------------------------------------------------
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve] module not found: pentaho#pentaho-open-admin-console-package;2.0.0-SNAPSHOT
[ivy:resolve] ==== local: tried
[ivy:resolve] /home/hardik/.ivy2/local/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/ivys/ivy.xml
[ivy:resolve] -- artifact pentaho#pentaho-open-admin-console-package;2.0.0-
SNAPSHOT!pentaho-open-admin-console-package.jar:
[ivy:resolve] /home/hardik/.ivy2/local/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/jars/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.jar
[ivy:resolve] ==== shared-ivy: tried
[ivy:resolve] ttp://repo.pentaho.org/artifactory/repo/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.ivy.xml
[ivy:resolve] ==== shared-mvn: tried
[ivy:resolve] ttp://repo.pentaho.org/artifactory/repo/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho#pentaho-open-admin-console-package;2.0.0-SNAPSHOT!pentaho-open-admin-console-package.jar:
[ivy:resolve] ttp://repo.pentaho.org/artifactory/repo/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.jar
[ivy:resolve] ==== public: tried
[ivy:resolve] ttp://repo1.maven.org/maven2/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.pom
[ivy:resolve] -- artifact pentaho#pentaho-open-admin-console-package;2.0.0-SNAPSHOT!pentaho-open-admin-console-package.jar:
[ivy:resolve] ttp://repo1.maven.org/maven2/pentaho/pentaho-open-admin-console-package/2.0.0-SNAPSHOT/pentaho-open-admin-console-package-2.0.0-SNAPSHOT.jar
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: UNRESOLVED DEPENDENCIES ::
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve] :: pentaho#pentaho-open-admin-console-package;2.0.0-SNAPSHOT: not found
[ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/home/hardik/workspace/bi-platform-v2/branches/2.0/bi-platform-build/dev_build.xml:84: The following error occurred while executing this line:
/home/hardik/workspace/bi-platform-v2/branches/2.0/bi-platform-assembly/common.xml:194: impossible to resolve dependencies:
resolve failed - see output for details
Total time: 27 seconds
As i cant put more than 2 links, i have removed h from all http, its not a mistake..
Doesn't look like version 2.0-SNAPSHOT is available from the repository. See:
http://repo.pentaho.org/artifactory/repo/pentaho/pentaho-open-admin-console-package/
I'd suggest editing the project's ivy.xml file and revising the revision. Perhaps use "2.0.0.stable" instead?