dependency-management

How to update dependencies of one Polymer component without updating those of another?

流过昼夜 提交于 2020-01-14 04:18:09
问题 I'll try to describe our specific problem to avoid running into an XY Problem. We have one Polymer app, that consists of several independent components (maintained by different teams). Each of these components has dependencies on other components, managed by Bower. Sometimes, different components (say, A and B) have dependencies on the same components (e.g. C). Now when C releases a new version with a breaking change, both A and B have to upgrade to that new version at the same time . This

Is there a way to configure Ivy to get dependencies from a branch without editing every dependency concerned?

[亡魂溺海] 提交于 2020-01-13 18:00:30
问题 I have a number of projects here that have dependencies between each other as well as to external libraries. Dependency management is done with ivy and our own repository. We recently had to branch because there is one version of the projects that is in QA and another one where current development is done. The problem is that I can't find a way to use ivy in the new branch without adding the branch attribute to every internal dependency. I thought about adding the branch attribute to the

unresolved dependency for postgresql 9.2 jar in play framework

爱⌒轻易说出口 提交于 2020-01-13 08:19:31
问题 I am using postgresql 9.2 with play framework 2.1 I downloaded the driver here: http://jdbc.postgresql.org/download.html (JDBC4 Postgresql Driver, Version 9.2-1002) My project/Build.scala file is as follows: import sbt._ import Keys._ import play.Project._ object ApplicationBuild extends Build { val appName = "myApp" val appVersion = "0.1" val appDependencies = Seq( "postgresql" % "postgresql" % "9.2-1002.jdbc4") val main = play.Project(appName, appVersion, appDependencies) } I have placed

How can I version bump all my dependencies?

戏子无情 提交于 2020-01-13 05:10:07
问题 Having yarn outdated is quite informative but I'd like to avoid running over package by package doing yarn upgrade . From yarn's documentation, just yarn upgrade without arguments is said to upgrade all dependencies but there's no change in my project's package.json and yarn outdated shows the same packages versions than before. Is there some command or argument that just bumps all my dependencies? If not, is the practice discouraged in some way? 回答1: You can update your packages to the

How to exclude jar in final sbt assembly plugin

夙愿已清 提交于 2020-01-13 04:29:25
问题 I need to exclude spark and test dependencies from my final assembly jar. I tried to use provider but it was not working. libraryDependencies ++= Seq("org.apache.spark" % "spark-core_2.11" % "2.0.1" % "provided") and execute sbt assembly . Please help me resolve this issue. 回答1: Use exclude option of assembly plugin filtering by direct name or with contains assemblyExcludedJars in assembly := { val cp = (fullClasspath in assembly).value cp filter { f => f.data.getName.contains("spark-core") |

Maven sourcing dependency version from great-grand-parent instead of our parents dependency-management

╄→尐↘猪︶ㄣ 提交于 2020-01-13 01:53:10
问题 Below shows the hierarchy of my POMs. You can see that we have a company parent-pom for spring boot projects. This POM has spring-boot-starter as it's parent, and it imports our own dependency-management BOM. [INFO] --- hierarchy-maven-plugin:1.4:tree (default-cli) @ user-service --- [INFO] PARENT com.MY_COMPANY.platform:user:3.20.14-SNAPSHOT [INFO] PARENT com.MY_COMPANY.platform:spring-boot-parent:3.20.12-SNAPSHOT [INFO] PARENT org.springframework.boot:spring-boot-starter-parent:1.5.12

Maven sourcing dependency version from great-grand-parent instead of our parents dependency-management

感情迁移 提交于 2020-01-13 01:52:27
问题 Below shows the hierarchy of my POMs. You can see that we have a company parent-pom for spring boot projects. This POM has spring-boot-starter as it's parent, and it imports our own dependency-management BOM. [INFO] --- hierarchy-maven-plugin:1.4:tree (default-cli) @ user-service --- [INFO] PARENT com.MY_COMPANY.platform:user:3.20.14-SNAPSHOT [INFO] PARENT com.MY_COMPANY.platform:spring-boot-parent:3.20.12-SNAPSHOT [INFO] PARENT org.springframework.boot:spring-boot-starter-parent:1.5.12

How to exclude dependency with classifier (platform version) in Gradle?

别等时光非礼了梦想. 提交于 2020-01-12 07:03:08
问题 In my project I have dependency on 'org.nd4j:nd4j-native-platform:0.6.0' which brings me transitive dependencies: Gradle: org.nd4j:nd4j-native:linux-ppc64le:0.6.0 Gradle: org.nd4j:nd4j-native:macosx-x86_64:0.6.0 Gradle: org.nd4j:nd4j-native:windows-x86_64:0.6.0 Gradle: org.nd4j:nd4j-native:linux-x86_64:0.6.0 I want to exclude nd4j-native:linux-ppc64le and nd4j-native:macosx-x86_64 since my application does not support these platforms. I write in my Gradle file: configurations { all.collect {

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

余生长醉 提交于 2020-01-11 17:59:14
问题 I've got the source files for a bunch of packages and their dependencies that I want to install on computers that have no internet access. I want to install all of these on other computers using as USB stick, but the install fails for some packages because the dependencies are not installing before the packages. How can I get the dependencies to be installed in order, before the packages that needs them? Here's my current method to obtain the packages, their dependencies, and get them in the

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

不羁的心 提交于 2020-01-11 17:59:04
问题 I've got the source files for a bunch of packages and their dependencies that I want to install on computers that have no internet access. I want to install all of these on other computers using as USB stick, but the install fails for some packages because the dependencies are not installing before the packages. How can I get the dependencies to be installed in order, before the packages that needs them? Here's my current method to obtain the packages, their dependencies, and get them in the