maven,hbase,dependency-management
Dependency definition which you have mentioned has been updated. Use below maven dependency definition instead :- <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase-client</artifactId> <version>0.98.8-hadoop2</version> </dependency> this will solve your problem....
android,gradle,dependencies,dependency-management
import Project 1 under of it import Project 2 and Project 3 as Module.And Select Project Structure it will show window in that select dependencies Choose those two projects as ModuleDependency.
What you need to do is exclude grails-docs from the inherited global dependencies and then specifically add it excluding xhtmlrenderer (although it looks like that's just the package name and you need to exclude flying-sauce-core). This will let you specify your own version of the library. grails.project.dependency.resolution = { //...
java,hibernate,osgi,dependency-management,apache-felix
It is often an issue if a package is available in a bundle and also in the bpot classpath (JDK). It is even a bigger issue if that package is wired from another JDK package and also from a bundle directly. In your case the problem is the following: javax.xml.transform.stax...
java,hadoop,apache-pig,dependency-management,udf
The problem is that pig comes with Joda 1.6 where LocalDate does not have a parse() method. The easiest and most safe fix would be to use 1.6 in maven and rewrite your code with 1.6 Joda Time.
java,maven,dependency-management
Try dependency:get like this: mvn dependency:get -DrepoUrl=http://repo.maven.apache.org/maven2/ -Dartifact=org.springframework:spring-context:4.0.4.RELEASE:jar -Dtransitive=false -Ddest=spring-context-4.0.4.RELEASE.jar ...
java,maven,dependency-management
I think you're looking for something like: <dependencyManagement> <dependencies> ... <dependency> <groupId>someGroupId</groupId> <artifactId>someArtifactId</artifactId> <version>someVersion</version> <type>pom</type> <scope>import</scope> </dependency> ... </dependencies> </dependencyManagement> You could define this e.g. in your parent POM....
java,eclipse,gradle,dependencies,dependency-management
You could exclude all transitive dependencies of a dependency: compile('groupId:artifactId:version') { transitive = false } Or you could, but I do certainly not recommend this exclude every dependency by hand like this: compile('groupId:artifactId:version') { exclude module: 'groupId:artifactId:version' ... } ...
java,build,playframework-2.0,sbt,dependency-management
This looks like a failure to reload the project definition within activator. If I update my build.sbt with the following, the project will still compile correctly not because there are no problems with the dependency but because it doesn't know about the changes. libraryDependencies ++= Seq( javaJdbc, javaEbean, cache, javaWs,...
java,maven,import,dependency-management
Ok I did some digging and I think I figured out your problem. Their POM file is incorrect based on the structure of project. First off, I'll paraphrase what I think the steps you took to get it built in your project were, to ensure I followed the same steps...
rest,spring-boot,dependency-management
It should also work with the gradle dependency org.springframework.boot:spring-boot-starter-web:1.2.5.RELEASE instead of org.springframework.boot:spring-boot-starter-thymeleaf:1.2.5.RELEASE. spring-boot-starter-web functions like a set of basic dependencies needed to develop web-applications with spring. These basic dependencies are: jackson-databind hibernate-validator spring-core spring-web spring-webmvc spring-boot-starter spring-boot-starter-tomcat spring-boot-starter-thymeleaf is based on spring-boot-starter-web and adds some...
maven,dependency-management,transitive-dependency
You have to exclude transitive dependency from redefined artifact. Parent pom.xml: <dependencyManagement> <dependencies> <dependency> <groupId> groupId </<groupId> <artifactId> artifact1 </artifactId> <version>artifact1</version> </dependency> <dependency> <groupId> groupId </<groupId> <artifactId> artifact2 </artifactId> <version> version2 </version> </dependency> <dependencies> <dependencyManagement>...
maven,inheritance,dependency-management
Quick answer: It is not possible to influence the order of (inherited/ self defined) dependencies in the list of dependencies in the final pom. You could however maybe create a build scenario where you generate the resulting/ final pom using http://maven.apache.org/plugins/maven-help-plugin/effective-pom-mojo.html, override it with only the order of dependencies reordered...
objective-c,ruby-on-rails,xcode,dependency-management,cocoapods
The exception backtrace seems to indicate that this happens when reading in specs from disk. Could it be that you have a Loader directory in a spec dir that normally should contain a version dir? E.g. this only contains version dirs: $ ls -l ~/.cocoapods/repos/master/AFNetworking/ drwxr-xr-x 3 eloy staff 102...
linux,dependency-management,rpm,rhel,rpmbuild
This should work (you can Require any path), but you should be depending on the package that provides that path. There must be a reason you are not doing this?
"godep restore" does not use _workspace. It reads Godeps.json and check out your dependencies to GOPATH. To use _workspace, you run go command prefixed with godep, like "godep go build", "godep go test"....
java,maven,grails,intellij-idea,dependency-management
The Java language specification forbids any imports from the unnamed, or default, package. A type in an unnamed package (§7.4.2) has no canonical name, so the requirement for a canonical name in every kind of import declaration implies that (a) types in an unnamed package cannot be imported, and (b)...
node.js,gruntjs,npm,dependency-management
I'm finding that this question doesn't quite make sense in the world of npm dependency management. Unlike tools such as maven, js can have multiple versions of the same package/artifact used at the same time. My understanding is that using a tool such as browserify (or requirejs) it can handle...
ios,gradle,cocoapods,dependency-management
I don't have a Android background but from what I understand of .aar files CocoaPods does something very similar. CocoaPods uses .podspec files (described here) to generate static libraries (and soon dynamic frameworks which are new in iOS 8) that are then linked into your project. A podspec can define...
java,eclipse,osgi,dependency-management,osgi-bundle
The enocean library seems to be an OSGi bundle. So you should add it to your target platform and use Import-Package in your own bundle to access the packages you need.
java,gradle,task,dependency-management
A simpler way to accomplish this is simply to tell the existing processResources task to include your additional resources. processResources { from 'extractors/src/main/resources' } However, for future reference you could implement your original solution by simply adding jar.dependsOn copyExtractorResources to your build script....
java,spring,events,guava,dependency-management
I decided to extend the Guava EventBus class creating BufferedEventBus. This simply buffers any event objects that are posted to it until the application context has finished loading. When this happens it then posts any buffered events. Any future events are posted immediately and not buffered. BufferedEventBus package tjenkinson.events; import...
c++,include,dependencies,dependency-management,biicode
The [includes] section prepends the right part to the left side in case that the left side pattern match the file name. In your case, the last folders are not necessary. Try instead: [includes] gtest/gtest.h: google/gtest/include fw/core/uncopyable_mixin.h: florianwolters/uncopyable-mixin/include Furthermore, remember that you can use also patterns (ala fnmatch): [includes] gtest/*.h:...
grails,dependency-management,twitter-hbc
GGTS and STS don't parse BuildConfig.groovy - they get all classpath information from Grails. When you update BuildConfig.groovy with a new plugin or jar dependency, right-click on the project node in the tree on the left and select Grails Tools | Refresh Dependencies and GGTS will rebuild its classpath based...
node.js,npm,dependency-management
0.10.0-rc.10 I haven't tried it on npm but using the semver package (the actual one used by npm) I have replicated your problem and found that this format solves it. It's my understanding that npm will always sort a pre-release statement as a string, unless it can be seen as...
windows,unix,rust,dependency-management,rust-cargo
There currently is no way to do this. It would be nice, for sure.
dependencies,monitoring,updates,dependency-management,software-release
libraries.io is a great project. It supports a couple of commonly used platforms, although their search algorithm could be improved. I have not found any better option than this till now.
java,maven,gradle,dependency-management
There is no setting to change that. There is no gradle repository as such. Also, it seems like a bad idea to have gradle use the repositorys folder as dependency cache because of the clutter. If you you are tying to publish artifacts built by gradle to said maven repository....
java,maven,gradle,dependency-management
When publishing a legacy project to Nexus, author and publish a pom.xml along with it that describes the project's dependencies. Gradle's or Maven's transitive dependency resolution will then take care of the rest.
javascript,node.js,npm,dependency-management,webpack
You can mark React as an external to achieve that. Ie. externals: { react: 'react', } ...
javascript,maven,dependency-management
There is a skip parameter on unpack goal of the dependency plugin You will need to skip on the project property, akin to this: <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> ... <configuration> <skip>${skipTests}</skip> ... </configuration> </execution> </executions> </plugin> ...
maven,maven-3,dependency-management
Correct. There is no such artifact of jar type which is default if you don't specify any. This one will work: <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-parent</artifactId> <version>1.3</version> <type>pom</type> </dependency> ...
java,maven,dependency-management
Classes defined in F are transitively available in A and B (and directly available in E). Most people would advocate adding F as a direct dependency if you want build reliability. This allows you to choose the version yourself. In Maven, the "nearest" definition wins, which means that if you...
maven,gradle,dependencies,ivy,dependency-management
If you're not getting transitive dependencies then it probably can't find the metadata descriptor (ivy.xml). You may have to specify a custom layout. Check here for details.
php,composer-php,dependency-management,command-line-interface
As far as I know there is no way to achieve this with common composer functionality. You can write your own scripts to be executed at post-package-install. But Scripts are only executed if defined in the root package's composer.json (more information on how to use scripts see here). Scripts defined...
maven-2,pom.xml,dependency-management,ivy
The short answer is no. The longer answer is that there is no standard ivy repository layout format. Maven on the other hand is more opinionated and really requires a repository manager. There are several recommended solutions: Nexus, Artifactory and Archiva. So install one of them. Upload the artifacts in...
clojure,mapreduce,stack-trace,dependency-management,name-collision
As far as I can tell, clojure.contrib.io and clojure.contrib.seq-utils are no longer updated, and in fact they may be conflicting with clojure.core functions like spit. I would recommend taking out those dependencies and seeing if you can do this using only core functions. spit should just work -- the error...
algorithm,dependency-management
It's NP-hard Some bad news: This problem is NP-hard, so unless P=NP, there is no algorithm that can efficiently solve all instances of it. I'll prove this by showing how to convert, in polynomial time, any given instance of the NP-hard problem 3SAT into a dependency graph structure suitable for...
Just had an idea: What about traits? I could create the Debugger as a trait instead of a class. Then any class I want to use the debugger in, I simply add a use Debugger; statement to. I think that seems less complicated and less overhead than a full scale...
meteor,dependency-injection,dependency-management,timeline.js
Put all the files in client/compatibility in your app, such that the dependencies load first via Meteor’s load order (e.g. put dependencies in client/compatibility/lib, for example). That’s all you have to do: no script tags, no declaring anything. Initialize TimeLineJS within a template’s onRendered callback.
java,gradle,dependency-management
You can try the following: Include a file named settings.gradle in the same directory where you have the build.gradle of Pnew. In this file put the following: include 'P1' project(':P1').projectDir = = new File(rootDir, '../path/P1/') where path is the relative path to P1 build.gradle file. Now in you Pnew build.gradle...
angularjs,dependency-management
Angular modules are a strange thing (I don't like them - but that's a personal opinion). They only provide an abstract grouping, no namespacing, no bundling/script loading. In the end it comes to this: you have to make sure no 2 artifacts have the same name by yourself. There may...
nuget,dependency-management,asp.net-5,nuget-package-restore
Apparently ASP.NET vNext dropped support for running *.ps1 scripts in NuGet packages http://forums.asp.net/p/2027698/5842272.aspx
eclipse,grails,dependency-management
Eclipse doesn't parse BuildConfig.groovy or infer paths or dependencies - it gets all of that from Grails. You can force it to reconfigure the classpath by right-clicking on the project node in the tree on the left and selecting Grails Tools | Refresh Dependencies. That will cause Eclipse to run...
Check your version of commons-lang, mine was version 2.6 used sudo find / | grep commons-lang add to the dependencies before plugins and ensure id starts with I not i: <dependency> <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> <version>2.6</version> </dependency> Does not build as per wiki there is no controller/opendaylight/distribution/opendaylight/target in order to ./run.sh So...
dependency-management,package-managers
Package Manager is used for SYSTEM and Dependency Manager for PROJECT PACKAGE MANAGER is used to configure system, ie to setup your development environment and with this settings you can build many projects. DEPENDENCY MANAGER is specific to project. You manage all dependencies for project and that dependencies going to...
java,eclipse,maven,dependency-management
Maven won't actually let you do this. Everything in the src/test directory structure is not on the class path when maven tries to execute the compile goal. For instance, let's say I accidentally add the following code to my HelloWorld program: public void badDependency() { new HelloWorld_UT(); } Where HelloWorld_UT...
gradle,dependency-management,transitive-dependency
I found my own answer... But it involves a bit of "hacking"... But, after all, that's just what gradle offers... def dependencyErrors = 0 configurations.all { resolutionStrategy { def thirdPartyPackages = [:] def forced = [ 'com.google.guava:guava' : '18.0' //Here all forced dependencies... ] eachDependency { DependencyResolveDetails details -> if...
javascript,dependency-management,browserify,webpack,jspm
It's a module bundler. So closer to Browserify. You can, however, set it up in a watch mode easily. That way it deals with the builds on the background while you develop and examine the result in the browser.
gradle,dependency-management,integration-tests
First, you want to add to the compile and runtime classpaths rather than replace them. This really just means using the += operator rather than the = one. Additionally, you really only want to add the other sourcesets output, we'll deal with configurations separately. compileClasspath += sourcesets.main.output + sourcesets.test.output runtimeClasspath...
maven,gradle,dependency-management
Not automatically, no. Transitive dependencies do not bring in repository information, only the artifacts themselves. If you want this to work you'll have to add the repositories { } block from the core project to the Museum project. Additionally, adding transitive = true is unnecessary in this case. This is...
maven,spring-boot,spring-data,dependency-management,spring-data-rest
You should be able to remove the additional dependency as Spring Boot's REST starter already pulls in all dependencies in the correct versions. Spring Boot 1.2.3 refers to the Spring Data train Evans in its second service release. This boils down to Spring Data REST 2.2.2. If you want to...
java,gradle,dependency-management,org.json,maven-central
(In Netbeans) Right-clicking the project and selecting 'Reload Project' did the trick.
java,maven,jar,dependency-management,archiva
If you configure the local/managed repository which is linked to Central as read-only, then nobody can upload to it. This is done by only giving the "Repository Observer" role but not the "Repository Admin" (in fact you will most likely add additional roles, just make sure none of them is...
ruby,gem,dependency-management
An excellent tool for dependency management in Ruby projects is Bundler. It allows Ruby projects to specify the exact gems and versions required for the app to run as intended. You can specify the dependencies within a Gemfile in the root of your directory, like so: source 'https://rubygems.org' gem 'nokogiri'...
r,dependency-management,install.packages
The package miniCRAN can help with this. You tell miniCRAN the list of packages you would ever want to install, it then figures out the dependencies, downloads those packages and creates a repository on your local machine that behaves like CRAN, i.e. it respects install.packages() etc. More information: Available on...
scala,sbt,dependency-management,maven-central
Yes, use % instead of %% before the artifact specifier for your dependency. The %% notation indicates that the library is dependent on the Scala runtime version, yours is not.
java,android,gradle,dependencies,dependency-management
This flavor will not include (for legal reasons) some of the dependencies in my main flavor. I am not aware that you can readily exclude dependencies by flavor. You can add dependencies by flavor, using flavornameCompile (where flavorname is your flavor name). How will this affect all the places...
javascript,php,composer-php,bower,dependency-management
The mapping between the package name and the repository holding the package content is done by the Bower registry. By default the Bower client will use the public Bower registry - http://bower.herokuapp.com. To register a new package in the registry you need to use the bower register command as described...
javascript,node.js,express,dependency-injection,dependency-management
Is there any reason for doing this? Using this pattern for regular modules like underscore, jquery, backbone, is blatant violation of the basic CommonJS pattern upon which node is built. Don't do it. Just require your modules directly using CommonJS syntax. For testing and dependency injection, there are CommonJS-compatible...
python,virtualenv,dependency-management
You should never do this - pip doesn't have dependency resolution so there's no guarantee that you'll get a certain version. Dependencies should be installed using setup.py, requirements.txt or a different approach. You also shouldn't need user permissions or sudo to install the packages just for running the code. The...
maven,maven-3,dependency-management,nexus,sonatype
After a bit more digging I noticed that when dependencies were downloaded from central they were stored in .m2/repositories along with their pom files. I wrote a Python script to copy these into another location and then walk that directory tree and run mvn deploy:deploy-file for each jar/pom pair I...
maven,grails,dependency-management,grails-2.2
It looks like the default grails repo provided in 2.2 does not work now. We fixed this issue by adding the following line to the grails.project.dependency.resolution closure in the BuildConfig.groovy file: grails.project.dependency.resolution = { /** Existing stuff here **/ repositories { /** Other repos stay here **/ //-------- NEW REPO...
c++,boost,linker,shared-memory,dependency-management
"At no point in the code is anything as functionally specific as a date or time computed, referenced or included." (Q2): Why would it be asking for date_time in particular? Apparently the things you used depend on it. E.g the mutex operations have timed_lock function (Q1): I didn't add...
clojure,maven-2,pom.xml,dependency-management,leiningen
It works on Leiningen 2.5.0; anyone with that issue should upgrade.
java,maven,dependency-management
I think that there's another way. I can wrap this library jar in its own custom classloader URLClassLoader c1 = new URLClassLoader(new Url[] { new URL("file:lib/fatJarDep.jar"}); and create a factory that will instantiate classes of this library using this isolated classloader Class.forName("className", true, c1); ...
gradle,versioning,dependency-management,anti-patterns
This is bad because it makes the build non-reproducible. If you run the same build with the same source a few days later, the result may be different because another version of the dependency is used. Things get even worse, if this dependency depends on other libraries that may than...
Update June 2015: first support for vendoring is making its way in Go 1.5! See c/10923/: When GO15VENDOREXPERIMENT=1 is in the environment, this CL changes the resolution of import paths according to the Go 1.5 vendor proposal: If there is a source directory d/vendor, then, when compiling a source file...
java,logging,spring-security,spring-boot,dependency-management
i figured out compile("org.springframework.boot:spring-boot-starter-security"){ exclude module: "spring-boot-starter-logging" exclude module: "logback-classic" } compile("org.springframework.boot:spring-boot-starter-thymeleaf"){ exclude module: "logback-classic" } ...
dependencies,compact-framework,windows-ce,dependency-management,circular-dependency
You have some strangeness (and wrongness) in your question. Time for a little education (my >15 years of CE app dev occasionally pays off). As far as versioning goes, Windows CE and the Compact Framework are totally unrelated. Well, there's some "X supports Y" sort of stuff, but otherwise they...
gradle,versioning,dependency-management
Looks like the answer is that + includes an implicit upper bound. So 1.+ means "any version that starts with 1." This doesn't seem to be anywhere in the Gradle docs, but it is documented for Ivy: end the revision with a + selects the latest sub-revision of the dependency...
ios,xcode,dependency-management,xcode-workspace
Figured it out. I added a run script phase to my application. Script to copy the generated bundle to my application, cp -R ${BUILT_PRODUCTS_DIR}/Mybundle.bundle ${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Mybundle.bundle Hope this helps!...
android,installation,titanium,appcelerator,dependency-management
I don't know exactly what contributed to the solution (note that titanium CLI alwayes detected everything correctly), but here's what I've done meanwhile. I had existing %ANDROID_SDK%, %JAVA_HOME% and the SDK's tools and platform-tools locations added to PATH from the beginning. I Uninstalled Titanium (Studio & SDK), JDK+JRE, Node and...
gradle,dependencies,dependency-management
You should tell to gradle about your local repository adding mavenLocal() first in repositories section. Using your current configuration you are telling to gradle that everything is stored in mavenCentral or the custom repo.
objective-c,dependency-management,git-submodules,cocoapods
Git submodules shouldn't be used for dependancy management. I suggest you to use Cocoapods. Git Submodule Pros Basically a one liner to initiate it, no need for extra files / configuration. Cons You can't specify target directories, you always have to clone the whole repository. When the repository moves you...
java,gradle,dependency-management
Yes - your messages project artifact will contain a dependency on the math library. According to Gradle Documentation: For most multi-project builds, there is some configuration which is common to all projects. In our sample, we will define this common configuration in the root project, using a technique called configuration...
php,windows,dependency-management
OK, I found it is an unresolved bug in PHP https://bugs.php.net/bug.php?id=68312 and some people just remap their F: drive to something else, which I did with these instructions that I found: Run regedit and find the following key. HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices Right-click "\DosDevices\G:" and then click Rename. Rename it to "\DosDevices\M:" or...
continuous-integration,teamcity,dependency-management,build-server,teamcity-9.0
IMHO both issues you mention fall really in the config management category, thus, as you say, unrelated to the build server choice. A workspace for a project build (doesn't matter if centralized or local) should really contain all necessary resources for the build. How can you achieve that? Have a...
java,eclipse,maven,dependency-management,osgi-bundle
You will need to also install bundles that export these packages into your target platform.
javascript,node.js,bower,dependency-management
npm is the de facto standard for backend Node-based modules and is rapidly gaining traction for front-end development as well. bower is very popular for front-end things, although npm is actively trying to become the front-end standard as well. This is an opinion question and probably a poor fit for...
Gradle considers dependencies unique if they have matching group, name and version. In your example, those two dependencies would not be considered the same since they have different groups, and would therefore be duplicated. If you know in advance that such a duplication exists, you can declare a module replacement....
java,gradle,dependency-management
There is no Scope defined in java named provided. Also not in war or android plugins. If you see that any project is using 'provided' scope, and used any of these plugins only, then the scope must be defined in the configuration in your build.gradle. Now, your second question: What...
java,eclipse,maven,dependencies,dependency-management
You set the type of dependency using the <type> tag inside <dependency> tag. <dependency> <groupId>..</groupId> <artifactId>..</artifactId> <version>...</version> <type>jar OR war OR ejb-client OR test-jar</type> </dependency> The default value for type is jar...
scala,dependency-management,scala-macros
Macros that use quasiquotes provided by recent versions of paradise for Scala 2.10, i.e. 2.0.0-M4+, including 2.0.0 and later ones, will almost always require the supporting library to be on classpath when expanding (very simple quasiquotes don't require the library, but that's quite rare). Therefore if you want users of...
maven,licensing,pom.xml,dependency-management
I'm using the Maven License plugin (with the add-third-party goal) to produce the THIRD-PARTY.txt report for all my Maven modules. I'm not sure this plugin can scan the ressource licenses. One solution should be to package your json file into a small Maven project. It will produce an artefact and...
javascript,dependency-management,node-modules
RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code. IE 6+ .......... compatible ✔ Firefox...
ext{ dependencies = [ "dependencyGroup:dependencyName:dependencyVersion", "dependency2Group:dependency2Name:dependency2Version" ] } subprojects{ dependencies { provided dependencies } configurations { compile.exclude group: 'dependencyGroup' compile.exclude group: 'dependency2Group' } } In the above example, we have defined a list of dependencies with the name dependencies. EDIT -- We are excluding the dependencies from the compile configuration...
angularjs,jasmine,dependency-management
You don't mock multiple levels of dependencies. If your service uses common, like this: angular.module('my.app.services') .factory(serviceId, ['common', programsService]); function programsService(common) { var logHttp = common.logger.getLogHttpFn(serviceId); // ..... } Then the furthest dependency you mock is common. Use a plain object as the mock. So the start of the tests should...