Menu
  • HOME
  • TAGS

Hbase 0.98.0-hadoop2 mvn dependency

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....

Gradle dependencies for several projects

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.

Overriding Grails built-in library?

grails,dependency-management

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 = { //...

Dependency chain conflicts for Hibernate and Apache Felix

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 dependencies in Pig UDF

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.

How download maven artifact from remote repository to local folder?

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 ...

Importing managed dependencies from another POM with maven

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....

How to exclude dependencies of other subproject in Gradle build?

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' ... } ...

Play framework: package javax.inject does not exist

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,...

Import and use a Maven managed Java library (CitySDK)

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...

spring-boot-starter-web vs spring-boot-starter-thymeleaf

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...

transitive dependency defined in parent pom's dependency management

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>...

Order or inherited dependencies in Maven 3

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...

Cocoapods install pod with subspec did not work

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...

Can I have a RPM depend on a directory?

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 doesn't use the code saved in _workspace

go,dependency-management

"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"....

IntelliJ: How to use external JAR's as a library, when the JAR's have no packages

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)...

How to resolve all npm dependencies in tree to single version

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 dependency management and packaging

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...

Using an external java library in OSGI bundle

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.

Gradle: Copy subproject resources

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....

In spring make sure Guava Event Bus listener beans are instantiated before events are dispatched

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...

#include statement mapping in Biicode (biicode.conf)

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:...

how do I integrate hosebird client library to a Grails project?

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...

dependency resolution in nodejs with prerelease versions

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...

How to have different dependencies depending on OS family

windows,unix,rust,dependency-management,rust-cargo

There currently is no way to do this. It would be nice, for sure.

Staying up to date with software releases of dependencies

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.

Gradle downloading dependency into cache instead of maven repository

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....

How to transition to gradle/maven one project at a time by depending on projects that don't declare their dependencies

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.

How to bundle library without npm dependencies using webpack?

javascript,node.js,npm,dependency-management,webpack

You can mark React as an external to achieve that. Ie. externals: { react: 'react', } ...

Do not want to run maven-dependency-plugin when user specifies -DskipTests=true

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 hamcrest parent depedency failed to resolve

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> ...

Maven dependency scope. How to understand where this dependency can be used?

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...

Gradle & local Ivy repository not finding transitive dependencies

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.

Is there a way to interactively install suggested composer packages?

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...

Ivy repository for maven projects

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 in Action, Ch 12 Data Analysis example, dependency issues

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 for dependency resolution

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...

Making a class available throughout codebase

php,dependency-management

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...

Host TimeLineJS on Meteor app without smart package

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.

Gradle non-managed dependency from source

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...

How do you manage conflicts when items in dependencies have the same name?

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...

Error while adding NuGet package to ASP.NET vNext project

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

Grails asset-pipeline Shows wrong Build Path in Eclipse

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...

NoClassDefFoundError : org.apache.commons.lang.StringUtils

maven,dependency-management

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...

Package Manager vs Dependency Manager

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...

Maven layout: How to be sure that src/main does not depend on src/test?

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...

How to mix ResolutionStrategies with Gradle

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...

Does webpack allow to run my app without building like jspm?

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.

integrationTestCompile gradle dependency ignored

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...

How can I make a transitive dependency in gradle also use the dependency's original source?

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...

Spring REST Data

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...

Package (org.json) not importing after Gradle build — no errors or feedback

java,gradle,dependency-management,org.json,maven-central

(In Netbeans) Right-clicking the project and selecting 'Reload Project' did the trick.

Archiva / Maven as corporate repository

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...

Equivilent of “npm install” for gems

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'...

Offline installation of a list of packages: getting dependencies in order

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...

SBT with Maven Central - get rid of Scala version in artifact url

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.

(Android) Runtime dependency managment with different flavors

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...

Which package service provides the repository for Bower?

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...

Should I pass package dependencies to a module function or just require them in the module file?

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...

Having a python module, install its own dependencies before running

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...

Local Nexus Maven repository for common java libraries

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...

Grails 2.2.x unresolved dependencies without any changes to previously working build

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...

maps in shared memory: Boost.Interprocess demo fails due to unmet date_time dependency

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...

lein pom - :classifier clause does not get generated in pom.xml

clojure,maven-2,pom.xml,dependency-management,leiningen

It works on Leiningen 2.5.0; anyone with that issue should upgrade.

How to deal with fat jar dependency

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); ...

Why is LATEST a dependency management anti-pattern?

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...

Handle dependencies in Go

go,dependency-management

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...

LoggerFactory is not a Logback LoggerContext but Logback is on the classpath

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" } ...

Which locations on a handheld device are used by installed .exes for their dependent files?

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...

How do I set an upper bound on Gradle dynamic versions?

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...

Automate copying resources from dependency project

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!...

Titunium Studio Cannot find Android SDK

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...

Confused with Gradle Dependencies

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.

Git Submodules vs. Cocoapods [closed]

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...

What happens to a dependency defined in a root project in a subproject in gradle?

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 error - “There is no disk in the drive”

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...

Build dependencies and local builds with continuous integration

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...

Importing an OSGI bundle into eclipse

java,eclipse,maven,dependency-management,osgi-bundle

You will need to also install bundles that export these packages into your target platform.

Distribution of js library [closed]

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...

When are two artifacts considered equal?

gradle,dependency-management

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....

'Provided' dependency in Gradle

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...

Eclipse - How to add a project as a Maven dependency to another, instead of adding as a jar?

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...

Necessary to export Quasiquotes dependency for exported macro libraries on Scala 2.10?

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 license plugin aggregate licenses from resources

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 require() function giving ReferenceError: require is not defined

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...

Selective dependencies in Gradle

gradle,dependency-management

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...

jasmine and angularjs mock multiple level of dependency

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...