dependencies

List of possible classifiers and types in dependencies

℡╲_俬逩灬. 提交于 2019-12-22 04:14:36
问题 I have searched the net for the all the possible values that you can put in the scope tag inside dependency tag, but I haven't found any list with the same data for the classiffier and the type. Anybody knows what I can and cannot put inside this tags? Just to be clear, I am not asking what does the classifier tag or the type tag do, I just want a list of the data that this tag accepts or where can I find it. Thanks! 回答1: From the Maven Reference: Update Oops, I misunderstood the question.

R package dependencies

核能气质少年 提交于 2019-12-22 03:59:12
问题 i'm trying to build a R package, but it seems that there are some problems with the package dependencies. If I run the code in R, I need the packages "rgdal" and "rgeos", so for creatng the package out of it, I: Added the line "import(rgdal, rgeos)" to the NAMESPACE file Added the line "Depends: rgeos, rgdal" to the DESCRIPTION file When I run R CMD check (after build) I got an error which says: * checking package dependencies ... ERROR Benötigte, aber nicht verfügbare Pakete: 'rgeos' 'rgdal'

Gradle dependency tree, what does the (*) mean?

落爺英雄遲暮 提交于 2019-12-22 03:56:54
问题 I am just wondering what does the (*) mean under the dependency tree for Gradle. I have been searching online and could not find any answers. +--- org.apache.httpcomponents:httpclient:4.2.6 -> 4.5 (*) | +--- org.apache.jena:apache-jena-libs:2.12.1 | | +--- org.apache.jena:jena-tdb:1.1.1 | | | +--- org.apache.jena:jena-arq:2.12.1 | | | | +--- org.apache.jena:jena-core:2.12.1 | | | | | +--- org.slf4j:slf4j-api:1.7.6 -> 1.7.10 | | | | | +--- org.apache.jena:jena-iri:1.1.1 | | | | | | +--- org

npm install packagename --save-dev not updating package.json

杀马特。学长 韩版系。学妹 提交于 2019-12-22 01:50:22
问题 Are there simple or subtle reasons that package.json would not update after running a --save-dev? This is my command: npm install modulename --save-dev Run from the root of the project. The command succeeds, the new module shows up in the node_modules directory as expected. Help would be appreciated. I am using npm v 1.4.28 The entirety of my current package.json is: { "name": "FooWeb", "version": "1.0.0", "description": "Foo Web", "devDependencies": { "gulp": "3.8.11", "gulp-jshint": "1.9.2"

npm install packagename --save-dev not updating package.json

筅森魡賤 提交于 2019-12-22 01:46:58
问题 Are there simple or subtle reasons that package.json would not update after running a --save-dev? This is my command: npm install modulename --save-dev Run from the root of the project. The command succeeds, the new module shows up in the node_modules directory as expected. Help would be appreciated. I am using npm v 1.4.28 The entirety of my current package.json is: { "name": "FooWeb", "version": "1.0.0", "description": "Foo Web", "devDependencies": { "gulp": "3.8.11", "gulp-jshint": "1.9.2"

Why does this makefile execute a target on 'make clean'

泄露秘密 提交于 2019-12-22 01:46:02
问题 This is my current makefile. CXX = g++ CXXFLAGS = -Wall -O3 LDFLAGS = TARGET = testcpp SRCS = main.cpp object.cpp foo.cpp OBJS = $(SRCS:.cpp=.o) DEPS = $(SRCS:.cpp=.d) .PHONY: clean all all: $(TARGET) $(TARGET): $(OBJS) $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJS) -o $(TARGET) .cpp.o: $(CXX) $(CXXFLAGS) -c $< -o $@ %.d: %.cpp $(CXX) -M $(CXXFLAGS) $< > $@ clean: rm -f $(OBJS) $(DEPS) $(TARGET) -include $(DEPS) It works perfectly with one exception. If the directory is already clean (no *.d, *.o) and

Haskell Cabal: “package indirectly depends on multiple versions of the same package”

北城余情 提交于 2019-12-22 01:38:21
问题 After clearing out all of my cabal install ed packages, I ran this following session: $ cabal update Downloading the latest package list from hackage.haskell.org james@bast:~/.cabal/packages$ cabal install cabal-dev Resolving dependencies... Downloading cabal-dev-0.9.1... [1 of 1] Compiling Main ( /tmp/cabal-dev-0.9.124882/cabal-dev-0.9.1/Setup.hs, /tmp/cabal-dev-0.9.124882/cabal-dev-0.9.1/dist/setup/Main.o ) Linking /tmp/cabal-dev-0.9.124882/cabal-dev-0.9.1/dist/setup/setup ... Configuring

loading the right dependencies for sbt console in multi project setup causing derby security exception

眉间皱痕 提交于 2019-12-21 23:21:58
问题 I have a SBT multi project setup outlined https://github.com/geoHeil/sf-sbt-multiproject-dependency-problem and want to be able to execute sbt console in the root project. When executing: import org.apache.spark.sql.SparkSession val spark = SparkSession.builder().master("local[*]").enableHiveSupport.getOrCreate spark.sql("CREATE database foo") in the root console the error is: java.lang.NoClassDefFoundError: Could not initialize class org.apache.derby.jdbc.EmbeddedDriver Strangely, it works

NetBeans 7 dependency graph (unused class/method)

那年仲夏 提交于 2019-12-21 22:39:29
问题 Is there a way to create a dependency graph for classes and/or methods of Java SE projects within NetBeans 7? I have a very large project and I'd like to clean up unused classes or methods (and a dependency graph would also be useful). The "center" of the graph would be the main() entry point of main classes I invoke, and adjacencies would be method calls (including some Swing framework methods to classes which override the Java Swing framework). 回答1: That's weird, when I right click on a

Will a source-removal sort always return a maximal cycle?

霸气de小男生 提交于 2019-12-21 21:18:37
问题 I wrote a source-removal algorithm to sort some dependencies between tables in our database, and it turns out we have a cycle. For simplicity, let's say we have tables A, B, C, and D. The edges are like this: (A, B) (B, A) (B, C) (C, D) (D, A) As you can see, there are two cycles here. One is between A and B and another is between all four of them. Will this type of sort always choke on the largest cycle? Or is that not necessarily the case? 回答1: By source-removal I presume you mean at each