dependency-management

Apache Ivy and configurations

百般思念 提交于 2019-12-11 15:07:27
问题 I'm using Ivy to manage my dependencies, with some problems on provided jars This is my ivy.xml file <configurations> <conf name="local" visibility="private" /> <conf name="compile" description="used for building" /> <conf name="test" extends="compile" description="used for testing" /> <conf name="runtime" description="used for running" /> <conf name="master" description="used for publishing" /> <conf name="default" extends="master, runtime" /> </configurations> <dependencies> <dependency org

What is the meaning of a null reference in composer.lock file?

十年热恋 提交于 2019-12-11 13:03:40
问题 As far as I understand, Composer writes the list of the exact versions it installed into the composer.lock file. The package reference attribute is used to store a specific commit number. In some circumstances I see null values for reference attribute in my composer.lock file. When does it happen? And what does it mean? Thank you 回答1: By searching an example to paste to respond to @xabbuh's question I noticed that the null reference is always related to a "type": "zip" package, like shown

Fitnesse Maven Classpath plugin cannot resolve remote dependencies

 ̄綄美尐妖づ 提交于 2019-12-11 13:03:11
问题 I am using the Fitnesse Maven classpath plugin that allows Fitnesse to resolve the classpath using the Maven repository. The plugin works, but it does not seem to be able to resolve dependencies that are stored in my remote repository. It can resolve a snapshot if it's in my local repository but not remotely. If I run a mvn install (from outside Fitnesse) then it has no problems finding the dependencies so that suggests my settings.xml is set up correctly. I've debugged the plugin but am

Cannot reference plugin classes grails 2.4.4

て烟熏妆下的殇ゞ 提交于 2019-12-11 11:00:04
问题 I have added the following entry to BuildConfig.groovy: compile ":rest-client-builder:2.1.1" The plugin supposedly installed correctly and the project compiled. I am trying to import the RestBuilder class in a controller but the class name cannot be resolved? import grails.plugins.rest.client.RestBuilder Groovy:unable to resolve class grails.plugins.rest.client.RestBuilder I have no spent an hour and a half trying to figure out why this is not working. I am not sure what else to do or what

How to fix 'pod update' getting stuck on a private pod?

我是研究僧i 提交于 2019-12-11 09:44:02
问题 When I try to run 'pod update', execution hangs on the download of my private library: Update all pods Analyzing dependencies Pre-downloading: `Obfuscated-Library` from `https://obfuscated.unfuddle.com/git/obfuscated_mvl/`, branch `develop` I’ve let it hang for about 10 minutes before Ctrl-C ’ing to cancel it. What on earth is going on? Here is some information about my private pod Private Library .podspec # # Be sure to run `pod spec lint Obfuscated-Library.podspec' to ensure this is a #

Ivy can't resolve log4j from Maven Central

谁都会走 提交于 2019-12-11 07:37:56
问题 New to Apache Ivy, and can't get it to resolve the latest log4j jar from Maven Central. I'm using IvyDE to manage all of my dependencies and using all of its defaults, which I believe configure it to use either the Maven repo or Ibiblio. This link takes you to Maven's log4j page. From here I am just using the Apache Ivy <dependency> tag provided on that page: <dependency org="log4j" name="log4j" rev="1.2.16" > <artifact name="log4j" type="bundle" /> </dependency> When I add this to my ivy.xml

How to resolve Could not find artifact commons-math3:commons-math3:jar:3.4.1

大兔子大兔子 提交于 2019-12-11 06:19:20
问题 I have a project that executes a JMeter tests suite though maven. I use com.lazerycode.jmeter s jmeter-maven-plugin. With version 2.0.3 my project runs well. but when I update teh plugins version to 2.1.0 the following error is thrown. [ERROR] Failed to execute goal com.lazerycode.jmeter:jmeter-maven-plugin:2.1.0:configure (configure) on project my-regression: Could not find artifact commons-math3:commons-math3:jar:3.4.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1] I know by

JavaFX: Latest version of javafx-runtime

孤街浪徒 提交于 2019-12-11 05:05:23
问题 What is the latest version of javafx runtime? I tried to add the following dependency: <dependency> <groupId>com.oracle</groupId> <artifactId>javafx-runtime</artifactId> <version>2.2.25</version> </dependency> I get the following error while saving my pom.xml. Missing artifact com.oracle:javafx-runtime:jar:2.2.25 I tried updating the project dependencies but that did not help. Any pointers will be helpful. 回答1: Current Version of JavaFX - 10/3/2013 The current version of JavaFX is JavaFX 2.2

How do you copy Maven dependencies (jar files) from one Java project to another Dynamic web project's WEB-INF/lib folder?

折月煮酒 提交于 2019-12-11 04:16:03
问题 I am trying to use a Java project called "Search" in my another Web project. I exported the Search project as a jar and added to my Web project's WEB-INF/lib folder. The problem is that the Search projects has many dependencies for Accumulo, Hadoop, Zookeeper etc. So how can I copy these maven dependencies/jar files from the Search project to my Web apps' WEB-INF/lib folder so I can get everything working? 回答1: Since you are using Maven, all you need to do is to add the "Search" project as a

Provided dependency failing to provide

邮差的信 提交于 2019-12-11 03:03:52
问题 I got a Scalding (a hadoop abstraction layer in Scala) project that I'm trying to build using Gradle. Looks like Hadoop became a provided dependency in latest releases and it requires some workaround. So I patched my build.gradle script like so: apply plugin: 'scala' apply plugin: 'idea' configurations { provided } sourceSets { main { compileClasspath += configurations.provided } } repositories { mavenLocal() mavenCentral() maven{ url 'http://conjars.org/repo/' } } ext.cascadingVersion = '2.1