Commit Graph

281 Commits

Author SHA1 Message Date
Alexandre Archambault f52e2ecca4 Add support for attributes 2015-12-30 01:34:32 +01:00
Alexandre Archambault a3188a9b8a Override updateClassifiers task 2015-12-30 01:34:32 +01:00
Alexandre Archambault c3cc002be2 fixup (Better handling of classifiers) 2015-12-30 01:34:32 +01:00
Alexandre Archambault 0e5118befe Better handling of classifiers 2015-12-30 01:34:32 +01:00
Alexandre Archambault eaa7874874 Move Maven specific method closer to its usage 2015-12-30 01:34:32 +01:00
Alexandre Archambault 842de76ca6 Add SBT plugin 2015-12-30 01:34:32 +01:00
Alexandre Archambault 46732be5c9 Changes in cache policy 2015-12-30 01:34:32 +01:00
Alexandre Archambault f84e9ad938 Changes in files 2015-12-30 01:34:32 +01:00
Alexandre Archambault 3b4b773c64 Add Ivy repository support 2015-12-30 01:34:32 +01:00
Alexandre Archambault e4dfc862b4 Replace scopes with Ivy-like configuration 2015-12-30 01:34:32 +01:00
Alexandre Archambault 98acae19bc Allow to force some module versions during resolution
What SBT calls "dependency overrides"
2015-11-29 21:26:28 +01:00
Alexandre Archambault e20b93326d Move things around
- core doesn't depend anymore on scalaz-concurrent, only on scalaz-core
- metadata and JARs downloading now unified (merged with the latter)
- ...
2015-11-29 20:35:21 +01:00
Alexandre Archambault d134bee906 Enable fetch-from-cache-first by default 2015-11-24 22:18:24 +01:00
Alexandre Archambault 700bf84296 Add fetchLocalFirst, fix in the way local repo are handled 2015-11-23 22:55:30 +01:00
Alexandre Archambault 2f5e731378 launch command should be fine 2015-11-22 23:50:33 +01:00
Alexandre Archambault 715d50e32c Fix scala js tests? 2015-11-21 14:44:30 +01:00
Alexandre Archambault 01ad96413e Switch to build.sbt based build definition 2015-11-21 14:23:06 +01:00
Alexandre Archambault ef09b62f3c Minor refactoring in CachePolicy
Preparing the ground for TTLs
2015-07-08 12:47:02 +02:00
Alexandre Archambault 06a895b2cb Switch to scala 2.11.7 2015-07-07 21:26:42 +02:00
Alexandre Archambault c3e23db5fe Windows-friendlier filenames 2015-07-07 21:19:52 +02:00
Alexandre Archambault bb01b867dd Add snapshot metadata test 2015-07-07 20:43:16 +02:00
Alexandre Archambault da4b0ee648 Cleaning 2015-07-07 20:43:16 +02:00
Alexandre Archambault 286980bca0 Remove unnecessary condition in default filter 2015-07-07 20:43:15 +02:00
Alexandre Archambault aea6e958ea Formatting / styling 2015-07-07 20:43:14 +02:00
Alexandre Archambault 7f774319e6 Better file URI handling
Next step would be to make Artifact generic, and use java.net.URI /
java.io.File instead of strings.
2015-07-07 14:21:27 +02:00
Alexandre Archambault 0418c790b6 Snapshot versioning
Fixes https://github.com/alexarchambault/coursier/issues/61
2015-07-07 14:21:27 +02:00
Alexandre Archambault 38f6eda609 Changes in files API, checksum verifying 2015-07-05 15:47:49 +02:00
Alexandre Archambault 8e8bbc6c9f Changes in artifact definition 2015-07-04 16:19:42 +02:00
Alexandre Archambault 6ed8f6e2d1 Minor refactoring 2015-07-04 16:19:41 +02:00
Alexandre Archambault 6eeb792829 Made implicit the cache policy arguments 2015-07-04 16:19:39 +02:00
Alexandre Archambault e2c654eb88 Move back CachePolicy to namespace coursier.core 2015-07-04 16:19:37 +02:00
Alexandre Archambault edb1c6f2c5 Formatting / styling 2015-07-04 16:19:36 +02:00
Alexandre Archambault ee1a6a68f6 Offline option in CLI tool, minor refactoring in MavenRepository 2015-07-04 16:19:34 +02:00
Alexandre Archambault 842faf5dd2 Formatting / styling 2015-06-28 15:20:02 +02:00
Alexandre Archambault b4e58dd34a Better handling of Maven scopes
Used to fetch unnecessary project info.
TODO Add non regression tests for that.
2015-06-27 15:34:54 +02:00
Alexandre Archambault cfd4f711cd Formatting / styling 2015-06-27 15:24:47 +02:00
Alexandre Archambault dc6e1c368c Minor API change 2015-06-26 01:59:13 +02:00
Alexandre Archambault dc2e2278b0 Various API changes 2015-06-26 01:59:12 +02:00
Alexandre Archambault 7a10915ccf Cleaning 2015-06-26 01:59:11 +02:00
Alexandre Archambault db3b244b75 Add ~/.ivy2/local test 2015-06-26 01:59:10 +02:00
Alexandre Archambault b010d4b620 Rework Resolution iteration and artifacts API 2015-06-26 01:59:08 +02:00
Alexandre Archambault 6a91ddfaca ResolutionProcess API 2015-06-26 01:59:07 +02:00
Alexandre Archambault 95f51fdb8f Local ivy2 support 2015-06-26 01:59:07 +02:00
Alexandre Archambault c6398592ce Cleaning 2015-06-25 01:18:58 +02:00
Alexandre Archambault 9fd56848a8 Refactor artifact API 2015-06-25 01:18:57 +02:00
Alexandre Archambault d30be245dc Rename MavenArtifact to Attributes 2015-06-25 01:18:54 +02:00
Alexandre Archambault d2885c59b4 Add stream method to Resolution 2015-06-25 01:18:53 +02:00
Alexandre Archambault 5dc17a5bb3 Better minification 2015-06-25 01:18:52 +02:00
Alexandre Archambault 07278edd6d Add comment 2015-06-25 01:18:51 +02:00
Alexandre Archambault 27c8cc9929 Changes in Resolution API 2015-06-25 01:18:50 +02:00
Alexandre Archambault 510dd7b2d4 Allow empty initial dependencies in Resolution 2015-06-25 01:18:50 +02:00
Alexandre Archambault 0de5330351 Small refactoring 2015-06-25 01:18:49 +02:00
Alexandre Archambault 54338f7b04 Refactor exclusions, add partial orders / minifications 2015-06-25 01:18:47 +02:00
Alexandre Archambault e6ec32f33a Back to a simpler artifact model in resolver 2015-06-25 01:18:46 +02:00
Alexandre Archambault b11126c0cb Remove now useless tests 2015-06-22 23:34:23 +02:00
Alexandre Archambault 4391859a72 Handling version interval properly
Fixes https://github.com/alexarchambault/coursier/issues/2
2015-06-22 23:34:19 +02:00
Alexandre Archambault 17258e72ae Allow Maven profiles to have no ID
Fixes https://github.com/alexarchambault/coursier/issues/6
2015-06-22 23:34:17 +02:00
Alexandre Archambault 6e3caa6d19 Refined artifacts API 2015-06-22 23:34:16 +02:00
Alexandre Archambault c14e6ddb9d Cleaning 2015-06-21 19:37:19 +02:00
Alexandre Archambault 2d541093ff Preparing the ground for Ivy artifacts, and better artifact API 2015-06-21 19:37:19 +02:00
Alexandre Archambault f99c880c16 Add Central test 2015-06-21 19:37:19 +02:00
Alexandre Archambault bda358ba9b Merge Version and ComparableVersion 2015-06-21 19:37:19 +02:00
Alexandre Archambault a70ed0c292 Add Central test 2015-06-21 19:37:19 +02:00
Alexandre Archambault 02d28ef9bb Cleaning 2015-06-21 19:37:19 +02:00
Alexandre Archambault 3f8202a1d7 Cleaning 2015-06-21 19:37:18 +02:00
Alexandre Archambault 51af58da62 Simplified DateTime definition 2015-06-21 19:37:18 +02:00
Alexandre Archambault df7d1e7693 Rework of the filtering of no more required dependencies 2015-06-21 19:37:18 +02:00
Alexandre Archambault dddc750df3 Add exclusion/optional merging test
Would not expect this to pass before 524ed3320b
2015-06-21 19:04:48 +02:00
Alexandre Archambault 474a4a01f6 Cleaning 2015-06-21 19:04:47 +02:00
Alexandre Archambault d1249b0223 Add comments / cleaning 2015-06-20 16:02:37 +02:00
Alexandre Archambault 76c4b96bc1 Cleaning 2015-06-20 16:02:36 +02:00
Alexandre Archambault 57cf737852 Fix
Fixes resolutions wrongly reported as not done. Happened for
org.apache.spark:spark-core_2.11:1.3.1 in particular.
2015-06-20 16:02:35 +02:00
Alexandre Archambault 9455a9906f Basic caching 2015-06-20 16:02:35 +02:00
Alexandre Archambault 722d4ff614 Add comments 2015-06-18 18:52:32 +02:00
Alexandre Archambault 524ed3320b Change in model
- version split off module
- not trying to merge dependencies having the same module (by merging
  exclusions, optional flag, etc.)

*needs tests and comments* (there were corner cases exclusions + optional were buggy if together)
2015-06-18 03:16:54 +02:00
Alexandre Archambault 8d27ab7150 Better properties substitution 2015-06-18 00:25:17 +02:00
Alexandre Archambault fd495cc9f8 Looser property parsing (for scala-js) 2015-06-18 00:25:16 +02:00
Alexandre Archambault 60a7d3796f Remove dependency on http4s 2015-06-17 20:27:47 +02:00
Alexandre Archambault 628060d94e Typo in doc 2015-06-17 19:27:41 +02:00
Alexandre Archambault 90aebd0075 Add comments 2015-06-17 19:27:41 +02:00
Alexandre Archambault 5e25748d83 Initial commit 2015-06-16 20:32:17 +02:00