Commit Graph

95 Commits

Author SHA1 Message Date
Alexandre Archambault 5bc6306608 Don't print redundant message 2016-02-12 00:01:17 +01:00
Alexandre Archambault 1ef56e9f49 No unnecessary warning message with the launch command
when using the proguarded coursier launcher
2016-02-11 23:58:35 +01:00
Alexandre Archambault 6e5bdd80a1 Add checksum CLI option 2016-02-11 22:44:51 +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 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 0b5316fa52 Cleaning 2016-01-27 11:33:13 +01:00
Alexandre Archambault 3d1beadea9 Slightly better error printing 2016-01-26 18:14:21 +01:00
Alexandre Archambault 061dbe2f91 Slightly different indentation in output 2016-01-26 18:14:20 +01:00
Alexandre Archambault bf7386a218 Print results of the resolution command on stdout and unindented
For easier piping to other processes
2016-01-26 18:14:20 +01:00
Alexandre Archambault 08312b9c2e Catch NoSuchMethodExceptions in launcher
Fixes https://github.com/alexarchambault/coursier/issues/76
2016-01-26 18:14:20 +01:00
Alexandre Archambault 58e6375c33 Add support for standalone launchers in bootstrap command 2016-01-26 18:14:20 +01:00
Alexandre Archambault 63d0d7d1c3 Fix help message 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 77fd840af9 Multiple isolation levels support in generated boostraps 2016-01-11 21:20:54 +01:00
Alexandre Archambault 3259fec276 Multiple isolation levels 2016-01-10 21:32:30 +01:00
Alexandre Archambault 1ebced021b Add support for isolate ClassLoaders 2016-01-10 21:32:29 +01:00
Alexandre Archambault f02d26c3bf Remove dead / erroneous code 2016-01-10 21:32:28 +01:00
Alexandre Archambault 68768cc871 Add resolve command, plus some tidying 2016-01-10 21:32:28 +01:00
Alexandre Archambault 5cbacc6e4f JDK 1.7 friendliness 2016-01-03 20:08:44 +01:00
Alexandre Archambault 3ead95b324 Boostrap can now be launched directly
Doesn't require to be launched via a shell
2016-01-03 19:35:01 +01:00
Alexandre Archambault 29e3cf8f81 Rename apply method of Fetch to from 2016-01-03 16:39:30 +01:00
Alexandre Archambault da843046df Unify global caches (defaults to ~/.coursier/cache/v1) 2016-01-03 16:39:30 +01:00
Alexandre Archambault ac23e17c49 Remove "ivy-like" Maven repository support
Was a workaround for ~/.ivy2/local, before support for Ivy repositories was added
2016-01-02 14:06:16 +01:00
Alexandre Archambault 56bed6ee61 Ensure `sbt test` is fine in both 2.10 and 2.11, and bootstrap module is
not published

For the release to go smoothly
2015-12-30 23:56:55 +01:00
Alexandre Archambault 2463e41df1 Fix up (...) 2015-12-30 01:34:32 +01:00
Alexandre Archambault 139525355a Better terminal output 2015-12-30 01:34:32 +01:00
Alexandre Archambault aa9a43b483 More for extra attributes from POM (#2) 2015-12-30 01:34:32 +01:00
Alexandre Archambault 0d5ac09aa1 More for extra attributes from POM 2015-12-30 01:34:32 +01:00
Alexandre Archambault 9c9c6de14e Remove debug message 2015-12-30 01:34:32 +01:00
Alexandre Archambault ebd97b8340 Move TermDisplay to cache module, remove dependency of plugin towards cli 2015-12-30 01:34:32 +01:00
Alexandre Archambault aa2a909fbd ResolutionClassLoader (WIP) 2015-12-30 01:34:32 +01:00
Alexandre Archambault 9f26ed05b2 Rename Files to Cache 2015-12-30 01:34:32 +01:00
Alexandre Archambault 064f495114 Remove Files case class 2015-12-30 01:34:32 +01:00
Alexandre Archambault 5d32358c2e Better handling of attributes from SBT 2015-12-30 01:34:32 +01:00
Alexandre Archambault f52e2ecca4 Add support for attributes 2015-12-30 01:34:32 +01:00
Alexandre Archambault 22b41317d2 Ensure sources and javadoc fetching are fine 2015-12-30 01:34:32 +01:00
Alexandre Archambault d5d28a0615 Fixup (rework CLI) 2015-12-30 01:34:32 +01:00
Alexandre Archambault fab18dd99b Remove former classpath command (now fetch -p), get sources / javadoc via classifiers 2015-12-30 01:34:32 +01:00
Alexandre Archambault ca17da83f1 Fallback output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 6e2905d905 Fix in TermDisplay 2015-12-30 01:34:32 +01:00
Alexandre Archambault 842de76ca6 Add SBT plugin 2015-12-30 01:34:32 +01:00
Alexandre Archambault 46732be5c9 Changes in cache policy 2015-12-30 01:34:32 +01:00
Alexandre Archambault cf8979f285 Remove deprecated command 2015-12-30 01:34:32 +01:00
Alexandre Archambault f84e9ad938 Changes in files 2015-12-30 01:34:32 +01:00
Alexandre Archambault 3b4b773c64 Add Ivy repository support 2015-12-30 01:34:32 +01:00
Alexandre Archambault e4dfc862b4 Replace scopes with Ivy-like configuration 2015-12-30 01:34:32 +01:00
Alexandre Archambault 9eecd8dc1a Don't print not useful "downloaded 0 bytes" messages 2015-12-03 09:52:17 +01:00
Alexandre Archambault 6ee6d813c5 Add back fetch-local-first logic 2015-11-30 00:00:55 +01:00