Alexandre Archambault
14fd1997aa
Merge pull request #528 from coursier/fix/compilation-warnings
...
Fix compilation warnings
2017-05-03 10:11:22 +02:00
Alexandre Archambault
cb24339e0a
Merge pull request #527 from coursier/fix/shading-exclude-dependencies
...
Fix excludeDependencies handling
2017-05-03 10:10:34 +02:00
Alexandre Archambault
7e56054c4b
Merge pull request #526 from coursier/topic/shade-whole-namespaces
...
Allow to manually shade whole namespaces to speed up shading
2017-05-03 10:10:23 +02:00
Alexandre Archambault
3b111fa1eb
Fix compilation warnings
2017-05-03 00:44:45 +02:00
Alexandre Archambault
e6a2d23524
Add sbt-shading excludeDependencies test
2017-05-03 00:36:59 +02:00
Alexandre Archambault
bf34774e61
Take excludeDependencies into account in published things
2017-05-03 00:36:59 +02:00
Alexandre Archambault
67b9ab0a68
Merge pull request #523 from coursier/topic/clean-up
...
Clean-up
2017-05-03 00:25:50 +02:00
Alexandre Archambault
926613d10d
Allow to manually shade whole namespaces to speed up shading
2017-05-02 23:24:17 +02:00
Jentsch
d2d8c3934a
Simplified and moved Tree printer Test
2017-05-02 22:34:46 +02:00
Jentsch
d875057a36
Dropped deprecated mutable Stack and rewrote Tree generator
2017-05-02 22:34:39 +02:00
Alexandre Archambault
3840171b94
Merge pull request #522 from coursier/topic/bump-scala-js
...
Switch to scala-js 0.6.16
2017-05-01 03:31:47 +02:00
Alexandre Archambault
5b2e6ad7ce
Merge pull request #521 from coursier/topic/update-http-server
...
Update http-server module
2017-04-29 18:55:26 +02:00
Alexandre Archambault
b463f5989d
Switch to scala-js 0.6.16
2017-04-29 17:38:23 +02:00
Alexandre Archambault
1e1e525f83
Use ServerApp from http4s
2017-04-29 17:35:26 +02:00
Alexandre Archambault
efa77a1009
Refactor HttpServer
2017-04-29 17:35:26 +02:00
Alexandre Archambault
4679d5fadf
Switch to latest http4s
...
Travis Mac CI now seems to be on Java 8, no need to compile the http-server module against the latest Java 7 compatible http4s
2017-04-29 17:35:26 +02:00
Alexandre Archambault
7d1097c76f
Merge pull request #517 from coursier/topic/scala-2.11.11
...
Switch to scala 2.11.11
2017-04-29 17:32:55 +02:00
Alexandre Archambault
f93aca0f55
Tweak CI script
2017-04-27 16:10:57 +02:00
Alexandre Archambault
b65fdf3c7b
Switch to scala 2.11.11
2017-04-26 14:11:38 +02:00
Alexandre Archambault
e6c28f02d6
Merge pull request #462 from coursier/topic/profiling
...
Profiling...
2017-04-24 23:10:00 +02:00
Alexandre Archambault
916488393a
Merge pull request #512 from coursier/topic/sbt-release
...
Use sbt-release
2017-04-24 22:40:22 +02:00
Alexandre Archambault
6e79dcab9c
Merge pull request #509 from coursier/topic/javadoc-sources-config
...
Publish sources / javadoc under the right conf
2017-04-24 21:46:38 +02:00
Alexandre Archambault
debf9da7a4
Don't run tests during releases now that the CI statuses are checked
2017-04-24 21:09:12 +02:00
Alexandre Archambault
d800467c3c
Check Appveyor status
2017-04-24 21:09:11 +02:00
Alexandre Archambault
d27cec6839
Check Travis status
2017-04-24 21:09:11 +02:00
Alexandre Archambault
c59648bd80
Use sbt-release
2017-04-24 21:09:11 +02:00
Alexandre Archambault
142aa5ec20
Update Appveyor badge
...
required by GitHub org change
2017-04-24 20:46:23 +02:00
Alexandre Archambault
ade87bc78f
Update script
2017-04-24 20:46:22 +02:00
Alexandre Archambault
ad8eb31b68
Avoid now deprecated method
2017-04-24 20:46:22 +02:00
Alexandre Archambault
7e2593a293
Rework plugins.sbt
2017-04-24 20:46:22 +02:00
Alexandre Archambault
9d300fe3b3
Publish sources / javadoc under the right conf
...
Before that commit, sources / javadoc were put under the "compile"
config when running "publishLocal". This commit puts them under the
"sources" and "docs" configs.
2017-04-22 15:22:43 +02:00
Alexandre Archambault
3c46f452eb
Merge pull request #507 from coursier/topic/foo
...
Various things
2017-04-22 14:27:42 +02:00
Alexandre Archambault
6637ec772b
Merge pull request #508 from smarter/fix-snapshot-no-versioning
...
Fix #506 : Support Maven snapshots without `snapshotVersions`
2017-04-22 14:27:26 +02:00
Alexandre Archambault
34e591792a
Mention JProfiler in README
2017-04-22 14:21:00 +02:00
Valentin Kasas
f0d314d7f2
Use parent's projects resolution result as project cache
2017-04-22 14:20:59 +02:00
Alexandre Archambault
34ff7662db
Naively cache created simple sbt structures
2017-04-22 14:20:57 +02:00
Guillaume Martres
348cc15dba
Fix #506 : Support Maven snapshots without `snapshotVersions`
2017-04-22 02:25:20 +02:00
Alexandre Archambault
ec0ed108e1
Add support for relocation
2017-04-21 16:47:48 +02:00
Alexandre Archambault
13da5e871f
Don't leave POMs as artifacts in update reports
...
sbt-pack isn't too fine with those in particular
2017-04-21 16:26:49 +02:00
Alexandre Archambault
ad80e1482c
Accept "groupId", "artifactId", "version" properties
2017-04-21 15:56:59 +02:00
Alexandre Archambault
869d7c628e
Retry downloads if an SSLException is caught
2017-04-21 15:32:45 +02:00
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