Alexandre Archambault
f7020fd0ad
Only warn on missing credential file
2017-04-21 15:11:39 +02:00
Alexandre Archambault
dba6225ac1
Add support for build metadata in versions
2017-04-21 14:52:19 +02:00
Alexandre Archambault
876129a605
Cleaning
2017-04-21 14:44:39 +02:00
Alexandre Archambault
d3b692e165
Don't print exclusions by default
2017-04-21 14:37:20 +02:00
Alexandre Archambault
00443c3a46
Don't use Java >= 7 Exception constructor
2017-04-21 14:37:20 +02:00
Alexandre Archambault
85dcc9d539
Cleaning
2017-04-21 13:49:41 +02:00
Alexandre Archambault
c144feca94
Merge pull request #504 from coursier/topic/tweak-dir-listing-cache
...
Tweak dir listing cache
2017-04-19 11:49:30 +02:00
Alexandre Archambault
68b9eeeda8
Don't use missing directory listing fallback if it can be avoided
...
If the POM is in cache, but not the directory listing (nor a .error file for it), the LocalUpdate and LocalUpdateChanging policies make MavenRepository do as if the directory listing is missing - it is not even checked with the subsequent cache policies if any (because the POM was found with LocalUpdate / LocalUpdateChanging in the first place).
This PR fixes that - getting the POM will fail if the directory listing or an error file for it is missing from cache. That way, subsequent cache policies can fetch the directory listing.
As this only happens depending on what's in cache, it's a bit cumbersome to test as is. Relying fully on NIO2 in subsequent coursier versions should make it easier to add test cases for that (by using a virtual fs like jimfs to test what happens depending on what's in cache).
The test should basically do:
$ coursier fetch org.apache.maven:apache-maven:3.3.9 # fill cache
$ rm -f $CACHE_PATH/https/repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/.directory
$ rm -f $CACHE_PATH/https/repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/..directory.checked
$ coursier fetch org.apache.maven:apache-maven:3.3.9
The second fetch should work fine, fetching the directory listing, seeing that it lists no JAR, and then not attempting to download one. Before this commit, the second attempt would assume that the directory listing is not available, do without it, so assume that a JAR exists, and fail to download it.
2017-04-18 18:31:37 +02:00
Alexandre Archambault
f9de965638
Minor tweaking
2017-04-18 18:31:29 +02:00
Alexandre Archambault
5a738b7bb7
Merge pull request #503 from coursier/topic/missing-commits
...
Missing commits
2017-04-18 15:00:39 +02:00
Alexandre Archambault
143fdc9720
Fix link in release notes
...
Reported by @ritschwumm (via https://gitter.im/coursier/coursier?at=58f15a5dbdf4acc1125e6d5f )
2017-04-18 14:17:11 +02:00
Alexandre Archambault
1a34ed6340
Merge commit '9bc6952' into topic/missing-commits
2017-04-18 14:11:20 +02:00
Alexandre Archambault
0467d85d97
Merge commit 'dacf8a7'
2017-04-18 14:10:08 +02:00
Alexandre Archambault
e9aec8c511
Merge pull request #497 from coursier/topic/fix-unidoc
...
Ensure unidoc generation works fine with sbt-coursier
2017-04-11 17:33:39 +02:00
Alexandre Archambault
046658838b
Merge pull request #498 from coursier/topic/tweak-artifact-listing-0
...
Tweak artifact listing
2017-04-11 17:32:05 +02:00
Alexandre Archambault
9bc69527dd
Update MIMA settings after 1.0.0-RC1 release ( #492 )
...
* Update MIMA settings after 1.0.0-RC1 release
* Adjust things for MIMA after 1.0.0-RC1 release
2017-04-11 15:19:27 +02:00
Alexandre Archambault
261aebcfa2
Ensure unidoc generation works fine with sbt-coursier
2017-04-11 15:10:04 +02:00
Alexandre Archambault
7e32f90a9e
Rework artifact listing for Maven repositories
...
So that signature files, checksums, etc. don't appear as standalone artifacts
2017-04-11 14:41:16 +02:00
Alexandre Archambault
ef21746c81
Be fine with extensions / types with dots
...
Like tar.gz
2017-04-11 14:41:16 +02:00
Alexandre Archambault
dacf8a78a5
Merge pull request #490 from olafurpg/typesafe-ivy
...
Clarify value description for --repository.
2017-04-10 15:02:38 +02:00
Alexandre Archambault
4da99f29c3
Merge pull request #491 from coursier/topic/deeplearning4j
...
Tweak properties substitution...
2017-04-10 14:59:56 +02:00
Alexandre Archambault
9c6c274571
Tweak properties substitution to be fine with deeplearning4j
2017-04-10 13:51:22 +02:00
Ólafur Páll Geirsson
00bbb1a4b6
Clarify value description for --repository.
...
- s/typesafe-ivy:releases/typesafe:ivy-releases/
- prepend variables with `$` to highlight dynamic vs. static parts
2017-04-10 09:26:38 +02:00
Alexandre Archambault
fd5a421145
Merge pull request #489 from coursier/topic/updates
...
Switch to sbt-coursier 1.0.0-RC1
2017-04-09 16:29:32 +02:00
Alexandre Archambault
aa17bcd086
Merge pull request #488 from coursier/topic/update-readme
...
Update README
2017-04-09 16:29:03 +02:00
Alexandre Archambault
0496ec7b8e
Update release notes
2017-04-08 18:43:25 +02:00
Alexandre Archambault
c7eb333d06
Switch to sbt-coursier 1.0.0-RC1
2017-04-08 18:41:26 +02:00
Alexandre Archambault
ca45149bb9
Tweak 1.0.0-RC1 release notes
2017-04-08 18:24:52 +02:00
Alexandre Archambault
ccd1085194
Updates for 1.0.0-RC1
2017-04-08 18:19:10 +02:00
Michael Ledin
800eaecc5c
Added Quill to the list of projects using coursier.
...
Former commit for that got lost for 1.0.0-M15 during a `sbt tut`
2017-04-08 18:11:12 +02:00
Alexandre Archambault
d629f8f7b9
Merge pull request #487 from coursier/topic/tweak-optional-config
...
Tweak optional pseudo-configuration
2017-04-06 15:45:29 +02:00
Alexandre Archambault
e344cdf4a9
Merge pull request #481 from olafurpg/bintray-ivy
...
Support --repository bintray-ivy:org/repo/ in cli.
2017-04-06 01:34:44 +02:00
Alexandre Archambault
2420fa8a69
Tweak optional pseudo-configuration
...
Have it ~extends "default" rather than "compile", so that depending on both "default" and "optional" can be simplified to just "optional" ("default" being pulled by it now, thanks to this change). That allows to address the scala-compiler jar appearing twice on the classpath sometimes.
2017-04-06 00:14:33 +02:00
Ólafur Páll Geirsson
45b920c352
Support --repository bintray-ivy:org/repo/ in cli.
...
This commit adds support for a `bintray-ivy:` repository prefix to the `--repository`
flag in the cli. This option is equivalent to the `Resolver.bintrayIvyRepo` helper in sbt.
With this new helper, it's possible to write `-r bintray-ivy:scalameta/maven/` instead of
```
-r ivy:https://dl.bintray.com/scalameta/maven/[organisation]/[module]/ (scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
```
2017-04-05 18:00:59 +02:00
Alexandre Archambault
6c1b8ea7a4
Merge pull request #486 from coursier/topic/fix-spark-submit-1.x
...
Fix spark-submit command in spark 1.x
2017-04-05 13:30:38 +02:00
Alexandre Archambault
4e3c4aff1d
Fix spark-submit command in spark 1.x
...
Recent regression
2017-04-05 12:33:54 +02:00
Alexandre Archambault
d9519a2e30
Merge pull request #484 from coursier/topic/spark-submit-artifact-types
...
Get both jar and bundle artifacts from spark-submit command
2017-04-04 17:14:00 +02:00
Alexandre Archambault
7e414c1d6b
Merge pull request #480 from coursier/topic/no-directory-listing-fallback
...
Add fallback if directory listings are not available
2017-04-04 16:40:19 +02:00
Alexandre Archambault
a62fb9a85f
Get both jar and bundle artifacts from spark-submit command
...
For the JAR list passed to spark.yarn.jars. The bundle ones are missing since 1.0.0-M15-2 else.
2017-04-04 16:37:51 +02:00
Alexandre Archambault
b54438c1ba
Add fallback if directory listings are not available
2017-04-04 14:45:06 +02:00
Alexandre Archambault
375eeca48b
Merge pull request #385 from coursier/topic/extra
...
Stuff
2017-04-03 17:13:20 +02:00
Alexandre Archambault
7c68e3cd5e
Merge pull request #478 from coursier/topic/tweak-spark-submit
...
Tweak spark-submit command options
2017-04-03 16:12:03 +02:00
Alexandre Archambault
e7f74dda0d
Tweak spark-submit command options
2017-04-03 15:19:09 +02:00
Alexandre Archambault
3afc3433ba
Use https repo
2017-04-03 14:43:08 +02:00
Alexandre Archambault
3b717f8be0
Merge pull request #473 from coursier/topic/contributing-guide
...
Add CONTRIBUTING guide
2017-04-03 10:13:33 +02:00
Alexandre Archambault
8c08ead018
Merge pull request #477 from coursier/topic/enable-sbt-plugin-hack-by-default
...
Enable sbt plugin hack in Maven repo paths by default
2017-04-03 10:10:05 +02:00
Alexandre Archambault
9194853749
More loose main class detection
...
Makes it find the main class of scalafmt
2017-04-03 10:09:33 +02:00
Alexandre Archambault
62d3ed307a
Remove cli=true from scaladex query
...
Makes it not find lihaoyi/Ammonite in particular
2017-04-03 10:09:33 +02:00
Guillaume Massé
c332d4f46e
scaladex cli api change & use scalaVersion from options
...
* Scaladex was updated to allow developers to specify cli artifact. It
will only return projects and artifacts with cli enable
2017-04-03 10:09:33 +02:00
Alexandre Archambault
e8af9e7aba
Parallelize scaladex lookups
2017-04-03 10:09:33 +02:00