Commit Graph

1081 Commits

Author SHA1 Message Date
Alexandre Archambault 350b4afaeb Merge pull request #305 from rtfpessoa/fix-exception-when-reading-files
Catch exception when reading file
2016-07-25 00:17:44 +02:00
Rodrigo Fernandes 88cd8909a3
Catch exception when reading file 2016-07-24 13:56:45 +01:00
Alexandre Archambault 39e6f5dfb4
Fix README validation, run tut on CI 2016-07-24 14:32:36 +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 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 efbcbbf860
Fix bintray resolvers syntax
Example of options that can be supplied to CLI tools:
    -r bintray:scalaz/maven
2016-07-23 18:38:08 +02:00
Alexandre Archambault eb4e73fa54
Better handling of version intervals / hints reconciliation
Fixes https://github.com/alexarchambault/coursier/issues/303
2016-07-23 18:36:36 +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 127e73abe9 Merge pull request #294 from alexarchambault/topic/better-ivy-pattern-parser
Better handling of Ivy patterns
2016-07-23 17:38:07 +02:00
Alexandre Archambault 800d0a1692
Update version 2016-07-23 17:04:43 +02:00
Alexandre Archambault 1c34362b6f
Better handling of Ivy patterns 2016-07-23 13:56:28 +02:00
Alexandre Archambault d2340c891e Merge pull request #293 from alexarchambault/topic/profile-cli
Allow to specify Maven profile via the CLI, along with important fix in profile / dependency management handling
2016-07-10 20:16:18 +02:00
Alexandre Archambault d0e11c9153
Fix tests after recent changes / fixes in dependency management / profiles handling 2016-07-03 16:34:18 +02:00
Alexandre Archambault 3a6cdb20fb
Better handling of properties in dependency management / profiles
Test fix in the next commit prevents regressions
2016-07-03 16:34:12 +02:00
Alexandre Archambault 5146be5c39
Major / important fix in dependency management handling
Version and scope from dependency management now override the ones from
the dependencies no matter what.

For spark 1.3 (a bit old now, but unit tested in CentralTests), this
makes spark-core depend on hadoop 1.x by default (because of dependency
management), instead of hadoop 2.2 whose versions appear in the dependency
sections of it (but are now overridden by those in dependency management).
Enabling the hadoop-2.2 profile reestablishes the former hadoop 2.2
versions.

This commit breaks the spark related test in CentralTests, repaired by
the next two commits.
2016-07-03 16:34:09 +02:00
Alexandre Archambault ffd58b51b0
Minor refacto 2016-07-03 16:33:05 +02:00
Alexandre Archambault efb4f6c5c0
Allow to specify Maven profiles via the CLI app 2016-07-03 16:33:01 +02:00
Alexandre Archambault f4dc1044e3
Add non regression test 2016-07-03 16:32:57 +02:00
Alexandre Archambault bdbc8e6dd9 Merge pull request #290 from alexarchambault/topic/develop
Set default artifact type to JAR from sbt plugin
2016-07-02 17:01:35 +02:00
Alexandre Archambault cb1dd7ea52 Merge pull request #289 from alexarchambault/topic/internals
Add early internals document draft
2016-07-02 17:01:20 +02:00
Alexandre Archambault b61286004d
Add early internals document draft 2016-06-28 00:10:37 +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 462c16d6db Merge pull request #281 from alexarchambault/topic/updates
Update dependencies
2016-06-20 16:24:25 +02:00
Alexandre Archambault ea59ff6974
Update dependencies 2016-06-19 18:11:20 +02:00
Alexandre Archambault 05dffeb7b5
Add release notes for 1.0.0-M12-1 2016-06-01 23:30:55 +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 5720001974 Merge pull request #269 from alexarchambault/topic/ttl
Add support for TTL (cache)
2016-05-31 19:44:23 +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 6aad1c6310
Add scaladoc 2016-05-31 13:41:56 +02:00
Alexandre Archambault bde69ecb10 Merge pull request #267 from alexarchambault/topic/scala-org
Take into account scalaOrganization setting
2016-05-30 20:42:50 +02:00
Alexandre Archambault d6155160e7
Take into account scalaOrganization setting 2016-05-30 13:15:02 +02:00
Alexandre Archambault 4b2651be3f Merge pull request #264 from alexarchambault/topic/better-intransitive
Better --intransitive option from the command-line tools
2016-05-30 10:27:26 +02:00
Alexandre Archambault 0a38127d2f Merge pull request #265 from alexarchambault/topic/ivy-version-intervals
Add support for version intervals for Ivy repositories
2016-05-30 10:27:18 +02:00
Alexandre Archambault 1553d0b9d9
Add support for Ivy version ranges 2016-05-30 00:40:41 +02:00
Alexandre Archambault 24235c12cc
Change module name of root project not to confuse sbt-coursier 2016-05-29 23:45:55 +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 c5fb28f982 Merge pull request #262 from alexarchambault/topic/use-dependency-version
Keep version actually used to fetch metadata, to get artifacts
2016-05-29 12:59:59 +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 3ffba8b974 Merge pull request #257 from alexarchambault/topic/updates
Various things for 1.0.0-M12-1
2016-05-23 09:54:22 +02:00
Alexandre Archambault 527b1eca96
Disable progress bar by default if CI or Emacs detected 2016-05-22 21:59:05 +02:00
Alexandre Archambault 3045ebbfd0
Get credentials from SBT key `credentials` if available 2016-05-22 21:59:02 +02:00
Alexandre Archambault 84d75655fa
Add a few words about credentials in README 2016-05-22 21:58:37 +02:00
Alexandre Archambault 7c1813c2cc
Bump module versions in README, fix typos, add back lost chunks 2016-05-22 21:56:01 +02:00