Alexandre Archambault
8ef5a4b46d
Use sub-project names rather than their coordinates
2016-08-22 00:19:52 +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
bbd367d14e
Have coursierDependencyTree not trigger fetching dependency JARs
2016-08-22 00:18:40 +02:00
Alexandre Archambault
1fcd34af8e
Get resolvers from inter-project dependencies too
...
The idea was suggested to me a few days at Scala Up North, by
@MasseGuillaume or @djspiewak, IIRC
Should fix a few test cases more from
https://gist.github.com/paulp/62eaca1850904137959ad9121cce6b15
2016-08-17 23:09:35 +02:00
Alexandre Archambault
8024ec7e64
Take into account user-supplied artifact URLs from project dependencies
...
Should fix the non/spire test case of
https://gist.github.com/paulp/62eaca1850904137959ad9121cce6b15
2016-08-17 23:09:33 +02:00
Alexandre Archambault
ffde1c7145
Try to fix Windows build
2016-08-15 18:59:34 +02:00
Alexandre Archambault
80bd9c0dea
Don't let two different scala JARs land in the classpath...
...
...because of SBT
2016-08-15 18:59:29 +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
908a596b6d
Take into account sbt.global.base and sbt.ivy.home properties
2016-08-15 16:14:27 +02:00
Alexandre Archambault
ad4ba45be4
Fix output
2016-08-15 16:14:25 +02:00
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