ivy

Maven POM dependencies to ivy.xml file

不打扰是莪最后的温柔 提交于 2019-12-09 10:57:15
问题 Is there a maven plugin which i can use to convert the maven pom dependencies including transitive dependencies to an ivy.xml file? 回答1: Here's an Ant script <project name="convertPomToIvy" basedir="." default="all" xmlns:ivy="antlib:fr.jayasoft.ivy.ant" xmlns:ac="antlib:net.sf.antcontrib"> <path id="antlib.classpath"> <fileset dir="/path/to/ivy/libs" includes="*.jar"/> </path> <taskdef uri="antlib:fr.jayasoft.ivy.ant" resource="fr/jayasoft/ivy/ant/antlib.xml" classpathref="antlib.classpath"

IllegalStateException: impossible to get artifacts when data has not been loaded for Guava 12.0?

醉酒当歌 提交于 2019-12-09 07:33:17
问题 In a Java Play 2.1.1 app I get the following error: [myproject] $ update [info] Updating {file:/C:/path/myproject/}myproject... [info] Resolving ... [error] impossible to get artifacts when data has not been loaded. IvyNode = com.google.guava#guava;12.0 [error] (*:update) java.lang.IllegalStateException: impossible to get artifacts when data has not been loaded. IvyNode = com.google.guava#guava;12.0 [error] Total time: 230 s, completed 17.05.2013 19:16:41 Build.scala "com.google.guava" %

Jenkins - Using the results of one job, in another job

扶醉桌前 提交于 2019-12-08 19:00:26
问题 I have a job that runs a makefile and generates some files. I then want another job that publishes these files to ivy. I am aware of the clone workspace plugin, but is there any other options? 回答1: You run a Makefile , and you're publishing to Ivy ? Ivy is part of Ant, and is a module that takes advantage of the worldwide Maven repository structure to grab required jarfiles and other dependencies. Don't get me wrong, I've used a local remote Maven repository to publish C/C++ libraries (you

sbt: “impossible to get artifacts when data has not been loaded. IvyNode = org.antlr#stringtemplate;3.2.1”

拟墨画扇 提交于 2019-12-08 18:24:46
问题 This looks like an Ivy problem surfacing via sbt (0.11.2) when I invoke the sbt-eclipse plugin: > eclipse with-source=true ... [info] Resolving com.googlecode.linkedin-j#linkedin-j-core;1.0.416 ... [info] Resolving oauth.signpost#signpost-core;1.2.1.1 ... [info] Resolving net.sf.kxml#kxml2;2.3.0 ... [info] Resolving commons-cli#commons-cli;1.2 ... [info] Resolving javax.servlet#servlet-api;2.5 ... [error] impossible to get artifacts when data has not been loaded. IvyNode = org.antlr

Ivy: Resolving and Publishing JARs Locally

夙愿已清 提交于 2019-12-08 18:00:56
问题 We have been using Ivy for a few months and have our own hosted "Ivy Repo" on a web server here in the office. All of our projects are configured to go to this repo to resolve dependencies. We have several "commons" type JARs that are used by many of our projects. Because of this, and because we only have 1 repo, we're finding a lot of ugly overhead coming from the following scenario: A developer is given a task to add a feature to Project 1 (which depends on a Common jar) During the course

What is the analogue of mvn dependency:tree in Ivy?

谁说胖子不能爱 提交于 2019-12-08 14:37:48
问题 How could one view the dependency tree (along with the transitive dependencies) and the reasoning for them being included, or excluded from the build? In Maven one can do it like: mvn dependency:tree -Ddebug From what I understand, Ivy can produce dependency reports in an XML/HTML format, but it doesn't seem to be the same. (Correct me, if I am wrong). Also, is this kind of thing available from the standalone Ivy (not being invoked from within an Ant context)? Thanks! 回答1: Take a look at <ivy

Resolving ivy dependencies on a proxied repository with gradle leads to missing resources

♀尐吖头ヾ 提交于 2019-12-08 08:24:52
问题 We have a master - slave repository approach set up with nexus pro as a master and a nexus pro as slave, where our snapshot and releases repositories are configured to be proxied (moreover using the smartproxy technology from sonatype nexus). Our project is a multiproject build which is based upon Gradle and Ivy. We use dynamic versions (e.g. 1.+) to define and resolve dependencies. The problem is that an artifact can't be resolved on a proxy, that has correctly beeing published to the master

Apache Ivy: Where do I put all these JARs?

纵饮孤独 提交于 2019-12-08 07:31:00
问题 I'm trying to convince the higher-ups at my work place to migrate to Apache Ivy. I've managed to get a few sandbox projects working using Ivy to power the build, and now I have a greenlight to put together a migration proposal. We all agree on one thing: we don't want to trust JARs that are located in public directories! I know, I know, a bit paranoid, yes. But we'd like to have a setup where we pull a JAR from a trusted source (either downloading it from the open source project itself, or

Use Ivy to get latest X.X.X.Final Hibernate

旧城冷巷雨未停 提交于 2019-12-08 04:50:08
问题 I am using IvyDE in Eclipse and getting unresolved dependency: org.hibernate#hibernate-core;final: not found using code: ivysettings.xml <ivysettings> <settings defaultResolver="maven2"/> <resolvers> <ibiblio name="maven2" m2compatible="true"/> </resolvers> <version-matchers> <pattern-vm> <match revision="final" pattern="\*Final" matcher="regexp"/> </pattern-vm> </version-matchers> </ivysettings> ivy.xml ... <dependency org="org.hibernate" name="hibernate-core" rev="final"/> ... I have tried

ivy 2.3 can't resolve dependencies for jersey-servlet 1.13 (or 1.11, or 1.12)

a 夏天 提交于 2019-12-08 01:59:03
问题 I am trying to include jersey-servlet in my project using ivy. My dependency looks like this: <dependency org="com.sun.jersey" name="jersey-servlet" rev="${jersey.version}"/> ...but I am running into some unresolved dependencies: [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: org.eclipse.persistence#org.eclipse.persistence.moxy;2.3.2: not found [ivy:resolve]