• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 8698
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: tdyas/rust/upgrade-v1.97.0
DEFAULT BRANCH: main
Ran 21 Jan 2016 06:12PM UTC
Jobs 7
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8698

push

travis-ci

gmalmquist
First pass at dependency management implementation.

See the design doc for context:

  https://docs.google.com/document/d/1AM_0e1Az_NHtR150Zsuyaa6u7InzBQGLq8MrUT57Od8/edit#

This patch introduces a JarManagedDependencies target, and a
DependencyManagement subsystem.

A managed_jar_dependencies() target contains a single heterogenous
artifacts list of jar() objects and specs for jar_libraries.

A jar_library can reference a single managed_jar_dependencies target,
or else use the default target specified in the
JarDependencyManagement subsystem. This will be used to pin the
versions of artifacts that library includes during the ivy_resolve.
This applies to artifacts the jar_library declares directly, as
well as transitive external artifact dependencies.

If a jar() object in a jar_library declares no version, the pinned
version from its corresponding jar_dependency_management is used. If
there is no pinned version, the default behavior of resolving the
newest version available is used.

If a jar() object in a jar_library declares a version that
conflicts with what is set in jar_dependency_management, the resulting
behavior is configurable with the --conflict-strategy option. By
default, an exception is raised.

In the next pass I will implement full support for using multiple
managed_jar_dependencies targets in the same repo, which will require
partitioning ivy resolves by artifact sets, and computing artifact
sets from managed_jar_dependencies using the union of all
managed_jar_dependencies in their transitive closure.

Testing Done:
Added tests to:

tests/python/pants_test/backend/jvm/subsystems/test_dependency_management.py
tests/python/pants_test/backend/jvm/subsystems/test_dependency_management_integration.py
tests/python/pants_test/backend/jvm/tasks/test_dependency_management_setup.py

CI went green here: https://travis-ci.org/pantsbuild/pants/builds/102408837
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/102623512
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/102685461
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/103393108
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/103417409
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/103465228
CI went green here: https://travis-ci.org/pantsbuild/pants/builds/103882366

Bugs closed: 2804

Reviewed at https://rbcommons.com/s/twitter/r/3336/
Jobs
ID Job ID Ran Files Coverage
1 8698.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 21 Jan 2016 06:12PM UTC 0
Travis Job 8698.1
4 8698.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 21 Jan 2016 06:26PM UTC 0
Travis Job 8698.4
5 8698.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 21 Jan 2016 06:13PM UTC 0
Travis Job 8698.5
6 8698.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 21 Jan 2016 06:25PM UTC 0
Travis Job 8698.6
7 8698.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 21 Jan 2016 06:26PM UTC 0
Travis Job 8698.7
8 8698.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 21 Jan 2016 06:27PM UTC 0
Travis Job 8698.8
10 8698.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 21 Jan 2016 06:44PM UTC 0
Travis Job 8698.10
Source Files on build 8698
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8698
  • 8aacb2b0 on github
  • Prev Build on master (#8678)
  • Next Build on master (#8702)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc