dependency-management

How to update all Node.js modules automatically?

别说谁变了你拦得住时间么 提交于 2019-11-30 04:05:57
During my work with the Node.js environment, I faced the issue of version maintenance of Node.js modules. I would like to be sure that all internal Node.js modules are updated. Many of existing manuals focus just on how to update Node.js modules, but not how to automate such routine. The question: How to update all Node.js modules automatically to the latest version? Ideally, it should be some script, job, or task. To update all Node.js modules manually: Open console with administrative permissions Go to Node.js installation folder: cd C:\Program Files\nodejs Update npm: npm i npm@latest Go to

How does Maven resolve SNAPSHOT dependencies when there are SNAPSHOTS with different timestamps in the local and the remote repository?

ぐ巨炮叔叔 提交于 2019-11-30 01:13:18
Say I have a project A in development that depends on project B - which is also currently in development and not yet released. So, in A 's POM file, I have the following section: <dependency> <groupId>com.example</groupId> <artifactId>project-b</artifactId> <version>1.0.0-SNAPSHOT</version> <\dependency> At work, we have a remote repo (Nexus) and a CI box (running Jenkins). When my colleague makes a change to B and commits to SVN, Jenkins will pick that change up, compile it and put it into the remote repo. Around that time, I might open B locally, make a change, compile it and install it into

Interpreting “omitted for conflict” in maven 2 dependency tree

…衆ロ難τιáo~ 提交于 2019-11-29 22:54:23
This is a dependency tree generated by Maven 2.2.1 with mvn -o dependency:tree -Dverbose -Dincludes=log4j [INFO] [dependency:tree {execution: default-cli}] [INFO] com.openboxes.renderingservice:common:jar:1.0 [INFO] +- org.springframework:spring:jar:2.0.4:compile [INFO] | \- commons-logging:commons-logging:jar:1.1:compile [INFO] | \- log4j:log4j:jar:1.2.12:compile [INFO] \- it.mycompany.portal:server:jar:1.5-SNAPSHOT:compile [INFO] \- org.slf4j:slf4j-log4j12:jar:1.1.0:compile [INFO] \- (log4j:log4j:jar:1.2.13:compile - omitted for conflict with 1.2.12) As you can see log4j v1.2.12 is preferred

Publish Snapshot vs Publish Release in Gradle With Continuous Integration

☆樱花仙子☆ 提交于 2019-11-29 21:03:08
I'm just learning Gradle, coming from both an Ant+Ivy and Maven background and I'm trying to wrap my head around the proper way to publish a release version of my software using gradle. I also need to constantly integrate my projects without having to constantly release independent artifacts. Ant + Ivy In the Ant + Ivy world, I can create publishSnapshot and publishRelease targets. These can each use different Ivy resolvers to resolve and publish to my separate snapshot or release repositories in Nexus. Maven With Maven, I can define a snapshotRepository or repository in my

How to resolve NuGet dependency hell

本小妞迷上赌 提交于 2019-11-29 19:59:16
I develop a library with some functional named CompanyName.SDK which must be integrated in company project CompanyName.SomeSolution CompanyName.SDK.dll must be deployed via NuGet package. And CompanyName.SDK package has a dependency on 3rd party NuGet packages. For good example, let's take Unity . Current dependency is on v3.5.1405-prerelease of Unity . CompanyName.SomeSolution.Project1 depends on Unity v2.1.505.2 . CompanyName.SomeSolution.Project2 depends on Unity v3.0.1304.1 . Integrating CompanyName.SDK into this solution adds dependency on Unity v3.5.1405-prerelease . Let's take that

How to use mercurial subrepos for shared components and dependencies?

空扰寡人 提交于 2019-11-29 17:53:12
问题 We develop .NET Enterprise Software in C#. We are looking to improve our version control system. I have used mercurial before and have been experimenting using it at our company. However, since we develop enterprise products we have a big focus on reusable components or modules. I have been attempting to use mercurial's sub-repos to manage components and dependencies but am having some difficulties. Here are the basic requirements for source control/dependency management: Reusable components

Maven “versions” plugin - how to exclude alpha/beta versions from response?

本秂侑毒 提交于 2019-11-29 16:24:21
问题 I have an issue concerning the plugin versions. When it generates a report with the goal: mvn versions:display-dependency-updates It suggest is a lot of libraries that with beta or alpha versions. org.hibernate:hibernate-validator ......... 4.2.0.Final -> 4.3.0.Beta1 The issue is that event if the goal of this plugin is to show the very latest versions of each dependency, I don't want to use beta/alpha versions for production code. But I don't want to search manually the last stable version

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

ε祈祈猫儿з 提交于 2019-11-29 15:19:58
We have a Grails 2.2.4 project that I was looking to do some work on. There has been no work done on it for six months, but it built just fine back then. When I try to run grails clean now I get a host of UNRESOLVED DEPENDENCIES errors. This is despite all dependencies working just fine a few months ago. Has something changed within that time on the repository side? I have changed the log level within BuildConfig.groovy to log "warn" as suggested by the error message. The interesting thing from this is when I try to download via a browser some of the URLs that the build tries to resolve, they

Check RPM dependencies

陌路散爱 提交于 2019-11-29 11:33:08
问题 When you are installing a programming using .deb packages on Ubuntu, you can check dependencies of package using Ubuntu Packages Search. For example I can see dependencies of Wireshark from here. As you can see, dependencies marked by red bullet. If you know all packages your program depends them, you can download them and installing dpkg . Is there any alternative web site for RPM packages? Specially for RHEL? I know that I can get these packages's name by other methods such as when

How to use leiningen to develop using local jars?

早过忘川 提交于 2019-11-29 06:40:58
I realize that this question is pretty much the exact question found here . However, seeing as that question is 1.5 years old (or so), I would like to revisit it. How does one add local dependencies using leiningen? Surely this capability must exist by now? Create a private Maven Repository , and then, add the following to your project.clj :repositories {"local" ~(str (.toURI (java.io.File. "your_local_repository")))} If the jars are based on your own projects, you can use lein install to put them into your local .m2, or use the checkout-dependencies feature. You can also use the extra