Alexandre Archambault
8a0b083125
Fix cache key
2016-08-03 19:37:25 -04:00
Alexandre Archambault
5db01b37d6
Shutdown thread pools and manually created threads
2016-08-03 19:37:22 -04:00
Alexandre Archambault
47e0d38a3b
Add support for Maven profiles from the SBT plugin
2016-07-25 00:18:59 +02:00
Alexandre Archambault
22c7340f6f
Better inter-project dependencies handling
2016-07-24 14:32:33 +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
658d451561
Disable reading of SBT credentials by default
...
Fixes https://github.com/alexarchambault/coursier/issues/299
2016-07-23 18:39:28 +02:00
Alexandre Archambault
1c34362b6f
Better handling of Ivy patterns
2016-07-23 13:56:28 +02:00
Alexandre Archambault
75c86690d5
Set default artifact type to JAR from sbt plugin
...
Even if the packaging attribute of the dependency says the packaging is different (e.g. pom), this makes the plugin try to get a JAR anyway.
Fixes https://github.com/alexarchambault/coursier/issues/278
2016-06-27 23:53:29 +02:00
Alexandre Archambault
e1d6f352f5
Merge pull request #270 from alexarchambault/topic/plugin-errors
...
Better plugin errors
2016-05-31 19:44:42 +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
6e27a7fc6e
Slightly better error messages from plugin
2016-05-31 13:43:30 +02:00
Alexandre Archambault
e688828f7a
Keep resolution error infos in ad hoc ADT
2016-05-31 13:43:27 +02:00
Alexandre Archambault
201ef286db
Stacktrace-less exceptions in SBT plugin
2016-05-31 13:43:23 +02:00
Alexandre Archambault
d6155160e7
Take into account scalaOrganization setting
2016-05-30 13:15:02 +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
3045ebbfd0
Get credentials from SBT key `credentials` if available
2016-05-22 21:59:02 +02:00
Alexandre Archambault
e9c19369b6
Don't use force download mode in plugin tests on Windows
...
It tries to replace JARs that are in use, and fails as these are locked
on Windows
2016-05-10 12:18:19 +02:00
Alexandre Archambault
363e8687e2
Force downloading things from SBT scripted tests
...
So that things aren't just picked from cache and are really tested
Ideally, the scripted tests should use a different cache directory, wiped after each test, but that seems like too much of a hassle to setup
2016-05-09 19:25:31 +02:00
Alexandre Archambault
0ccabd0820
Add support for HTTP authentication in SBT plugin
2016-05-09 19:25:28 +02:00
Alexandre Archambault
265d79b156
Cleaning
2016-05-09 19:25:26 +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
f24a71f2fc
Add missing Ivy attributes in dependencies of published artifacts
...
Fixes https://github.com/alexarchambault/coursier/issues/237
2016-04-28 23:17:11 +02:00
Alexandre Archambault
869d57c2f4
Tidying
2016-04-28 23:17:07 +02:00
Alexandre Archambault
9072dacb0e
Fix message
2016-04-27 01:12:33 +02:00
Jameel Al-Aziz
4d3f9e2041
Add cross version support with excludeDependencies
2016-04-22 03:05:03 -07: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
5dac114ba4
Small fix
...
Should make updateSbtClassifiers not fail if some javadoc or source JARs
cannot be found.
2016-04-16 15:16:52 +02:00
Alexandre Archambault
ba58d2a374
Take into account isMavenCompatible flag in SBT pattern based repositories
2016-04-09 01:12:09 +02:00
Alexandre Archambault
f73dac68fd
Try not flooding the terminal with ignored errors...
...
...in updateClassifiers.
Also fail if an artifact cannot be fetched in update. A bit risky - might unveil locked errors, that ought to be circumvented.
2016-04-05 17:03:03 +02:00
Alexandre Archambault
d899303d2e
Use SBT logging to print things
2016-04-05 16:58:21 +02:00
Alexandre Archambault
573a54cd8b
Add support for excludeDependencies in SBT plugin
2016-04-01 01:11:48 +02:00
Alexandre Archambault
3367f49058
Add support for fallback artifact in SBT plugin
2016-04-01 01:11:48 +02:00
Alexandre Archambault
4b3659bd0f
Cleaning
2016-04-01 01:11:48 +02:00
Alexandre Archambault
e634e108cf
Add basic scripted test
2016-04-01 01:11:48 +02:00
Alexandre Archambault
2fbe57da7a
Add support for dependencyOverrides in SBT plugin
2016-03-14 16:20:47 +01:00
Alexandre Archambault
3cc88c5606
Adjust verbosity and cache policies settings in SBT plugin
...
- Set default verbosity level to 0
- Use the same cache policies as the CLI app everywhere (local-only, then fetch-missing)
- Allow to manually override these via the environment (COURSIER_VERBOSITY and COURSIER_MODE), or Java properties (coursier.verbosity and coursier.mode)
2016-03-14 16:20:21 +01:00
Alexandre Archambault
68dbe4d122
Set default verbosity level to 0 in SBT plugin
2016-03-14 16:20:21 +01:00
Alexandre Archambault
9cc95c0433
Add project metadata and repositories in resolution cache in SBT plugin
...
Fixes some publish or publishSigned commands failing, for some
modules having the same dependencies as others (thus previously the same
cache key, so no resolution was done and no Ivy file was generated,
which made the publish or publishSigned command complains).
2016-03-06 19:39:15 +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
b9895ce801
Add support for packaging attribute in POMs
2016-02-28 17:00:12 +01:00
Alexandre Archambault
10400ec8c5
Force versions of the usual org.scala-lang modules
2016-02-24 20:22:29 +01:00
Alexandre Archambault
1f1067b483
Add support for sbt.override.build.repos flag
...
Fixes https://github.com/alexarchambault/coursier/issues/134
2016-02-23 20:15:24 +01:00
Alexandre Archambault
117e469ed9
Allow to disable progress bar display with the COURSIER_NO_TERM
...
environment variable by default
COURSIER_NO_TERM just has to be non-empty.
2016-02-22 23:01:22 +01:00
Erik LaBianca
915903faf5
Add support for maven file: repositories
2016-02-22 11:56:15 -05:00
Alexandre Archambault
ec52cb5b3e
More compact publications in generated ivy.xml
2016-02-20 15:56:33 +01:00