Can not built "big-data-plugin" project - plugins

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.

Related

Unable de create a Liferay 7 - JSF based plugin

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

Setting up Akka project in Eclipse

I am trying to create a new Akka project in Eclipse. I followed the steps here
But I am receiving errors about Akka dependencies not being found.
Would appreciate your help. This is the output.
C:\Users\*\workspace\akka-project-in-scala>sbt
[info] Loading global plugins from C:\Users\*\.sbt\plugins
[info] Loading project definition from C:\Users\*\workspace\akka-project-in-scala\project
[info] Set current project to Akka Project In Scala (in build file:/C:/Users/*/workspace/akka-project-in-scala/)
> scala-version
[info] 2.10.1
> eclipse
[info] About to create Eclipse project files for your project(s).
Getting Scala 2.10.1 ...
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.1/scala-compiler-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.1!scala-compiler.jar (45634ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.1/scala-library-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.10.1!scala-library.jar (21811ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.10.1/scala-reflect-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#scala-reflect;2.10.1!scala-reflect.jar (10590ms)
downloading http://repo1.maven.org/maven2/org/scala-lang/jline/2.10.1/jline-2.10.1.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.10.1!jline.jar (1691ms)
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
5 artifacts copied, 0 already retrieved (24386kB/71ms)
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[info] Updating {file:/C:/Users/*/workspace/akka-project-in-scala/}akka-project-in-scala...
[info] Resolving org.scala-lang#scala-library;2.10.1 ...
[info] Resolving com.typesafe.akka#akka-actor;2.1.2 ...
[warn] module not found: com.typesafe.akka#akka-actor;2.1.2
[warn] ==== local: tried
[warn] C:\Users\*\.ivy2\local\com.typesafe.akka\akka-actor\2.1.2\ivys\ivy.xml
[warn] ==== Typesafe Releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.akka#akka-actor;2.1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.akka#akka-actor;2.1.2: not found
[error] Could not create Eclipse project files:
[error] Error evaluating task 'external-dependency-classpath': error
[error] Error evaluating task 'update': error
[error] Error evaluating task 'external-dependency-classpath': error
[error] Error evaluating task 'update': error
>
So this does not work (404): http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor/2.1.2/akka-actor-2.1.2.pom
But this does work: http://repo1.maven.org/maven2/com/typesafe/akka/akka-actor_2.10/2.1.2/akka-actor_2.10-2.1.2.pom
Looking at the g8 template (line 16):
"com.typesafe.akka" % "akka-actor" % "$akka_version$",
I am guessing you need to edit your project/Build.scala so that it says:
"com.typesafe.akka" % "akka-actor_2.10" % "2.1.2",
Let me know if that works.

In pentaho ,during Configuring a Tomcat Server in Eclipse i cant build dev-rebuild file in ant

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?

How to use scala 2.10 trunk with sbt 0.11.0? (Unresolved dependencies)

What's the right way to use sbt with 2.10 trunk? I tried the obvious:
james#James-Moores-iMac:~/workspace/Deleteme3$ cat build.sbt
scalaVersion := "2.10.0-SNAPSHOT"
But that gives:
james#James-Moores-iMac:~/workspace/Deleteme3$ sbt compile
[info] Loading global plugins from /Users/james/.sbt/plugins
[info] Set current project to default-ee38f7 (in build file:/Users/james/workspace/Deleteme3/)
[info] Updating {file:/Users/james/workspace/Deleteme3/}default-ee38f7...
[info] Resolving org.scala-lang#scala-library;2.10.0-SNAPSHOT ...
[warn] module not found: org.scala-lang#scala-library;2.10.0-SNAPSHOT
[warn] ==== local: tried
[warn] /Users/james/.ivy2/local/org.scala-lang/scala-library/2.10.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/Users/james/workspace/Deleteme3/}default-ee38f7/*:update: sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[error] Total time: 1 s, completed Mar 18, 2012 10:39:29 AM
james#James-Moores-iMac:~/workspace/Deleteme3$
Trying the suggestion of the new sbt launcher with -sbt-snapshot fails too:
james#James-Moores-iMac:/tmp/sfasdf$ sbt -sbt-snapshot compile
Detected sbt version 0.12.0-SNAPSHOT
Using /Users/james/.sbt/0.12.0-SNAPSHOT as sbt dir, -sbt-dir to override.
Getting net.java.dev.jna jna 3.2.3 ...
:: retrieving :: org.scala-sbt#boot-jna
confs: [default]
1 artifacts copied, 0 already retrieved (838kB/13ms)
Getting org.scala-sbt sbt 0.12.0-20120319-052150 ...
:: retrieving :: org.scala-sbt#boot-app
confs: [default]
38 artifacts copied, 0 already retrieved (7712kB/159ms)
Getting Scala 2.9.1 (for sbt)...
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (19939kB/426ms)
[info] Set current project to wand (in build file:/private/tmp/sfasdf/)
Getting Scala 2.10.0-SNAPSHOT ...
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-compiler/2.10.0-SNAPSHOT/scala-compiler-2.10.0-20120319.161232-290.jar ...
[SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.0-SNAPSHOT!scala-compiler.jar (28525ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-20120319.161232-293.jar ...
[SUCCESSFUL ] org.scala-lang#scala-library;2.10.0-SNAPSHOT!scala-library.jar (16869ms)
downloading http://scala-tools.org/repo-snapshots/org/scala-lang/jline/2.10.0-SNAPSHOT/jline-2.10.0-20120319.161232-290.jar ...
[SUCCESSFUL ] org.scala-lang#jline;2.10.0-SNAPSHOT!jline.jar (1674ms)
:: retrieving :: org.scala-sbt#boot-scala
confs: [default]
4 artifacts copied, 0 already retrieved (21204kB/91ms)
[info] Updating {file:/private/tmp/sfasdf/}default-59a990...
[info] Resolving org.scala-lang#scala-library;2.10.0-SNAPSHOT ...
[warn] module not found: org.scala-lang#scala-library;2.10.0-SNAPSHOT
[warn] ==== local: tried
[warn] /Users/james/.ivy2/local/org.scala-lang/scala-library/2.10.0-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.0-SNAPSHOT/scala-library-2.10.0-SNAPSHOT.pom
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[error] {file:/private/tmp/sfasdf/}default-59a990/*:update: sbt.ResolveException: unresolved dependency: org.scala-lang#scala-library;2.10.0-SNAPSHOT: not found
[error] Total time: 54 s, completed Mar 20, 2012 7:37:55 AM
You cannot use trunk with SBT 0.11.0, and you'll never be able to do so. Newer SBT versions (snapshots of 0.12) can handle it.
Use this version of the actual sbt script: https://raw.github.com/paulp/sbt-extras/master/sbt
Run with
sbt -sbt-snapshot
Add this to your build.sbt file:
scalaVersion := "2.10.0-SNAPSHOT"
resolvers += Resolver.sonatypeRepo("snapshots")
(added as a new answer to combine a couple answers in one place - but marked Daniel's answer as correct.)

SBT + Lift - Not being able to build with sbteclipse

I just installed SBT 0.10.1.
I'm using Lift 2.4-M3
I can build with Scala 2.9.0-1 but when it tries to search for sbteclipse it just hangs:
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/ivys/ivy.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/jars/sbteclipse_2.9.0-1.jar
[warn] ==== local: tried
[warn] /Users/JP/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/ivys/ivy.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] /Users/JP/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/jars/sbteclipse_2.9.0-1.jar
[warn] ==== Typesafe Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.2/ivys/sbteclipse_2.9.0-1-1.2.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.2/jars/sbteclipse_2.9.0-1-1.2.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.pom
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.pom
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] module not found: com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2
[warn] ==== typesafe-ivy-releases: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/ivys/ivy.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/jars/sbteclipse_2.9.0-1.jar
[warn] ==== local: tried
[warn] /Users/JP/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/ivys/ivy.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] /Users/JP/.ivy2/local/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/1.2/jars/sbteclipse_2.9.0-1.jar
[warn] ==== Typesafe Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.2/ivys/sbteclipse_2.9.0-1-1.2.xml
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo.typesafe.com/typesafe/releases/com.typesafe.sbteclipse/sbteclipse_2.9.0-1/0.10.1/1.2/jars/sbteclipse_2.9.0-1-1.2.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.pom
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://repo1.maven.org/maven2/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.pom
[warn] -- artifact com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2!sbteclipse_2.9.0-1.jar:
[warn] http://scala-tools.org/repo-releases/com/typesafe/sbteclipse/sbteclipse_2.9.0-1/1.2/sbteclipse_2.9.0-1-1.2.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[error] {file:/Users/JP/.sbt/plugins/}default-05868e/*:update: sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse_2.9.0-1;1.2: not found
The steps I made:
Put the sbteclipse build.sbt in ~/.sbt/plugins/
Added scalaVersion := "2.9.0-1" to ~/.sbt/plugins/build.sbt because, for some reason, sbt was always building with Scala 2.8.1
Copy&Paste Lift scala_29/lift_basic to my project root
Added build.sbt to both project root and /project/plugins/ like stated in http://www.assembla.com/spaces/liftweb/wiki/Using_SBT
Changed build.properties sbt.version=0.7.7 to sbt.version=0.10.1
Any ideas on how to have this building properly?
Do I need to add any code from the https://github.com/typesafehub/sbteclipse ?
Thank you.
Just found the solution.
First things first, like Daniel said, you cannot have scalaVersion in ~/.sbt/plugins/build.sbt
Just remove it form there.
Secondly I updated sbteclipse build.sbt from https://github.com/typesafehub/sbteclipse
Thirdly I copied the content from /project/plugins/build.sbt and added it to ~/.sbt/plugins/build.sbt
Finally I cleaned everything from previous builds and ran sbt. It compiled with no errors whatsoever.
You shouldn't have added scalaVersion := "2.9.0-1" to ~/.sbt/plugins/build.sbt. SBT uses Scala 2.8.1 for itself, and that includes any plugins (such as sbteclipse).
You may add that to your project -- as in build.sbt in the root of your project, not project/plugin/build.sbt --, so that it uses Scala 2.9.0-1, but SBT, and sbteclipse, will continue to use Scala 2.8.1.
Again, SBT and its plugins must use SBT's Scala version, which, at the moment, is 2.8.1.