Commit Graph

117 Commits

Author SHA1 Message Date
Alexandre Archambault 5f5b127563 Bump dependencies 2017-10-21 02:30:51 +02:00
Yi Cheng 07e985bffc Fix cli print out completeness and cyclic handling issue (#671)
* simplify

* doc

* rename

* char

* more tests

* add tests then fix bugs

* Small tweak to avoid quadratic calculation
2017-10-20 00:54:58 +02:00
Alexandre Archambault b25fed1ae5 Fix flaky test 2017-09-20 00:12:21 +02:00
Alexandre Archambault 964151392b Allow exclusions to have no explicit artifact ID in POM 2017-09-04 02:01:36 +02:00
Alexandre Archambault 9dfed94053 Add short syntax for jitpack repo 2017-07-22 17:29:33 +02:00
Alexandre Archambault ea8927d7b2 Don't unnecesarily mark some artifacts as optional 2017-07-22 17:29:26 +02:00
Alexandre Archambault bddf67cc17 Always try to get artifacts corresponding to packaging 2017-07-22 17:29:25 +02:00
Alexandre Archambault 2815897b7a Fix compatibility API
It wasn't returning some (non optional) artifacts
2017-07-19 14:38:03 +02:00
Alexandre Archambault fc0a1ccec7 Really filter out optional artifacts by default 2017-07-17 17:12:30 +02:00
Alexandre Archambault 5758e0d786 Rework property substitution 2017-07-06 17:25:45 +02:00
Alexandre Archambault 45e4f6d7f7 Tweak dependency printing 2017-06-20 18:23:33 +02:00
Alexandre Archambault a0e04a6c85 Tweak dependency management scope overriding 2017-06-20 18:23:31 +02:00
Alexandre Archambault 866af3308c Add extra snapshot versioning test
See discussion in https://github.com/coursier/coursier/pull/567
2017-06-16 14:27:50 +02:00
Alexandre Archambault 615c9821b3 Minor refacto in tests 2017-06-16 14:27:50 +02:00
Alexandre Archambault d5d84cb336 Add workaround for multi-range version intervals 2017-06-16 14:27:49 +02:00
Alexandre Archambault f57977dcd4 Add support for version ranges for sbt plugins from Maven repositories
These seem to lack some maven-metadata.xml files, so require specific
handling
2017-06-16 14:27:49 +02:00
Alexandre Archambault f4e98c6bc5 Merge pull request #574 from sschuberth/fix-pipe-symbol-in-tree
Tree: Fix the pipe symbol to match the other UTF-8 symbols used
2017-06-13 14:13:06 +02:00
Alexandre Archambault e7fad2316f Tweak margin character in test 2017-06-12 02:00:41 +02:00
Sebastian Schuberth b3d07e1353 TreeTests: Adjust the test to the new UTF-8 pipe character 2017-06-09 18:38:01 +02:00
Alexandre Archambault b2e5dceb54 Merge pull request #573 from coursier/topic/metadata-submodule
Get metadata during the tests via specific submodule
2017-06-09 18:10:26 +02:00
Alexandre Archambault e2506b2af9 Get metadata during the tests via specific submodule
Rather than fetching those from actual repos
2017-06-09 15:29:26 +02:00
Claudio Bley 2851f7d364 Support resolving the latest sub-revision of a module
Components of revisions are separated by dots or hyphens.

In case you "end the revision with a `+`" (see [1]), the latest sub-revision of the
dependency module should be selected when resolving dependencies.

Accept revisions such as "1.2+" or "1.2.+" and "1.2.3-+".

Fixes #424.

[1]: http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html
2017-06-08 18:00:06 +02:00
Alexandre Archambault e0d1a8709b Bump dependencies 2017-06-01 11:52:29 +02:00
Alexandre Archambault f5ef7d8179 Add non-reg tests for Nexus proxies
Ensure everything work fine again with those (things went bad at
1.0.0-RC1, because of the use of directory listings, that may not be
exhaustive in proxies - or may be just empty, e.g. currently with nexus 3)
2017-05-31 21:19:27 +02:00
Alexandre Archambault 70906fcc8e Add sbt-plugin: and typesafe: repo syntaxes 2017-05-18 02:50:20 +02:00
Alexandre Archambault f23fbda1ba Address more warnings 2017-05-16 17:06:35 +02:00
Alexandre Archambault f62a110cfa Bump dependencies 2017-05-15 18:54:29 +02:00
Alexandre Archambault 690b0b3215 Be fine with signatures of signatures of checksums of signatures of checksums of POMs
or various combinations of those
2017-05-11 17:48:45 +02:00
Alexandre Archambault 394f9f2bb6 Handle html entities in XML files 2017-05-11 17:48:44 +02:00
Alexandre Archambault 2f0eb1dba8 wuw 2017-05-11 17:48:44 +02:00
Alexandre Archambault 83e04a8e45 Get parent metadata prior to requiring import dependencies 2017-05-11 17:48:43 +02:00
Alexandre Archambault 3a2b253643 Shade jsoup too 2017-05-10 02:52:05 +02:00
Alexandre Archambault ef3d8c06a5 Ignore JARs of relocated dependencies 2017-05-05 18:04:20 +02:00
Jentsch d2d8c3934a Simplified and moved Tree printer Test 2017-05-02 22:34:46 +02:00
Alexandre Archambault b65fdf3c7b Switch to scala 2.11.11 2017-04-26 14:11:38 +02:00
Alexandre Archambault ad8eb31b68 Avoid now deprecated method 2017-04-24 20:46:22 +02:00
Alexandre Archambault ec0ed108e1 Add support for relocation 2017-04-21 16:47:48 +02:00
Alexandre Archambault ad80e1482c Accept "groupId", "artifactId", "version" properties 2017-04-21 15:56:59 +02:00
Alexandre Archambault dba6225ac1 Add support for build metadata in versions 2017-04-21 14:52:19 +02:00
Alexandre Archambault 876129a605 Cleaning 2017-04-21 14:44:39 +02:00
Alexandre Archambault ef21746c81 Be fine with extensions / types with dots
Like tar.gz
2017-04-11 14:41:16 +02:00
Alexandre Archambault 9c6c274571 Tweak properties substitution to be fine with deeplearning4j 2017-04-10 13:51:22 +02:00
Alexandre Archambault d629f8f7b9 Merge pull request #487 from coursier/topic/tweak-optional-config
Tweak optional pseudo-configuration
2017-04-06 15:45:29 +02:00
Alexandre Archambault 2420fa8a69 Tweak optional pseudo-configuration
Have it ~extends "default" rather than "compile", so that depending on both "default" and "optional" can be simplified to just "optional" ("default" being pulled by it now, thanks to this change). That allows to address the scala-compiler jar appearing twice on the classpath sometimes.
2017-04-06 00:14:33 +02:00
Ólafur Páll Geirsson 45b920c352 Support --repository bintray-ivy:org/repo/ in cli.
This commit adds support for a `bintray-ivy:` repository prefix to the `--repository`
flag in the cli. This option is equivalent to the `Resolver.bintrayIvyRepo` helper in sbt.
With this new helper, it's possible to write `-r bintray-ivy:scalameta/maven/` instead of

```
-r ivy:https://dl.bintray.com/scalameta/maven/[organisation]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
```
2017-04-05 18:00:59 +02:00
Alexandre Archambault b54438c1ba Add fallback if directory listings are not available 2017-04-04 14:45:06 +02:00
Alexandre Archambault f0d16c88d8 Merge pull request #421 from kzys/fix-408
Trim whitespaces around version specifiers
2017-03-27 10:55:04 +02:00
Kazuyoshi Kato 557cd8036d Report all errors including POM-related ones
Resolution#errors don't have POM-related errors (e.g. #157).
The new `metadataErrors` method would replace the original `errors`
eventually.
2017-03-25 23:07:49 -07:00
Alexandre Archambault 729c62278a Fix missing artifacts for snapshot versioning
Regression since recent overhaul of artifact type handling
2017-03-23 14:07:48 +01:00
Alexandre Archambault 9e2d1b3686 Update flaky test 2017-03-21 11:56:44 +01:00