Commit Graph

155 Commits

Author SHA1 Message Date
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
Alexandre Archambault 00aaf8e1ac
Factor default Ivy pattern 2016-04-17 22:24:26 +02:00
Alexandre Archambault 8de5425e4d
Ensure returned resolution artifacts are unique
Should hopefully fix issues sometimes seen on CIs using sbt-coursier
2016-04-09 17:31:57 +02:00
Alexandre Archambault da78c523fb
Remove now unnecessary checks 2016-04-09 01:34:08 +02:00
Alexandre Archambault 105236393d Add benchmark option 2016-04-05 16:58:18 +02:00
Alexandre Archambault 055ff77e5b Cleaning 2016-04-05 16:53:19 +02:00
Alexandre Archambault 1ac8a782a9 Check snapshot versioning metadata for snapshot dependencies only 2016-04-05 16:24:38 +02:00
Alexandre Archambault f167b36c1c Give the .jar extension to maven-plugin packages 2016-04-01 01:57:31 +02:00
Alexandre Archambault cffbe747ed Minor refactoring 2016-04-01 01:56:20 +02:00
Alexandre Archambault d71df26087 Basic property substitution in version in POMs 2016-04-01 01:39:19 +02:00
Alexandre Archambault 064feb8f3e Use the right conf mapping separator 2016-03-14 16:20:21 +01:00
Alexandre Archambault 5e24676216 Add some scaladoc 2016-03-14 16:20:20 +01:00
Alexandre Archambault 49eb37b1a3 Accept configurations to be specified for dependencies in the CLI tools 2016-02-28 17:31:40 +01:00
Alexandre Archambault 5bbe01bfdd Better handling of Maven scopes
Actually a regression introduced when Ivy support was added

Fixes https://github.com/alexarchambault/coursier/issues/178,
https://github.com/alexarchambault/coursier/issues/177
2016-02-28 17:31:20 +01:00
Alexandre Archambault b9895ce801 Add support for packaging attribute in POMs 2016-02-28 17:00:12 +01:00
Alexandre Archambault 1731fca26c Have the cache keep track of missing files 2016-02-24 23:50:04 +01:00
Alexandre Archambault 4676d65031 Really test version intervals...
...and fix the tests
2016-02-22 22:18:52 +01:00
Alexandre Archambault 1d58d8d453 Allow for non default classifiers to be given a try from Maven repositories
TODO Add test with the standalone classifier on coursier-cli once coursier
1.0.0-M8 is released
2016-02-20 15:56:33 +01:00
Alexandre Archambault f6da127759 Minor refactoring 2016-02-20 15:56:33 +01:00
Alexandre Archambault 56192a2cca Replace sealed traits by abstract classes in order to generate less byte code 2016-02-07 14:14:01 +01:00
Alexandre Archambault 2ca57527eb Silent warning
"imported `Properties' is permanently hidden by definition of object Properties in package util"
2016-02-07 14:13:20 +01:00
Alexandre Archambault b05e942fa4 Cache most fields of Resolution 2016-02-07 14:13:20 +01:00
Alexandre Archambault 26e41d4b7e Use Vector instead of List 2016-02-07 14:13:20 +01:00
Alexandre Archambault 829c397ca8 Keep calculated dependencies accross resolutions 2016-02-07 14:13:20 +01:00
Alexandre Archambault c9566fbf5d Cache simple fields 2016-02-07 14:13:20 +01:00
Alexandre Archambault 2e50db9486 Make most case classes final 2016-02-07 14:13:16 +01:00
Alexandre Archambault 796a428ca6 Better handling of info attributes
- Drop them from dependencies originating from Ivy metadata if asked to do so (dropInfoAttributes field of IvyRepository)
- Enable dropping them by default on ~/.ivy2/{cache,local}, and Ivy repositories in SBT plugin
- Add --drop-info-attr CLI option to enable dropping them from the command-line tools
- Test these with org.scala-js:sbt-scalajs;sbtVersion=0.13;scalaVersion=2.10:0.6.6
2016-02-04 15:03:42 +01:00
Alexandre Archambault 58c8cb4192 Print version in help message 2016-02-01 14:26:30 +01:00
Alexandre Archambault d322745ea1 Add support for user-specified exclusions from CLI 2016-01-27 11:33:14 +01:00
Alexandre Archambault 22fd372b0e Print exclusions in output
Fixes https://github.com/alexarchambault/coursier/issues/118
2016-01-26 18:14:20 +01:00
Alexandre Archambault 7330494873 Add support for Ivy latest revision syntax
Like 2.2.+ for [2.2.0,2.3.0)

Fixes https://github.com/alexarchambault/coursier/issues/104
2016-01-26 18:14:20 +01:00
Alexandre Archambault 061dbe2f91 Slightly different indentation in output 2016-01-26 18:14:20 +01:00
Alexandre Archambault a254b9c21c Add support for parent project POM properties
Fixes https://github.com/alexarchambault/coursier/issues/120
2016-01-26 18:14:20 +01:00
Alexandre Archambault 92e5917af6 Simplify ClassLoader isolation in launch command
No more SBT-inspired ClasspathFilter. It now just tries to find the ClassLoader that loaded coursier, and use the parent as a base to load the launched application.

Allows to remove the -b option of the bootstrap command, and remove BaseCommand (that was holding options common to all commands).
2016-01-26 18:14:20 +01:00
Alexandre Archambault 3e9a37edc3 Do not fetch artifacts with a classifier from Ivy repositories if not
asked to do so
2016-01-26 18:14:20 +01:00
Alexandre Archambault a9f3403520 Add support for ~/.ivy2/cache as a repository 2016-01-14 01:10:06 +01:00
Alexandre Archambault c476b08f32 Add support for Ivy repositories with different artifact / metadata
patterns
2016-01-14 00:42:10 +01:00
Alexandre Archambault 51b3da8126 Fix small glitch in SBT plugin output 2016-01-13 20:48:21 +01:00
Alexandre Archambault 68768cc871 Add resolve command, plus some tidying 2016-01-10 21:32:28 +01:00
Alexandre Archambault 8527630e8e Merge pull request #100 from alexarchambault/topic/fix
Fix
2016-01-05 10:32:57 +01:00
Alexandre Archambault 8180e09fcd Fix
Absolute-fscking-ly need unit tests for the features added recently now
2016-01-03 23:44:15 +01:00