ivy

Online dependence not found in .ivy2 file and not found by Intellij Idea

混江龙づ霸主 提交于 2019-12-02 04:06:18
I have an IntelliJ Idea project that uses external libraries. I cannot find one of this libraries in the ~/.ivy2/cache directory. The sbt file looks like: name := "myproject" scalaVersion := "2.11.8" lazy val toImport = RootProject(uri("someuri#hash")) lazy val root = (project in file(".")).dependsOn(toImport) IntelliJ Idea underlines the toImport line saying that it cannot find it. How can I solve this? If you mean the RootProject is highlighted red, it seem you've run into a problem with how IDEA imports transitive modules. I've reproduced this with the information from your other question

In Grails, how do I specify jars needed by an ivy resolver?

*爱你&永不变心* 提交于 2019-12-02 03:56:31
In a grails project I have added a custom ivy resolver per the reference docs, http://www.grails.org/doc/latest/guide/single.html#12.2%20Plugin%20Repositories . However, this resolver requires jsch and and some other jars. How can I put them on the project's build classpath so that ivy will use them? This is my BuildConfig.groovy grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.war.file = "target/${appName}-${appVersion}.war" //Configure resolver def sshResolver = new org

Grails: working offline with snapshot dependencies

浪子不回头ぞ 提交于 2019-12-02 03:17:01
I am using some plugins which depend on snapshot versions of other plugins. As I understand, Ivy tries to fetch the newest version of these plugins every time you start grails. If Ivy does not succeed, grails will not start :-( As I like to develop offline, I am now looking for a way which lets me avoid this behaviour... You could pull them down and store them on your machine using a local repository and comment out any remote repositories. Here is some documentation. Scroll down to "local resolvers" 来源: https://stackoverflow.com/questions/8391897/grails-working-offline-with-snapshot

How to dowload multiple Maven dependencies in Ivy with different classifiers?

点点圈 提交于 2019-12-02 02:45:15
问题 I am trying to depend on Neo4j server jar and Neo4j server jar - static-web.jar in Ivy. I am trying something like <ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"> <info organisation="org.jimwebber" module="neo4j-koans"/> <dependencies> <dependency org="org.springframework.data" name="spring-data-neo4j" rev="1.0.0.RELEASE"> <exclude module="jms"/> <exclude module="jmxtools"/> <exclude module="jmxri"/> <exclude org="org.slf4j" name="slf4j-log4j12"/> </dependency>

How to dowload multiple Maven dependencies in Ivy with different classifiers?

狂风中的少年 提交于 2019-12-02 00:33:36
I am trying to depend on Neo4j server jar and Neo4j server jar - static-web.jar in Ivy. I am trying something like <ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"> <info organisation="org.jimwebber" module="neo4j-koans"/> <dependencies> <dependency org="org.springframework.data" name="spring-data-neo4j" rev="1.0.0.RELEASE"> <exclude module="jms"/> <exclude module="jmxtools"/> <exclude module="jmxri"/> <exclude org="org.slf4j" name="slf4j-log4j12"/> </dependency> <dependency org="org.aspectj" name="aspectjrt" rev="1.6.11.RELEASE"/> <dependency org="org.aspectj" name=

what does the little arrow -> do in the ivy dependency section?

不想你离开。 提交于 2019-12-01 23:24:45
i'm using ivy and the firm i work at has a few fun little ivy and ant tutorials. Each tutorial helpfully completely skirts around what the arrow does in an ivy build xml file, when used in the dependencies section. So, given this setup: <configurations> <conf name = "runtime" /> <conf name = "build-tests" extends="runtime" /> </configurations> ... <dependencies> ... <dependency org="blah" name="junit" rev="default" conf="build-tests->runtime"/> <dependency org="blahblah" name="xmlutil" rev="default" conf="build-tests->testing"/> <dependency org="blahblahblah" name="slf4j" rev="default" conf=

Apache Ivy: resolving dependencies embedded in an installer

左心房为你撑大大i 提交于 2019-12-01 19:27:42
I have a problem with a build where I have to resolve non-standard artifacts through Apache Ivy. Problem: I have dependencies on two artifacts (a.jar and a-lib.jar). The two dependencies come only as part of a single installer (a_installer.jar). The installer can be downloaded, the embedded artifacts themselves not. It's possible to manipulate the installer to unpack the needed dependencies. Requirements: I have to resolve/download the artifacts during the build (I cannot keep the installer or the extracted artifacts with my code). I cannot use a repository to store the extracted artifacts.

Apache IVY error message? : impossible to get artifacts when data has not been loaded

半腔热情 提交于 2019-12-01 15:08:07
hey all, I'm getting the following error when trying to build a project via SBT in scala [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = log4j#log4j;1.2.14 I don't see any of my projects referencing 1.2.14, nor is it in my .m2 or .ivy repositories. Not sure where to look for this one a full error dump is here: http://pastebin.com/pM7NUhY0 thanks Seems that this is related to IVY-987 and should be fixed in ivy 2.1.0-RC1. I saw this recently with a junit dependency and it kind of

Apache IVY error message? : impossible to get artifacts when data has not been loaded

徘徊边缘 提交于 2019-12-01 13:58:59
问题 hey all, I'm getting the following error when trying to build a project via SBT in scala [info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = log4j#log4j;1.2.14 I don't see any of my projects referencing 1.2.14, nor is it in my .m2 or .ivy repositories. Not sure where to look for this one a full error dump is here: http://pastebin.com/pM7NUhY0 thanks 回答1: Seems that this is related

Apache Ivy: Dependency Ivy FIles

雨燕双飞 提交于 2019-12-01 08:53:14
Threequick questions regarding Apache Ivy: (1) Throughout our projects, we use over 100 "common" JARs (log4j, junit, commons-cli, etc.). Do we have to write the ivy.xml ("module descriptor") files for all of them, or are there generic ones I can find in the ibiblio (or other) repo? To force your users to write their own ivy files for each dependency sounds pretty cruel and unusual to me. (2) Are ivy files even required for a particular JAR, or does Ivy have defaults for when it looks in a repo for a dependency that doesn't have a corresponding ivy file? (3) Is it possible to have all my