Commit Graph

299 Commits

Author SHA1 Message Date
Alexandre Archambault f8884d4170 Re-enable Nexus proxy tests, launch the mirrors from the tests 2018-03-16 13:44:43 +01:00
Alexandre Archambault 44b4ffee84
Updates for 1.1.0-M1 2018-03-14 12:29:36 +01:00
Alexandre Archambault b1fde7291d Don't require manually running npm install before the JS tests 2018-03-12 21:50:35 +01:00
Alexandre Archambault dc2e4996f4 Require Java 8 from now on 2018-03-12 21:50:35 +01:00
Alexandre Archambault 5bd162d5fe Tweak scalac options 2018-03-12 21:50:35 +01:00
Sean Sullivan 2747d1e55a
Update sbt plugins (#792)
sbt-release 1.0.7, sbt-sonatype 2.3, sbt-updates 0.3.4
2018-02-26 11:36:16 +01:00
Alexandre Archambault 0123a377e2 Bump version, remove 1.0.x mima checks 2018-02-22 18:17:10 +01:00
Alexandre Archambault b093c77193 Tweak comment 2018-02-22 11:30:51 +01:00
Alexandre Archambault 4adf65f7e9
Automatically initialize git submodules if necessary (#785) 2018-02-21 11:26:16 +01:00
Leonard Ehrenfried be486c01be Upgrade to sbt 1.1.1 2018-02-09 14:14:59 +01:00
Leonard Ehrenfried c30421e145 Upgrade to sbt 1.1.0, update sbt-pack 2018-02-09 14:14:58 +01:00
Alexandre Archambault 37aff72ada
Updates for 1.0.2 2018-02-09 11:26:37 +01:00
Alexandre Archambault 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01:00
Alexandre Archambault 9c274c23d6 Update release process
tut seems not to work anymore here in 2.12…
2018-02-03 18:12:28 +01:00
Alexandre Archambault d36cf0c57b Updates for 1.0.1 2018-02-03 18:11:16 +01:00
Alexandre Archambault 886b4647d9 Update release process 2018-02-01 23:59:46 +01:00
Alexandre Archambault 695c677269 Updates for 1.0.1-M1 2018-02-01 23:57:24 +01:00
Dale Wijnand 70fa5f13cb Update, extract & override scala versions for plugins (#730)
* Update, extract & override scala versions for plugins

* Only override crossScalaVersions in sbt-plugins

That way (hopefully) the current CI setup using ++ doesn't break. See #730
2018-01-10 17:24:16 +01:00
Dale Wijnand 7953cc4d67
Enable reflective class in the hackaround of tweakedScriptedTask 2018-01-09 14:49:57 +00:00
Alexandre Archambault 0bbdcb8446 Remove remaining sbt launcher stuff 2017-12-28 11:47:04 +01:00
Alexandre Archambault 0002798221 Remove sbt-launcher project
Now lives in its own repo at https://github.com/coursier/sbt-launcher
2017-12-28 10:19:05 +01:00
Alexandre Archambault d3360d640d Workaround for method not found for sbt 0.13 scripted tests 2017-12-27 16:38:21 +01:00
Alexandre Archambault 948361e429 More refined, and manual, activation of scripted
Allows to do a `sbt ++2.11.11 test:compile`, without the sbt plugin
modules or scripted being an issue.
2017-12-27 16:38:21 +01:00
Alexandre Archambault 6f37e95be6 Switch to sbt 1.0.4 2017-12-27 16:38:21 +01:00
Alexandre Archambault e97eaa18b5 Remove http-server module
Now has its own repo at https://github.com/coursier/http-server

Same Maven coordinates as before, `io.get-coursier:http-server_2.12`
2017-12-27 02:18:35 +01:00
Yi Cheng a4258f48ce
Add json report to fetch and local exclusion option (#692)
This patch introduces changes for cli with json output #659. Format as follows:
```
{
  "conflict_resolution": {
    "org:name:version" (requested): "org:name:version" (reconciled) 
  },
  "dependencies": [
    {
      "coord": "orgA:nameA:versionA",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgY:nameY:versionY>,
      ]
    },
    {
      "coord": "orgB:nameB:versionB",
      "files": [
        [
          <classifier>,
          <path>
        ]
      ],
      "dependencies": [ // coodinates for its transitive dependencies
        <orgX:nameX:versionX>,
        <orgZ:nameZ:versionZ>,
      ]
    },
  ]
}
```
For example:
```
fetch -t org.apache.avro:trevni-avro:1.8.2  org.slf4j:slf4j-api:1.7.6 --json-output-file x.out
  Result:
├─ org.apache.avro:trevni-avro:1.8.2
│  ├─ org.apache.avro:trevni-core:1.8.2
│  │  ├─ org.apache.commons:commons-compress:1.8.1
│  │  ├─ org.slf4j:slf4j-api:1.7.7
│  │  └─ org.xerial.snappy:snappy-java:1.1.1.3
│  └─ org.slf4j:slf4j-api:1.7.7
└─ org.slf4j:slf4j-api:1.7.6 -> 1.7.7
```
would produce the following json file:
```
$ jq < x.out 
{
  "conflict_resolution": {
    "org.slf4j:slf4j-api:1.7.6": "org.slf4j:slf4j-api:1.7.7"
  },
  "dependencies": [
    {
      "coord": "org.apache.avro:trevni-core:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-core/1.8.2/trevni-core-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.apache.avro:trevni-avro:1.8.2",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/avro/trevni-avro/1.8.2/trevni-avro-1.8.2.jar"
        ]
      ],
      "dependencies": [
        "org.apache.avro:trevni-core:1.8.2",
        "org.slf4j:slf4j-api:1.7.7",
        "org.xerial.snappy:snappy-java:1.1.1.3",
        "org.apache.commons:commons-compress:1.8.1"
      ]
    },
    {
      "coord": "org.slf4j:slf4j-api:1.7.7",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.apache.commons:commons-compress:1.8.1",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar"
        ]
      ],
      "dependencies": []
    },
    {
      "coord": "org.xerial.snappy:snappy-java:1.1.1.3",
      "files": [
        [
          "",
          "/Users/yic/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/xerial/snappy/snappy-java/1.1.1.3/snappy-java-1.1.1.3.jar"
        ]
      ],
      "dependencies": []
    }
  ]
}

```
2017-12-26 10:46:35 -08:00
Alexandre Archambault 1c134dc2a6 Update test fixtures if snapshot version changes 2017-12-18 12:00:10 +01:00
Alexandre Archambault 384f7ecc47
Updates for 1.0.0 2017-12-14 12:50:01 +00:00
Alexandre Archambault cbf3ff5558
Updates for 1.0.0-RC14 2017-12-12 02:05:09 +01:00
Alexandre Archambault ee9c61393c Move FromSbt / ToSbt helpers to separate module 2017-12-11 10:07:04 +01:00
Alexandre Archambault a10b4ad0b0
Updates for 1.0.0-RC13 2017-10-29 15:08:20 +01:00
Alexandre Archambault 5377ce71df
Updates for 1.0.0-RC12-1 2017-10-28 13:33:10 +02:00
Alexandre Archambault d27c0ee46e Quick hack to make publishSigned work again with sbt 1.0.2
Ideally, the scripted tests should still be run with sbt 1.0.1 too, to
ensure there are no regression with it, but the current setup doesn't
make that easy.
2017-10-27 17:19:34 +02:00
Alexandre Archambault afae0cd7f1 Bump asm version (used by shading)
Seems to fix java.lang.IncompatibleClassChangeError errors when using
shaded code. Release of coursier using the next one for shading should
be fine with Java 9 thanks to that.
2017-10-26 16:07:54 +02:00
Alexandre Archambault 34cce59b65 Minor tweaks 2017-10-26 01:36:55 +02:00
Alexandre Archambault 5f5b127563 Bump dependencies 2017-10-21 02:30:51 +02:00
Alexandre Archambault ce2a01af40 Bump plugins 2017-10-21 01:53:25 +02:00
Alexandre Archambault 5645f8fe6d Remove scoverage
It was unused for now, it may be added back later
2017-10-20 02:48:11 +02:00
Alexandre Archambault ccd102e2ec Remove scripted workaround
Shouldn't be required anymore since
09c5ce417a
2017-09-23 18:00:38 +02:00
Alexandre Archambault 2c4c3aa3d3 Fix README updating in release process 2017-09-20 16:57:31 +02:00
Alexandre Archambault 1252f2b8d5 Use new helper to get coursier version 2017-09-20 16:55:15 +02:00
Alexandre Archambault 799619de6e
Updates for 1.0.0-RC12 2017-09-20 15:13:49 +02:00
Alexandre Archambault 964151392b Allow exclusions to have no explicit artifact ID in POM 2017-09-04 02:01:36 +02:00
Alexandre Archambault 11486ea2ad
Updates for 1.0.0-RC11 2017-08-30 12:57:51 +02:00
Alexandre Archambault 6cc60bea1a
Updates for 1.0.0-RC10 2017-08-09 15:41:45 +02:00
Alexandre Archambault ef596c12c3
Updates for 1.0.0-RC9 2017-08-05 15:32:06 +02:00
Alexandre Archambault e3097a56ca Back to sbt-coursier 1.0.0-RC7 before publishing
Because of https://github.com/coursier/coursier/issues/619
2017-08-05 13:28:40 +02:00
Alexandre Archambault 930a012965 Switch to sbt 1.0.0-RC3 2017-08-04 16:20:03 +02:00
Alexandre Archambault a798b04d99 Switch to scala-js 0.6.19 2017-08-04 16:20:02 +02:00
Alexandre Archambault 662cf62c95 Switch to sbt-mima 0.1.15 2017-08-04 16:20:02 +02:00
Alexandre Archambault b6569c7d4b Switch to sbt 0.13.16 2017-08-04 16:20:01 +02:00
Alexandre Archambault ad78a388f6
Updates for 1.0.0-RC8 2017-07-20 00:23:14 +02:00
Alexandre Archambault f797681fab Switch to sbt 1.0.0-RC2 2017-07-19 01:40:18 +02:00
Alexandre Archambault a7097556db Don't unnecessarily check for mima compatibility once release is done
Simply calling mimaReportBinaryIssues fails because of scalaVersion
discrepancies between core modules and sbt plugins.
2017-07-18 17:54:45 +02:00
Alexandre Archambault 6e86986cde
Updates for 1.0.0-RC7 2017-07-18 17:43:40 +02:00
Alexandre Archambault b91031034c Use custom published scala-native stuff 2017-07-11 20:36:00 +02:00
Alexandre Archambault 3271d90b26 Use custom published version of jarjar 2017-07-11 19:11:18 +02:00
Alexandre Archambault d25df01bf5 Updates for 1.0.0-RC6 2017-06-25 15:13:46 +02:00
Alexandre Archambault 361e4167a4
Updates for 1.0.0-RC5 2017-06-21 09:38:28 +02:00
Alexandre Archambault c945827d95 Fix mimaReportBinaryIssues for scala-js modules 2017-06-18 20:02:05 +02:00
Alexandre Archambault ac5d4cb9cc Updates for 1.0.0-RC4 2017-06-18 19:53:58 +02:00
Alexandre Archambault fb5dbdfbfb Merge pull request #560 from coursier/topic/sbt-1.0.0-M6
Switch to sbt 1.0.0-M6 (WIP)
2017-06-16 16:08:44 +02:00
Alexandre Archambault 8106a1837f Ensure scripted finds its launcher
Meh
2017-06-13 17:51:50 +02:00
Alexandre Archambault b964497f1c Add workaround for sbt 1.0.0-M6 2017-06-07 14:47:11 +02:00
Alexandre Archambault 6d08ced648 Switch to sbt 1.0.0-M6 2017-06-07 14:34:45 +02:00
Alexandre Archambault 995e8c70fd Add sbt-pgp-coursier plugin 2017-06-07 14:24:21 +02:00
Alexandre Archambault 246235c34a Merge pull request #568 from coursier/develop
Latest developments
2017-06-06 19:34:00 +02:00
Alexandre Archambault 4cdd95b37e Really close http connections 2017-06-06 18:01:28 +02:00
Alexandre Archambault 3ac230f0be Watch downloads from other coursier
Rather than failing with lock error
2017-06-06 18:01:24 +02:00
Alexandre Archambault ab8df1e305 Switch to scalajs 0.6.17 2017-06-04 15:27:37 +02:00
Alexandre Archambault 5a53b8447e Merge pull request #559 from coursier/topic/prelude-proguarded-jar
Make the proguarded JAR directly runnable
2017-06-02 15:15:37 +02:00
Alexandre Archambault fa8d952e81 Make the proguarded JAR directly runnable 2017-06-01 13:08:20 +02:00
Alexandre Archambault e0d1a8709b Bump dependencies 2017-06-01 11:52:29 +02:00
Alexandre Archambault 65a0b035d0 Tweak build 2017-05-16 17:05:32 +02:00
Alexandre Archambault 4f0b26d7a7 Add released versions to binary compatiblity versions 2017-05-15 18:54:30 +02:00
Alexandre Archambault a0bc58afa3 Dummy fix in release process 2017-05-15 18:54:29 +02:00
Alexandre Archambault 72fa824f36 Tweak tag step in sbt-release process 2017-05-15 18:54:29 +02:00
Alexandre Archambault 7c7f236bcc Bump plugins 2017-05-15 18:54:29 +02:00
Alexandre Archambault 70dad11384 Enable sbt-updates for plugins 2017-05-15 18:54:29 +02:00
Alexandre Archambault 763106bf96 Switch to tut 0.5.1 2017-05-15 18:54:29 +02:00
Alexandre Archambault f62a110cfa Bump dependencies 2017-05-15 18:54:29 +02:00
Alexandre Archambault 2f350e058b Add sbt-updates 2017-05-15 15:32:49 +02:00
Alexandre Archambault 5ca736b87a Move property file under coursier namespace
Should make it move along the rest when shading coursier
2017-05-15 15:32:48 +02:00
Alexandre Archambault 9c7168fbc7 Add alias 2017-05-15 15:32:48 +02:00
Alexandre Archambault 89c3b3544d Don't create too visible empty directories during build 2017-05-15 15:32:48 +02:00
Alexandre Archambault f8c05d570b Dummy renaming in build 2017-05-15 15:32:47 +02:00
Alexandre Archambault 67b3b06895
Updates for 1.0.0-RC3 2017-05-12 13:18:38 +02:00
Alexandre Archambault ed134dda7a Remove unnecessary java option in scripted tests 2017-05-10 15:39:10 +02:00
Alexandre Archambault 65d8c448ec Address sbt warning 2017-05-06 16:56:07 +02:00
Alexandre Archambault 1d06921038 Fix typo 2017-05-06 16:50:43 +02:00
Alexandre Archambault ef13af2f0c Add required repos 2017-05-06 16:49:32 +02:00
Alexandre Archambault e98d21afc6
Updates for 1.0.0-RC2 2017-05-06 16:42:52 +02:00
Alexandre Archambault 1ad06cf407 Cross-compile plugins for sbt 1.0.0-M5 2017-05-03 19:11:10 +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 b463f5989d Switch to scala-js 0.6.16 2017-04-29 17:38:23 +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 b65fdf3c7b Switch to scala 2.11.11 2017-04-26 14:11: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 7e2593a293 Rework plugins.sbt 2017-04-24 20:46:22 +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 c7eb333d06 Switch to sbt-coursier 1.0.0-RC1 2017-04-08 18:41:26 +02:00
Alexandre Archambault 1380d7a741 Quick & dirty scaladex lookup 2017-04-03 10:09:33 +02:00
Alexandre Archambault 13262a3831 Rework build.sbt 2017-04-02 21:51:11 +02:00
Alexandre Archambault 621d0ca18e Switch to scalajs 0.6.15 2017-03-21 15:01:02 +01:00
Alexandre Archambault 2bc1aebba5 Switch to sbt-coursier / sbt-shading 1.0.0-M15-5
Should not require pulling a custom version of jarjar
2017-03-10 10:31:13 +01:00
Alexandre Archambault 112638582f Shade fastparse 2017-02-28 15:09:18 +01:00
Alexandre Archambault ab319b164f Shade jarjar into sbt-shading 2017-02-28 14:46:58 +01:00
Alexandre Archambault d0bcc77d25 Switch to sbt-coursier 1.0.0-M15-2 2017-02-28 14:26:35 +01:00
Alexandre Archambault 7de033a68f Move all scripts under scripts/ 2017-02-27 16:01:02 +01:00
Alexandre Archambault 88f54cc356 Add sbt-launcher 2017-02-27 16:01:02 +01:00
Alexandre Archambault b65a76136f Switch to sbt-mima 0.1.13, update mima settings
In particular, check compatibility only against current latest version

New issues unearthed after mima plugin version bump
2017-01-31 16:22:16 +01:00
Alexandre Archambault 98a4e6e617 Bump plugin dependencies 2017-01-31 16:22:16 +01:00
Alexandre Archambault ea5169cc0a
Updates for 1.0.0-M15 2016-11-27 18:59:36 +01:00
Alexandre Archambault 9bc85b86e7
Bump dependencies for 2.12.0 2016-11-02 20:47:27 +01:00
Alexandre Archambault 4b14215c33
Prepare build.sbt for 2.12, keep updating dependencies 2016-10-22 22:25:01 +02:00
Lars Hupel f59a6c44c3 dependency updates in preparation for Scala 2.12.x 2016-10-21 21:50:49 +02:00
Alexandre Archambault 34d04fe45e Switch to sbt-coursier 1.0.0-M14 2016-09-07 14:24:59 +02:00
Alexandre Archambault fc7ba78e06
Updates for 1.0.0-M14 2016-08-27 14:48:11 +02:00
Alexandre Archambault 8cf5bbe1cc
Switch to sbt-coursier 1.0.0-M13 2016-08-15 19:00:09 +02:00
Alexandre Archambault 76abb2afb8
Update launcher script 2016-08-06 16:28:51 -04:00
Alexandre Archambault 419ff74a98
Switch to scala-js 0.6.11 2016-08-04 17:42:21 -04:00
Alexandre Archambault ea59ff6974
Update dependencies 2016-06-19 18:11:20 +02:00
Alexandre Archambault 0cf26de004
Update launcher for 1.0.0-M12 2016-05-19 00:10:35 +02:00
Alexandre Archambault 4cff20b205
Move CI related scripts to .ci directory 2016-05-09 19:25:37 +02:00
Alexandre Archambault f68ed5d42b
Add support for HTTP authentication 2016-05-09 19:25:15 +02:00
Alexandre Archambault 8be490ca99 Update launcher 2016-04-22 16:54:34 +02:00
Alexandre Archambault ed631ca8b2
Updates for 1.0.0-M11 2016-04-19 22:13:21 +02:00
Alexandre Archambault e195a96a7f
Enable SBT scripted tests on CI 2016-04-06 22:55:04 +02:00
Alexandre Archambault 1e18b320dd Switch to sbt-coursier 1.0.0-M10 2016-04-05 17:08:51 +02:00
Alexandre Archambault 3ff49d92fa Switch to scala JS 0.6.8 2016-04-05 17:07:20 +02:00
Alexandre Archambault e634e108cf Add basic scripted test 2016-04-01 01:11:48 +02:00
Alexandre Archambault bf82e12daa Updates to 1.0.0-M10 2016-03-16 20:09:02 +01:00
Alexandre Archambault 73e2f5ad68 Add back script to generate standalone launcher *from the sources*
The way described in the README uses the artifacts (from Central or
Sonatype releases)
2016-03-14 16:20:20 +01:00
Alexandre Archambault 29f8d49c83 Switch to scala 2.11.8, SBT scala-js 0.6.7 2016-03-14 16:20:20 +01:00
Alexandre Archambault 9dfcc89b68 Remove standalone launcher from the repository 2016-02-27 14:20:45 +01:00
Alexandre Archambault 92937cb6ec Updates for 1.0.0-M9 2016-02-25 13:19:39 +01:00
Alexandre Archambault c4a1726f3a Have the tiny launcher download only the proguarded (standalone) JAR of coursier-cli 2016-02-24 20:42:14 +01:00
Alexandre Archambault e07cb05194 Update coursier SBT plugin 2016-02-24 20:42:12 +01:00
Alexandre Archambault fa13b939d5 Update launcher 2016-02-20 18:32:38 +01:00
Alexandre Archambault f19288bafb Add MIMA SBT plugin, aiming at binary compatibility as of 1.0.0-M8 2016-02-16 01:03:18 +01:00
Alexandre Archambault 1e4168e872 Update generate-launcher script 2016-02-12 11:55:45 +01:00
Alexandre Archambault 09d05f4be3 Really use proguarded JAR generated from SBT 2016-02-12 00:01:48 +01:00
Alexandre Archambault fc237d61ad Build standalone launcher from SBT 2016-02-07 13:29:39 +01:00
Alexandre Archambault 2224714bc8 Minor fix when launching things from standalone launcher 2016-02-07 13:29:39 +01:00
Alexandre Archambault bf15474714 Update launchers 2016-01-27 17:40:17 +01:00
Alexandre Archambault ce8fb17fd1 Remove sbt-release plugin 2016-01-27 11:45:36 +01:00
Alexandre Archambault c9c6b39e49 Merge pull request #124 from alexarchambault/develop
Latest developments
2016-01-27 11:14:46 +01:00