dependency-management

OpenCV doesn't come with “external” libraries

无人久伴 提交于 2019-12-24 16:02:13
问题 I tried this example from the OpenCV website: import numpy as np import cv2 from matplotlib import pyplot as plt # changed the image names from box* since the sample images were not given on the site img1 = cv2.imread('burger.jpg',0) # queryImage img2 = cv2.imread('burger.jpg',0) # trainImage # Initiate SIFT detector sift = cv2.SIFT() # find the keypoints and descriptors with SIFT kp1, des1 = sift.detectAndCompute(img1,None) kp2, des2 = sift.detectAndCompute(img2,None) # FLANN parameters

maven not able to download jacoco 0.7.10-SNAPSHOT jar

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 10:47:08
问题 I am puzzled by this. I have this in my pom.xml <build> <pluginManagement> ... other plugins ... <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.10-SNAPSHOT</version> </plugin> </pluginManagement> </build> And this my repository section <repositories> <repository> <id>oss-sonatype</id> <name>oss-sonatype</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <updatePolicy>daily</updatePolicy> <enabled>true<

Understanding cabal dependency messages

五迷三道 提交于 2019-12-24 08:56:47
问题 currently when I try to install GOA I get the following message : >sudo cabal install goa Resolving dependencies... In order, the following would be installed: directory-1.1.0.2 (reinstall) changes: filepath-1.3.0.0 -> 1.2.0.1 process-1.0.1.5 (new version) goa-3.1 (new package) cabal: The following packages are likely to be broken by the reinstalls: .... My question is whether this means that I currently have "filepath-1.3.0.0" as default, and cabal (upon a --force-reinstalls) is going to

Compiler doesn't find a class I have as maven dependency

强颜欢笑 提交于 2019-12-24 07:25:39
问题 I have a code that has a dependency on the RESTEasy JAX RS Client I added it as a dependency to my project like this: <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-client</artifactId> <version>3.0.8.Final</version> </dependency> I can write the code normally, but when I try to compile, I get these errors: java: cannot access javax.ws.rs.client.ClientBuilder class file for javax.ws.rs.client.ClientBuilder not found java: cannot access javax.ws.rs.core.Link class file

Maven dependency exclusions in pom.xml are not excluded by assembly

不打扰是莪最后的温柔 提交于 2019-12-24 05:45:11
问题 So I have a project in which I've excluded all of the transitive dependencies from one of my dependencies (oracle jdbc stubbornly pulls in all of the jars someone might need, which causes issues for me by replacing my xml parser). My project's assembly uses a dependencySet to pull in the jars that I need, but this doesn't respect these exclusions at all: the jars that should be excluded are showing up in the final package. I know that I can explicitly exclude these dependencies in the

Referencing external dependencies in GGTS by convention

妖精的绣舞 提交于 2019-12-24 02:39:04
问题 How do I reference a dependency by convention within my project build path? Allow me to elaborate... I'm using the Groovy/Grails Tool Suite (GGTS 3.0). I'm referencing the dependency as such in my BuildConfig.groovy: dependencies { compile 'tgt:jaxb-utils:1.0' } The referenced jar file is successfully pulled down from the Artifactory repo - I can find the jar file on my local file system in the Ivy cache. When I run any grails targets ( grails compile , grails run-app , grails run-tests ), it

How to remove the java standard library from a gradle project?

坚强是说给别人听的谎言 提交于 2019-12-24 00:52:26
问题 How can one make Gradle not include the Java standard library as a dependency to IntelliJ IDEA project? I am using IntelliJ and every time I Refresh all Gradle projects : IntelliJ adds the Java standard library back to the project as an external dependency: So I have to manually remove it every single time: Things I tried that didn't work out fiddling with the sourceCompatibility and targetCompatability properties... applying the idea plugin to Gradle and setting idea.project.jdkName to null

How to get full class path on file system for resolved ModuleID in SBT?

心不动则不痛 提交于 2019-12-23 22:58:02
问题 How to corellate artifact from libraryDependencies to its resolved classpath in dependencyClasspath? UPD Clarify question: How to get full class path on file system for resolved ModuleID? Example: I have ModuleID: "org.eclipse.jetty" % "jetty-servlets" % V.jetty And I want to knpw that classpath is: C:\Users\user\.ivy2\cache\org.eclipse.jetty\jetty-servlets\jars\jetty-servlets-8.1.8.v20121106.jar 回答1: You can add a task to your build.sbt and then call it with printDependencyClasspath val

Pick Version with Branchname as Classifier with Gradle

社会主义新天地 提交于 2019-12-23 20:10:00
问题 I am evaluating gradle for our project. We have multiple small project that contain small util libraries. Most projects are in an extra repository and cannot use a shared buildscript. When working across multiple project the same feature branch is used. I already managed to get gradle to put the branchname into the created maven artifact as classifier. For our continous integration it would be really helpful to resolve a dependency to such a library to the one using its own branch name if it

Dart Package Management via dart2js

时光毁灭记忆、已成空白 提交于 2019-12-23 15:37:25
问题 I'm learning Dart and its dependency manager pub and am having a tough time seeing the "forest through the trees" here. Say I want to use Polymer.dart in my project. So, in my project root, I create the following pubspec.yaml : name: test_dart description: A sample web application dependencies: browser: any polymer: ">=0.9.0 <0.10.0" I then run pub get , which goes to the pub repo and fetches the browser and polymer dependencies that I've specified. It then creates a packages directory in my