Commit Graph

195 Commits

Author SHA1 Message Date
Alexandre Archambault ac00abd152 Tweak artifact listing
Can't remember when / why this one was necessary...
2017-02-27 15:54:57 +01:00
Alexandre Archambault 0e9109c3f7 Don't assume directory listing to be changing...
for non changing dependencies
2017-02-27 15:54:56 +01:00
Alexandre Archambault 766ccbf5a9 Better handling of optional dependencies 2017-02-13 19:19:39 +01:00
Alexandre Archambault cce332eb55 Refactor web page link listing logic, implement it on the scalajs side 2017-02-13 19:19:39 +01:00
Alexandre Archambault 6b89af3924 Better handling of artifacts from Maven repos
Doesn't seem to break things
2017-02-13 19:19:29 +01:00
Alexandre Archambault 5559c5ce01 Minor refacto 2017-02-05 15:36:34 +01:00
Alexandre Archambault 035391f647 Add missing language.implicitConversions imports 2017-02-04 16:36:52 +01:00
Alexandre Archambault d277153777 Annotate all case classes with final 2017-02-04 16:36:52 +01:00
Alexandre Archambault 7194fe7b48 Add missing language.higherKinds imports 2017-02-03 13:45:44 +01:00
Alexandre Archambault 5e0189fa7e
Allow to swap Scala mainline dependencies by Typelevel ones 2016-11-15 00:27:23 +01:00
Alexandre Archambault c16eb18cbf Merge pull request #381 from alexarchambault/topic/fixes
Fixes
2016-11-07 13:50:02 +01:00
Alexandre Archambault d5cc47ae5f
Add non regression test for org.nd4j:nd4j-native:0.5.0...
...and corresponding fixes / workarounds
2016-11-07 12:28:02 +01:00
Alexandre Archambault bf097fa018
Rework profile activation
- don't activate profiles activated by default if some user activated profiles are provided, and
- accept OS / JDK conditions in activation
2016-11-07 12:27:53 +01:00
Kazuyoshi Kato ffa33961f0 Fix #266 by stop recursively traversing a tree 2016-11-02 19:51:05 -07:00
Alexandre Archambault 92c22a03bd
Don't print colors in coursierDependencyTree if sbt.log.noformat is true
Fixes https://github.com/alexarchambault/coursier/issues/362
2016-10-30 23:10:12 +01:00
Alexandre Archambault 92a8ea2ab5 Better handling of artifact types
Fixes https://github.com/alexarchambault/coursier/issues/318
2016-10-30 20:11:09 +01:00
Alexandre Archambault 5eeb825bf5
Dummy refacto 2016-10-22 22:25:08 +02:00
Alexandre Archambault d66f21636f
Should now be fine with 2.12.0-RC2 2016-10-22 22:25:06 +02:00
Erem Boto b1f9cb96d4 Add support for property absence directives in profile activation 2016-10-15 18:34:52 -07:00
Erem Boto 50f38725d8 Make version parsing robust to leading or trailing spaces (#355) 2016-09-30 11:21:38 -07:00
Alexandre Archambault ece1b35c5f
Cleaning 2016-09-01 13:50:49 +02:00
Alexandre Archambault c17cf67734
More reliable fallback dependencies
Should fix the jrudolph/sbt-dependency-graph case of
https://gist.github.com/paulp/62eaca1850904137959ad9121cce6b15
2016-08-22 00:19:49 +02:00
Alexandre Archambault 6f93f85c5d
Switch to scalaz 7.2 2016-08-17 23:09:30 +02:00
Alexandre Archambault 1b0dd4e899
Set default artifact type to empty value
Add non regression test for
https://github.com/alexarchambault/coursier/issues/322

A dirty hack is lying in this commit.
2016-08-15 18:59:19 +02:00
Alexandre Archambault fbc04dcbc8
Be fine with modules like a:🅱️c
a:🅱️c standing for a:b_2.11:c
2016-08-05 14:33:04 -04:00
Alexandre Archambault f61a258574
Accept single version interval syntax
Fixes https://github.com/alexarchambault/coursier/issues/310
2016-08-04 17:42:16 -04:00
Alexandre Archambault 4d73166fbc
Minor refacto 2016-07-25 00:19:06 +02:00
Alexandre Archambault 5ac4efc661
Set default extension and classifier of artifact type test-jar
Fixes https://github.com/alexarchambault/coursier/issues/298
2016-07-24 14:19:45 +02:00
Alexandre Archambault 2283a34829
Set default artifact type to jar from the CLI tools
Fixes https://github.com/alexarchambault/coursier/issues/302
2016-07-23 18:39:17 +02:00
Alexandre Archambault efbcbbf860
Fix bintray resolvers syntax
Example of options that can be supplied to CLI tools:
    -r bintray:scalaz/maven
2016-07-23 18:38:08 +02:00
Alexandre Archambault eb4e73fa54
Better handling of version intervals / hints reconciliation
Fixes https://github.com/alexarchambault/coursier/issues/303
2016-07-23 18:36:36 +02:00
Alexandre Archambault 127e73abe9 Merge pull request #294 from alexarchambault/topic/better-ivy-pattern-parser
Better handling of Ivy patterns
2016-07-23 17:38:07 +02:00
Alexandre Archambault 1c34362b6f
Better handling of Ivy patterns 2016-07-23 13:56:28 +02:00
Alexandre Archambault 3a6cdb20fb
Better handling of properties in dependency management / profiles
Test fix in the next commit prevents regressions
2016-07-03 16:34:12 +02:00
Alexandre Archambault 5146be5c39
Major / important fix in dependency management handling
Version and scope from dependency management now override the ones from
the dependencies no matter what.

For spark 1.3 (a bit old now, but unit tested in CentralTests), this
makes spark-core depend on hadoop 1.x by default (because of dependency
management), instead of hadoop 2.2 whose versions appear in the dependency
sections of it (but are now overridden by those in dependency management).
Enabling the hadoop-2.2 profile reestablishes the former hadoop 2.2
versions.

This commit breaks the spark related test in CentralTests, repaired by
the next two commits.
2016-07-03 16:34:09 +02:00
Alexandre Archambault ffd58b51b0
Minor refacto 2016-07-03 16:33:05 +02:00
Alexandre Archambault efb4f6c5c0
Allow to specify Maven profiles via the CLI app 2016-07-03 16:33:01 +02:00
Alexandre Archambault f4dc1044e3
Add non regression test 2016-07-03 16:32:57 +02:00
Alexandre Archambault 1553d0b9d9
Add support for Ivy version ranges 2016-05-30 00:40:41 +02:00
Alexandre Archambault 2ddfe5f3b2 Keep version actually used to fetch metadata, to get artifacts
In case the one given by the metadata is wrong
2016-05-28 17:15:05 +02:00
Alexandre Archambault b7ba8d98d5
Don't restrict Maven property name characters too much
Fixes https://github.com/alexarchambault/coursier/issues/246
2016-05-10 14:20:16 +02:00
Alexandre Archambault 16225d98e6
Add tasks / settings allowing using other SBT sources as a repository 2016-05-09 19:25:23 +02:00
Alexandre Archambault f68ed5d42b
Add support for HTTP authentication 2016-05-09 19:25:15 +02:00
Alexandre Archambault 00484df435
Exception.getMessage can be null 2016-05-06 13:53:53 +02:00
Alexandre Archambault 3834a9519c
Allow to print dependency trees 2016-05-06 13:53:49 +02:00
Alexandre Archambault bf919d4fc1
Nasty bug
Occurring randomly :-| - hard to unit test...
2016-04-28 21:19:41 +02:00
Alexandre Archambault 5b1165b79e
Add notes about maven model 2016-04-28 21:19:37 +02:00
Alexandre Archambault 05c248df82 Safety check 2016-04-27 01:12:14 +02:00
Alexandre Archambault e5be2c4c2c
Temporary hack
to minimize the chance of two different Artifact to have the same URL -
these are handled well by the cache if the corresponding URL has not
been downloaded yet, and result in one download locking the file for the
others
2016-04-18 00:29:45 +02:00
Alexandre Archambault 5f6caefff6
Add support for shorter syntax for Typesafe and Bintray repositories 2016-04-17 22:24:28 +02:00