Commit Graph

17940 Commits

Author SHA1 Message Date
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 bdbc8e6dd9 Merge pull request #290 from alexarchambault/topic/develop
Set default artifact type to JAR from sbt plugin
2016-07-02 17:01:35 +02:00
Alexandre Archambault cb1dd7ea52 Merge pull request #289 from alexarchambault/topic/internals
Add early internals document draft
2016-07-02 17:01:20 +02:00
Johannes Rudolph 546e8e2e05 Merge pull request #108 from thetristan/generate-it-report
Generate reports for projects using IntegrationTest config
2016-06-30 08:45:44 +02:00
eugene yokota c48375c294 Merge pull request #2651 from eed3si9n/wip/zincbump
Rework DefinesClass lookup + other Zinc changes
2016-06-28 20:33:41 +02:00
Martin Duhem c395bd14a8 Add `sub` to `CacheStoreFactory` 2016-06-28 19:44:51 +02:00
Martin Duhem eda708dfeb Add `StreamFormat` and `HListFormat` 2016-06-28 19:44:32 +02:00
Eugene Yokota 4195d8aca2 Bumping Zinc to 1.0.0-M5 2016-06-28 14:53:57 +02:00
Martin Duhem 4cffccc8c8 Caching based on sjsonnew 2016-06-28 11:17:38 +02:00
Alexandre Archambault b61286004d
Add early internals document draft 2016-06-28 00:10:37 +02:00
Alexandre Archambault 75c86690d5
Set default artifact type to JAR from sbt plugin
Even if the packaging attribute of the dependency says the packaging is different (e.g. pom), this makes the plugin try to get a JAR anyway.

Fixes https://github.com/alexarchambault/coursier/issues/278
2016-06-27 23:53:29 +02:00
Tristan Blease db73b6d83c Return empty graph if no update report is found 2016-06-26 13:11:11 -04:00
Tristan Blease 91cb6e0931 Add IntegrationTest as a default config for generating ivy reports 2016-06-26 12:22:58 -04:00
Eugene Yokota 246ec58e35 Adapting to Zinc changes 2016-06-26 03:55:37 +02:00
Grzegorz Kossakowski 824b59a3ef Adapt to changes to DefinesClass in zinc
The definition of `DefinesClass` has changed from being a function
`File => String => Boolean` to just a function `String => Boolean`. The
changes in this commit reflect that fact.

Also, this commit implements a newly introduced PerClasspathEntryLookup.
2016-06-26 03:49:55 +02:00
Grzegorz Kossakowski e8c5ff0ffe Remove use of `DefinesClass` in Load.scala
It turns out that `DefinesClass` was a dead data: it was passed around
but not used anywhere.
2016-06-26 03:49:55 +02:00
Eugene Yokota 8f29d3b724 Typo 2016-06-24 18:57:36 +02:00
eugene yokota e7ca095303 Merge pull request #47 from dwijnand/cleanups
Cleanups
2016-06-21 23:20:09 +02:00
eugene yokota 797362e06c Merge pull request #46 from dwijnand/ivy-paths-to-string
Give IvyPaths a nicer toString
2016-06-21 23:19:40 +02:00
Dale Wijnand 9706577c67 Drop Scala 2.10, add openjdk7 2016-06-21 17:51:16 +01:00
Dale Wijnand 836911deab Bump to Java 7 (#2649) 2016-06-21 18:40:24 +02:00
eugene yokota 7bc9b5a875 Merge pull request #2646 from dwijnand/cleanups
Cleanups
2016-06-21 18:40:01 +02:00
Dale Wijnand 931b7d7af5 Remove unused and unused imports
Note that the pickler/sbt-serlization macros are bringing in unused imports..
2016-06-21 16:06:40 +01:00
Dale Wijnand 9dd4014553 Give IvyPaths a nicer toString 2016-06-21 14:13:15 +01:00
Dale Wijnand 0a75db7e63 Cleanup scriptedPluginProj 2016-06-21 13:15:10 +01:00
Dale Wijnand d949a74925 Cleanup scriptedSbtProj 2016-06-21 13:15:10 +01:00
Dale Wijnand 01a7a00915 Remove old sbt parser 2016-06-21 13:15:10 +01:00
Dale Wijnand a0193d28ea Cleanup mainProj 2016-06-21 13:15:10 +01:00
Dale Wijnand ffafdc2e03 Remove OldPlugin 2016-06-21 08:09:30 +01:00
Dale Wijnand bf8c5d2135 Drop use of AttributeKey#rawLabel 2016-06-21 08:09:30 +01:00
Dale Wijnand ca71b4b902 Cleanup mainSettingsProj 2016-06-21 08:09:30 +01:00
Dale Wijnand e48f6ade30 Cleanup actionsProj 2016-06-21 08:09:30 +01:00
Dale Wijnand 12d2b5a63b Cleanup commandProj 2016-06-21 08:09:30 +01:00
Dale Wijnand 168d3aa267 Cleanup stdTaskProj 2016-06-21 08:09:30 +01:00
Dale Wijnand 824df04699 Cleanup testingProj 2016-06-21 08:09:29 +01:00
Dale Wijnand 15d4527479 Kill trailing dead code 2016-06-21 08:09:29 +01:00
Dale Wijnand 8226ed7682 Cleanup runProj 2016-06-21 08:09:29 +01:00
Dale Wijnand 954b74654f Add scalacOptions 2016-06-21 08:09:29 +01:00
Dale Wijnand 2c02285778 Update scripted tests 2016-06-21 00:14:01 +01:00
Alexandre Archambault 462c16d6db Merge pull request #281 from alexarchambault/topic/updates
Update dependencies
2016-06-20 16:24:25 +02:00
eugene yokota 7b766e90a8 Merge pull request #44 from dwijnand/cleanups
Fix compilation warnings, migrate to blackbox.Context
2016-06-20 08:38:42 +02:00
eugene yokota d760b15193 Merge pull request #44 from dwijnand/cleanups
Fix compilation warnings, migrate to blackbox.Context
2016-06-20 08:38:42 +02:00
Dale Wijnand 5ecfc4d59f Un-deprecate now-private methods 2016-06-19 23:16:59 +01:00
Dale Wijnand 745bf4dc6d Remove Attribute#rawLabel 2016-06-19 21:21:08 +01:00
Alexandre Archambault ea59ff6974
Update dependencies 2016-06-19 18:11:20 +02:00
Dale Wijnand 4e4aa08a1a Drop Scala 2.10 2016-06-19 13:06:43 +01:00