Alexandre Archambault
92c22a03bd
Don't print colors in coursierDependencyTree if sbt.log.noformat is true
...
Fixes https://github.com/alexarchambault/coursier/issues/362
2016-10-30 23:10:12 +01:00
Alexandre Archambault
92a8ea2ab5
Better handling of artifact types
...
Fixes https://github.com/alexarchambault/coursier/issues/318
2016-10-30 20:11:09 +01:00
Alexandre Archambault
5eeb825bf5
Dummy refacto
2016-10-22 22:25:08 +02:00
Alexandre Archambault
d66f21636f
Should now be fine with 2.12.0-RC2
2016-10-22 22:25:06 +02:00
Erem Boto
b1f9cb96d4
Add support for property absence directives in profile activation
2016-10-15 18:34:52 -07:00
Erem Boto
50f38725d8
Make version parsing robust to leading or trailing spaces ( #355 )
2016-09-30 11:21:38 -07:00
Alexandre Archambault
ece1b35c5f
Cleaning
2016-09-01 13:50:49 +02:00
Alexandre Archambault
c17cf67734
More reliable fallback dependencies
...
Should fix the jrudolph/sbt-dependency-graph case of
https://gist.github.com/paulp/62eaca1850904137959ad9121cce6b15
2016-08-22 00:19:49 +02:00
Alexandre Archambault
6f93f85c5d
Switch to scalaz 7.2
2016-08-17 23:09:30 +02:00
Alexandre Archambault
1b0dd4e899
Set default artifact type to empty value
...
Add non regression test for
https://github.com/alexarchambault/coursier/issues/322
A dirty hack is lying in this commit.
2016-08-15 18:59:19 +02:00
Alexandre Archambault
fbc04dcbc8
Be fine with modules like a: 🅱️ c
...
a:🅱️ c standing for a:b_2.11:c
2016-08-05 14:33:04 -04:00
Alexandre Archambault
f61a258574
Accept single version interval syntax
...
Fixes https://github.com/alexarchambault/coursier/issues/310
2016-08-04 17:42:16 -04:00
Alexandre Archambault
4d73166fbc
Minor refacto
2016-07-25 00:19:06 +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
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
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
1c34362b6f
Better handling of Ivy patterns
2016-07-23 13:56:28 +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
1553d0b9d9
Add support for Ivy version ranges
2016-05-30 00:40:41 +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
b7ba8d98d5
Don't restrict Maven property name characters too much
...
Fixes https://github.com/alexarchambault/coursier/issues/246
2016-05-10 14:20:16 +02:00
Alexandre Archambault
16225d98e6
Add tasks / settings allowing using other SBT sources as a repository
2016-05-09 19:25:23 +02:00
Alexandre Archambault
f68ed5d42b
Add support for HTTP authentication
2016-05-09 19:25:15 +02:00
Alexandre Archambault
00484df435
Exception.getMessage can be null
2016-05-06 13:53:53 +02:00
Alexandre Archambault
3834a9519c
Allow to print dependency trees
2016-05-06 13:53:49 +02:00
Alexandre Archambault
bf919d4fc1
Nasty bug
...
Occurring randomly :-| - hard to unit test...
2016-04-28 21:19:41 +02:00
Alexandre Archambault
5b1165b79e
Add notes about maven model
2016-04-28 21:19:37 +02:00
Alexandre Archambault
05c248df82
Safety check
2016-04-27 01:12:14 +02:00
Alexandre Archambault
e5be2c4c2c
Temporary hack
...
to minimize the chance of two different Artifact to have the same URL -
these are handled well by the cache if the corresponding URL has not
been downloaded yet, and result in one download locking the file for the
others
2016-04-18 00:29:45 +02:00
Alexandre Archambault
5f6caefff6
Add support for shorter syntax for Typesafe and Bintray repositories
2016-04-17 22:24:28 +02:00
Alexandre Archambault
00aaf8e1ac
Factor default Ivy pattern
2016-04-17 22:24:26 +02:00
Alexandre Archambault
8de5425e4d
Ensure returned resolution artifacts are unique
...
Should hopefully fix issues sometimes seen on CIs using sbt-coursier
2016-04-09 17:31:57 +02:00
Alexandre Archambault
da78c523fb
Remove now unnecessary checks
2016-04-09 01:34:08 +02:00
Alexandre Archambault
105236393d
Add benchmark option
2016-04-05 16:58:18 +02:00
Alexandre Archambault
055ff77e5b
Cleaning
2016-04-05 16:53:19 +02:00
Alexandre Archambault
1ac8a782a9
Check snapshot versioning metadata for snapshot dependencies only
2016-04-05 16:24:38 +02:00
Alexandre Archambault
f167b36c1c
Give the .jar extension to maven-plugin packages
2016-04-01 01:57:31 +02:00
Alexandre Archambault
cffbe747ed
Minor refactoring
2016-04-01 01:56:20 +02:00
Alexandre Archambault
d71df26087
Basic property substitution in version in POMs
2016-04-01 01:39:19 +02:00
Alexandre Archambault
064feb8f3e
Use the right conf mapping separator
2016-03-14 16:20:21 +01:00
Alexandre Archambault
5e24676216
Add some scaladoc
2016-03-14 16:20:20 +01:00
Alexandre Archambault
49eb37b1a3
Accept configurations to be specified for dependencies in the CLI tools
2016-02-28 17:31:40 +01:00
Alexandre Archambault
5bbe01bfdd
Better handling of Maven scopes
...
Actually a regression introduced when Ivy support was added
Fixes https://github.com/alexarchambault/coursier/issues/178 ,
https://github.com/alexarchambault/coursier/issues/177
2016-02-28 17:31:20 +01:00
Alexandre Archambault
b9895ce801
Add support for packaging attribute in POMs
2016-02-28 17:00:12 +01:00
Alexandre Archambault
1731fca26c
Have the cache keep track of missing files
2016-02-24 23:50:04 +01:00
Alexandre Archambault
4676d65031
Really test version intervals...
...
...and fix the tests
2016-02-22 22:18:52 +01:00
Alexandre Archambault
1d58d8d453
Allow for non default classifiers to be given a try from Maven repositories
...
TODO Add test with the standalone classifier on coursier-cli once coursier
1.0.0-M8 is released
2016-02-20 15:56:33 +01:00
Alexandre Archambault
f6da127759
Minor refactoring
2016-02-20 15:56:33 +01:00
Alexandre Archambault
56192a2cca
Replace sealed traits by abstract classes in order to generate less byte code
2016-02-07 14:14:01 +01:00
Alexandre Archambault
2ca57527eb
Silent warning
...
"imported `Properties' is permanently hidden by definition of object Properties in package util"
2016-02-07 14:13:20 +01:00
Alexandre Archambault
b05e942fa4
Cache most fields of Resolution
2016-02-07 14:13:20 +01:00
Alexandre Archambault
26e41d4b7e
Use Vector instead of List
2016-02-07 14:13:20 +01:00
Alexandre Archambault
829c397ca8
Keep calculated dependencies accross resolutions
2016-02-07 14:13:20 +01:00
Alexandre Archambault
c9566fbf5d
Cache simple fields
2016-02-07 14:13:20 +01:00
Alexandre Archambault
2e50db9486
Make most case classes final
2016-02-07 14:13:16 +01:00
Alexandre Archambault
796a428ca6
Better handling of info attributes
...
- Drop them from dependencies originating from Ivy metadata if asked to do so (dropInfoAttributes field of IvyRepository)
- Enable dropping them by default on ~/.ivy2/{cache,local}, and Ivy repositories in SBT plugin
- Add --drop-info-attr CLI option to enable dropping them from the command-line tools
- Test these with org.scala-js:sbt-scalajs;sbtVersion=0.13;scalaVersion=2.10:0.6.6
2016-02-04 15:03:42 +01:00
Alexandre Archambault
58c8cb4192
Print version in help message
2016-02-01 14:26:30 +01:00
Alexandre Archambault
d322745ea1
Add support for user-specified exclusions from CLI
2016-01-27 11:33:14 +01:00
Alexandre Archambault
22fd372b0e
Print exclusions in output
...
Fixes https://github.com/alexarchambault/coursier/issues/118
2016-01-26 18:14:20 +01:00
Alexandre Archambault
7330494873
Add support for Ivy latest revision syntax
...
Like 2.2.+ for [2.2.0,2.3.0)
Fixes https://github.com/alexarchambault/coursier/issues/104
2016-01-26 18:14:20 +01:00
Alexandre Archambault
061dbe2f91
Slightly different indentation in output
2016-01-26 18:14:20 +01:00
Alexandre Archambault
a254b9c21c
Add support for parent project POM properties
...
Fixes https://github.com/alexarchambault/coursier/issues/120
2016-01-26 18:14:20 +01:00
Alexandre Archambault
92e5917af6
Simplify ClassLoader isolation in launch command
...
No more SBT-inspired ClasspathFilter. It now just tries to find the ClassLoader that loaded coursier, and use the parent as a base to load the launched application.
Allows to remove the -b option of the bootstrap command, and remove BaseCommand (that was holding options common to all commands).
2016-01-26 18:14:20 +01:00
Alexandre Archambault
3e9a37edc3
Do not fetch artifacts with a classifier from Ivy repositories if not
...
asked to do so
2016-01-26 18:14:20 +01:00
Alexandre Archambault
a9f3403520
Add support for ~/.ivy2/cache as a repository
2016-01-14 01:10:06 +01:00
Alexandre Archambault
c476b08f32
Add support for Ivy repositories with different artifact / metadata
...
patterns
2016-01-14 00:42:10 +01:00
Alexandre Archambault
51b3da8126
Fix small glitch in SBT plugin output
2016-01-13 20:48:21 +01:00
Alexandre Archambault
68768cc871
Add resolve command, plus some tidying
2016-01-10 21:32:28 +01:00
Alexandre Archambault
8527630e8e
Merge pull request #100 from alexarchambault/topic/fix
...
Fix
2016-01-05 10:32:57 +01:00
Alexandre Archambault
8180e09fcd
Fix
...
Absolute-fscking-ly need unit tests for the features added recently now
2016-01-03 23:44:15 +01:00
Alexandre Archambault
3fd060a75a
Add support for intransitive dependencies
2016-01-03 19:36:21 +01:00
Alexandre Archambault
3ee3283a27
Have Repository extend Product with Serializable
2016-01-03 17:11:25 +01:00
Alexandre Archambault
29e3cf8f81
Rename apply method of Fetch to from
2016-01-03 16:39:30 +01:00
Alexandre Archambault
645dcfb259
Finite default max iterations in resolution process
2016-01-03 16:39:30 +01:00
Alexandre Archambault
ac23e17c49
Remove "ivy-like" Maven repository support
...
Was a workaround for ~/.ivy2/local, before support for Ivy repositories was added
2016-01-02 14:06:16 +01:00
Alexandre Archambault
8ab731d93f
Fix untested things :-|
...
Bad
2015-12-30 21:53:08 +01:00
Alexandre Archambault
e7b57af58b
Add extra properties
2015-12-30 01:34:32 +01:00
Alexandre Archambault
357c3fa0f7
Fix parsing of dependencies config mapping of Ivy files
2015-12-30 01:34:32 +01:00
Alexandre Archambault
2e6e061fe1
Better minimization of dependencies with fallback configs
2015-12-30 01:34:32 +01:00
Alexandre Archambault
76e989d21c
Better properties substitution ( #2 )
2015-12-30 01:34:32 +01:00
Alexandre Archambault
00d11017f7
Better properties substitution
...
For com.fasterxml.jackson.jaxrs:jackson-jaxrs-providers:2.6.0 in particular, having properties refering other properties
2015-12-30 01:34:32 +01:00
Alexandre Archambault
aa9a43b483
More for extra attributes from POM ( #2 )
2015-12-30 01:34:32 +01:00
Alexandre Archambault
0d5ac09aa1
More for extra attributes from POM
2015-12-30 01:34:32 +01:00
Alexandre Archambault
6a460c1fb2
Fix in ClasspathFilter
2015-12-30 01:34:32 +01:00
Alexandre Archambault
d33ab9da26
Output better `sbt.ModuleReport`s
2015-12-30 01:34:32 +01:00
Alexandre Archambault
aa2a909fbd
ResolutionClassLoader (WIP)
2015-12-30 01:34:32 +01:00
Alexandre Archambault
dd4dbb41f9
Better names / comments
2015-12-30 01:34:32 +01:00
Alexandre Archambault
776bcb893f
Add classifier variable in Ivy patterns
2015-12-30 01:34:32 +01:00
Alexandre Archambault
790104f06a
Add support for extra attributes
...
TODO Add tests
2015-12-30 01:34:32 +01:00
Alexandre Archambault
2d61a9ea69
Remove deprecated comment
2015-12-30 01:34:32 +01:00
Alexandre Archambault
056f65b90f
No artifacts for global-plugin repo
2015-12-30 01:34:32 +01:00
Alexandre Archambault
4aed6f6c38
global-plugins - attempt #2 - success
2015-12-30 01:34:32 +01:00
Alexandre Archambault
c42682ed60
Fixup (better handling of sbt attributes)
2015-12-30 01:34:32 +01:00
Alexandre Archambault
5d32358c2e
Better handling of attributes from SBT
2015-12-30 01:34:32 +01:00
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