dependencies

Maven ojdbc configuration error

Deadly 提交于 2019-12-24 06:48:40
问题 So I have a project and I try to build it with Maven. One of my dependencies is this: <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> </dependency> I have the Oracle driver installed and I also have it in my local repo. I made sure to put it there manually. And still when I want to build my project I get this error. [ERROR] Failed to execute goal on project bla: Could not resolve dependencies for project dbla:jar:0.0.1-SNAPSHOT: Failure to find com.oracle:ojdbc6:jar

Makefile dependency to reuse existing artifacts to remake common target

混江龙づ霸主 提交于 2019-12-24 06:12:55
问题 This may be simple but I've not been able to find the answer. I'm developing a gmake system for an embedded platform that has two processing elements, each with their own firmwares, call them CoreA.bin and CoreB, each with their own tree of dependencies. CoreB's make system is from a third party and has to be treated as a black box PHONY target. The bootloader updates them both from a single binary file, call it BinFile.bin which contains CoreA.bin and CoreB binaries rolled together. Thus the

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq; when adding Google Maps to Android app

◇◆丶佛笑我妖孽 提交于 2019-12-24 05:01:25
问题 I am adding a Google Maps Activity to my app which is connected to a Parse server. I've simply added the maps activity and created the relevant API key and in an attempt to run the app I get the following: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.parse.starter, PID: 14204 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbq; at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:2) at android.app.ActivityThread

lib dependencies and their order

℡╲_俬逩灬. 提交于 2019-12-24 04:55:07
问题 at times if we don't list libs in certain order inside a makefile, it fails. The reason being - definition should come before its use. How to determine the correct order? 回答1: Actually, when linking libraries, the use should come before the definition. Any unresolved symbols need to be known before a library file providing their definitions is processed. What comes to the order, I'm afraid you have to do this manually. If libA depends on libB (i.e. libA uses symbols from libB), then you have

Gradle compile dependencies not included in Jar

孤街浪徒 提交于 2019-12-24 04:25:30
问题 I have a jar, build-plugins.jar with a gradle plugin that is build with this in build.gradle: apply plugin 'java' dependencies { compile gradleApi() compile localGroovy() compile('eviware:maven-soapui-plugin:4.5.1') compile('org.antlr:stringtemplate:4.0.2') compile('commons-io:commons-io:2.4') compile('joda-time:joda-time:2.1') } This builds build-plugins.jar. And the project that consumes the plugin references the plugin jar by file apply plugin 'thepluginwahoo' buildscript { dependencies {

Describe the .NET assembly circular dependency problem in layman's terms

前提是你 提交于 2019-12-24 04:14:13
问题 Please describe the .NET assembly compilation circular dependency problem in layman's terms, and whether other technologes have similar limitations. Note: This seems like a simple question, I know, but I have seen a number of real, significant projects that have totally broken dependency graphs. 回答1: To add to Lucas's answer: it's very hard to come up with a circular assembly dependency in .NET. In order to compile A.dll you first need B.dll ; to compile B.dll you first need C.dll ; but to

How to add libs to Eclipse CDT-managed projects

强颜欢笑 提交于 2019-12-24 03:27:42
问题 I am using the Eclipse CDT plugin to write simple C programs, and no where in the documentation can I find info on how to: Import C standard libraries such as assert.h , etc. Import non-standard, 3rd party libraries, such as glib , or even perhaps my own local libraries In Java-land, to add a jar/lib to your project's build/compile path, one solution is to copy the jar into a lib/ directory inside the project, right-click it, and then go to Build Path >> Add to Build Path . I'm wondering what

Eclipse not using jars from add classpath variable

不问归期 提交于 2019-12-24 02:33:09
问题 I added a classpath variable (via eclipse's build path) that points to a cache of jars. While this folder is represented in eclipse's folder view, the contained jars are not recognized for some reason. For example, when I import a class that is present in a jar in the cache (and thus the added classpath variable), eclipse indicates that the class can not be resolved. Any ideas what is wrong and how to resolve it? 回答1: You have to make sure that the jar(s) that you want are actually included

How to make devtools::test() consider package dependencies

喜夏-厌秋 提交于 2019-12-24 02:23:14
问题 Actual question Seems like devtools::test() does not make sure that package dependencies as stated in a package's DESCRIPTION file are loaded prior to running the unit tests. How can I change that? Details I'm writing a package ( B ) that imports another one of my packages ( A ). When I try to run my unit tests via devtools::test() , or, to be more precise via the shortcut SHFT + CRTL + T in RStudio, certain tests fail as the imported package seems to be disregarded/not loaded and thus a

Automatically update Maven dependencies after JAR deployment

孤者浪人 提交于 2019-12-24 01:44:13
问题 I have a Java Maven project with some dependencies defined in the POM.xml file. These dependencies often have newer versions every month, so I would like to deploy a JAR file that automatically checks the latest versions of those dependencies in each startup (without re-building the Java Maven project). Is it possible to achieve that with Maven? I know that the Versions Maven Plugin is useful to download the latest versions of dependencies, but only when "re-building" the project (not in a