Alexandre Archambault
75a180b7f3
Fix
2016-08-06 00:00:51 -04: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
da1dae49dd
Fix default path
2016-08-05 14:33:01 -04:00
Alexandre Archambault
c0f1ac8602
Set default value for download dir option of boostrap command
2016-08-04 18:41:58 -04:00
Alexandre Archambault
c89dc684c1
Detect main class in bootstrap command
2016-08-04 18:41:56 -04: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
97bdd1f77d
Trap unnecessary launcher stack trace / invocation exception
2016-07-23 17:43:19 +02:00
Alexandre Archambault
84ce09ab43
Set main methods accessible no matter what
...
Allows to run main methods from private classes (like java -cp can)
2016-07-23 17:43:16 +02:00
Alexandre Archambault
efb4f6c5c0
Allow to specify Maven profiles via the CLI app
2016-07-03 16:33:01 +02:00
Alexandre Archambault
387d88d717
Accept non-finite durations as TTL
2016-05-31 15:18:33 +02:00
Alexandre Archambault
b76fbf363a
Add support for TTL
2016-05-31 15:18:29 +02:00
Alexandre Archambault
baa9c17d20
Better --intransitive option from the command-line tools
...
--intransitive accepts a dependency as argument, and adds it as
intransitive dependency - other dependencies are left untouched
2016-05-29 23:42:02 +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
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
7266e8c025
Isolate coursier from the launched app even if coursier is proguarded
...
Confuses scala.util.Properties.versionNumberString from the launched app
in particular - apps launched with scala 2.11.7 end up with this method
returning 2.11.8...
2016-04-22 16:07:54 +02:00
Alexandre Archambault
241cf866a0
Switch to case-app 1.0.0-RC2, remove the need for two -- ...
...
...to specify user arguments with the launch command
2016-04-17 22:24:39 +02:00
Alexandre Archambault
b5b7f7714f
Fix
...
Have IsolatedClassLoader get preserved by proguard (1.0.0-M10 regression)
2016-04-17 20:44:36 +02:00
Alexandre Archambault
14682fc703
Cleaning
2016-04-13 00:34:19 +02:00
Alexandre Archambault
105236393d
Add benchmark option
2016-04-05 16:58:18 +02:00
Alexandre Archambault
62720f94e0
Add update-local and update-local-changing modes
2016-04-05 16:24:37 +02:00
Alexandre Archambault
05d8224c49
Add -P option to force display of progress bars...
...
...else also look at the COURSIER_PROGRESS env var to force enabling or disabling them.
This deprecates the COURSIER_NO_TERM env var.
2016-04-05 16:24:37 +02:00
Alexandre Archambault
20ad158437
Better lookup of main class by launch command
...
- have it only inspect the manifests of the loaded JARs, not those of coursier itself in particular
- print the found main classes if verbosity level >= 2
2016-03-22 23:53:15 +01:00
Alexandre Archambault
60f421346f
Adjust default verbosity settings of CLI tool
2016-03-14 16:20:21 +01:00
Alexandre Archambault
265977cdfe
Fix verbose option
...
Fixes https://github.com/alexarchambault/coursier/issues/86
2016-03-14 16:20:21 +01:00
Alexandre Archambault
4be4f761a6
Keep moving things around in cli module
...
In particular, put each command in a separate file...
2016-03-14 16:20:21 +01:00
Alexandre Archambault
d4b2549c13
Move things around in cli module
2016-03-14 16:20:21 +01:00
Alexandre Archambault
a2364ca0c5
Add support for custom URL protocols
2016-03-06 14:45:58 +01:00
Alexandre Archambault
a7a34320df
Cache now only designated by a simple directory
2016-03-06 14:45:57 +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
0b38b0bc00
Allow to specify Java options in the generated bootstraps
2016-02-24 20:42:13 +01:00
Alexandre Archambault
60f4d3b61d
Have the bootstrap command take into account the --classifier arguments
2016-02-24 20:42:13 +01:00
Alexandre Archambault
dade161d3e
Add --force option to the fetch CLI command, better error reporting
2016-02-22 22:58:01 +01:00
Alexandre Archambault
67bc0fcffa
Remove unnecessary logback config file in CLI project
2016-02-21 20:24:27 +01:00
Alexandre Archambault
bccffaab6d
Add --classifier option
2016-02-20 16:00:09 +01:00
Alexandre Archambault
80807f4d93
Add --intransitive option
2016-02-20 15:56:33 +01:00
Alexandre Archambault
facf76eb20
Automatically publish the proguarded JAR
2016-02-20 15:56:20 +01:00
Alexandre Archambault
d7e5c23036
Fix in launcher class loader isolation
...
Fixes https://github.com/alexarchambault/coursier/issues/141
2016-02-17 09:54:00 +01:00
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
Alexandre Archambault
a2bcc355b7
Allow to force module versions from CLI
...
Fixes https://github.com/alexarchambault/coursier/issues/17
2015-11-29 21:26:28 +01:00
Alexandre Archambault
ae66d22024
Download progress in terminal
2015-11-29 20:35:21 +01:00
Alexandre Archambault
adef5a2438
Minor changes in logging
2015-11-29 20:35:21 +01:00
Alexandre Archambault
e20b93326d
Move things around
...
- core doesn't depend anymore on scalaz-concurrent, only on scalaz-core
- metadata and JARs downloading now unified (merged with the latter)
- ...
2015-11-29 20:35:21 +01:00
Alexandre Archambault
8bb9521199
Better help messages
2015-11-24 21:11:27 +01:00
Alexandre Archambault
4b55618bdb
Allow to specify Maven repository with their base URL with the -r option
2015-11-23 23:47:40 +01:00
Alexandre Archambault
a0efbc539f
Slightly better help message
2015-11-23 23:18:07 +01:00
Alexandre Archambault
700bf84296
Add fetchLocalFirst, fix in the way local repo are handled
2015-11-23 22:55:30 +01:00
Alexandre Archambault
779d813ce3
Allow to set cache location with CLI options, or look at COURSIER_CACHE env. var., allow to set env. var. in generated bootstraps
2015-11-23 01:07:47 +01:00
Alexandre Archambault
2f5e731378
launch command should be fine
2015-11-22 23:50:33 +01:00
Alexandre Archambault
a6091c3df1
Add bootstrap app
2015-11-21 14:23:08 +01:00
Alexandre Archambault
b5529679cf
Update to last case-app
2015-11-21 14:23:07 +01:00