Commit Graph

84 Commits

Author SHA1 Message Date
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
Alexandre Archambault 6830bc14cf Handle extra SBT artifacts 2016-02-20 15:56:33 +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 061dbe2f91 Slightly different indentation in output 2016-01-26 18:14:20 +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 f655b432e0 Minor fix 2016-01-13 13:32:46 +01:00
Alexandre Archambault 9a61d7bbbf Better output of plugin 2016-01-10 21:32:28 +01:00
Alexandre Archambault 5d13c46b4b Add excludes in Ivy XML generated by plugin
(These are used by the  publish  task)
2016-01-05 21:08:33 +01:00
Alexandre Archambault 3fd060a75a Add support for intransitive dependencies 2016-01-03 19:36:21 +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 ca74648082 Fix minor glitch 2016-01-02 15:51:35 +01:00
Alexandre Archambault c37018b622 Fix for ~/.ivy2/local from plugin on Windows 2016-01-02 14:06:16 +01:00
Alexandre Archambault c481217f77 Have the plugin module be compiled by default too
It shouldn't be viewed as a plugin, nor should it be published, in 2.11.
2015-12-31 01:30:00 +01:00
Alexandre Archambault 8540ba3078 No need to supply pseudo-artifacts for sub-projects 2015-12-30 01:34:32 +01:00
Alexandre Archambault 139525355a Better terminal output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 65a0c4ae55 Print minimized dependencies in plugin output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 357c3fa0f7 Fix parsing of dependencies config mapping of Ivy files 2015-12-30 01:34:32 +01:00