ivy

Publishing multiple artifacts to maven repository using ivy

落花浮王杯 提交于 2019-11-27 08:15:28
问题 I published few atifacts of a component to a maven repository using different configurations of ivy. As an example, I took the following way (Ivy Documentation) to do the same.. <ivy-module version="1.0"> <info organisation="org.apache" module="filter"/> <configurations> <conf name="api" description="only provide filter framework API"/> <conf name="homemade-impl" extends="api" description="provide a home made implementation of our api"/> </configurations> <publications> <artifact name="filter

Ivy - Can't download because POM file and the JAR file name aren't matching patterns

穿精又带淫゛_ 提交于 2019-11-27 07:22:15
问题 me again with IVY. The problem now is that the ivy file the POM file to the JSON library is called: http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.4/json-lib-2.4.pom json-lib-2.4.pom But the JAR file is called: json-lib-2.4-jdk13.jar The -jdk13 makes it so that the pom file cannot be found. Ergo it can't download the JAR file because it says this: == resolving dependencies egencia#com.egencia.test.framework;working@ESFVMVI-750->net.sf.json-lib#json-lib;2.4 [default->compile] [ivy

where do you put ivysettings.xml?

天大地大妈咪最大 提交于 2019-11-27 02:44:51
问题 I'm trying to learn how to use ivy and would like to setup a local repository of the .jar files I've downloaded. Where do you put the ivysettings.xml file? Does it go in the ant library directory? 回答1: If you'll allow me to clarify, the ivysettings.xml is the configuration of your development environment as a whole. It is not related to the repository items themselves. Generally speaking, ivysettings.xml should sit alongside your main build.xml , so that when you put <ivy:settings file=

Ivy fails to resolve a dependency, unable to find cause

£可爱£侵袭症+ 提交于 2019-11-27 00:57:15
While using ivy:retrieve , it fails to resolve the dependency that should be downloaded. The output looks like this: Buildfile: C:\Users\Simon\workspace\apollo\build.xml init: resolve: BUILD FAILED C:\Users\Simon\workspace\apollo\build.xml:42: Problem: failed to create task or type antlib:org.apache.ivy.ant:retrieve Cause: The name is undefined. Action: Check the spelling. Action: Check that any custom tasks/types have been declared. Action: Check that any <presetdef>/<macrodef> declarations have taken place. No types or tasks have been defined in this namespace yet This appears to be an

Unresolved dependency SBT 0.13.0 after update

血红的双手。 提交于 2019-11-26 22:49:28
问题 Update SBT to 0.13.0: I have a couple of projects written with Scala 2.10.2 and build with sbt 0.12.4. As my OS is Ubuntu I used the SBT.deb package for installation of sbt 0.12.4. Everything fine. I built my projects with sbt. Yesterday I wanted to update sbt to version 0.13.0. I downloaded and installed the new .deb package. The projects configuration has not been changed. The failure: When runnging SBT after the update I get this failure: $ sbt Loading /usr/share/sbt/bin/sbt-launch-lib

using IVY dependencies manager programmatically

泄露秘密 提交于 2019-11-26 21:39:47
问题 i need help using IVY as dependencies manager my application need to load plug-ins at RUN-TIME means while the core application is running ,user can request for a new plug-in and install them , i wish to manage all installed plug-ins using the core application DB. i want to get a pom from my plug-ins server (or some other descriptor), and ask IVY to tell me what are the dependencies OR let IVY install the plug-in and dependencies , based on the current state of my application. ( what do i

Gradle - getting the latest release version of a dependency

风流意气都作罢 提交于 2019-11-26 19:34:17
What would be the easiest way to tell Gradle the following: Retrieve 'junit' dependency and take its latest 'release' version. Managing Maven and Ivy repositories is sort of new to me. I tried the following steps and they result in Could not resolve dependency ... error: Write compile "junit:junit:latest.release" with repositories set to only mavenCentral() (however, it works if I say "junit:junit:4.10"). Write compile "junit:junit:latest.release" with repository set the following way: ivy { // I also tried 'http://maven.org' and other possible variants. url "http://repo1.maven.org" layout

how do I get sbt to use a local maven proxy repository (Nexus)?

北慕城南 提交于 2019-11-26 19:30:28
I've got an sbt (Scala) project that currently pulls artifacts from the web. We'd like to move towards a corporate-standardized Nexus repository that would cache artifacts. From the Nexus documentation, I understand how to do that for Maven projects. But sbt obviously uses a different approach. (I understand Ivy is involved somehow, but I've never used it and don't understand how it works.) How do I tell sbt and/or the underlying Ivy to use the corporate Nexus repository system for all dependencies? I'd like the answer to use some sort of project-level configuration file, so that new clones of

Automate ivy revision increase for all my projects using ant script

孤街浪徒 提交于 2019-11-26 18:34:14
问题 i own 20 ivy projects out of 50 other projects(owned by others), i use some versions of their binaries in my projects. Issue is during release, i have to manually increase the version of my 20 ivy files, checkin the files and build the binaries. which is time consuming. though eclipse find and replace helps. steps to automate using ant: 1) checkout the ivy files alone. 2) using scripts/logic to change the version for only my modules/my modules dependency with one another. 3) check in the

Want to upgrade project from Angular v5 to Angular v6

大憨熊 提交于 2019-11-26 18:11:43
As Angular 6 is here, I want to upgrade or move my angular 5 client application to angular 6, but I'm not getting any tutorial or anything which can guide me through. According to me I just need to run a new Angular CLI and then have to move my older source to new project. I read the Angular 6 is using a new renderer called Ivy. Will I have to change my project according to Ivy? Upgrade from Angular v6 to Angular v7 Version 7 of Angular has been released Official Angular blog link . Visit official angular update guide https://update.angular.io for detailed information. These steps will work