Commit Graph

5624 Commits

Author SHA1 Message Date
Eugene Yokota b0a10815a6 Implementes `Def.sequential`. Fixes #1001
Adds Def.sequential based on Mark's implementation provided in #1001.
2015-01-20 01:22:03 -05:00
Josh Suereth c6bd87b104 Merge pull request #1807 from indrajitr/deprecated-annotation-fix
Fix params order in `@deprecated`
2015-01-19 08:10:15 -05:00
Indrajit Raychaudhuri 1f90ef6b43 Fix params order in `@deprecated` 2015-01-17 08:25:57 +05:30
Indrajit Raychaudhuri 1b15653bcb Enable cross-version support for Scala sources.
This allows attaching unmanaged sources on `per-ScalaVersion` basis.

Sources from `src/{main,test}/scala-<scalaBinaryVersion>` is collected
in addition to `src/{main,test}/scala` by default.

Note that the treatment of `scalaBinaryVersion` would vary depending on
`scalaVersion` pre-2.10 and 2.10 onwards.

For example:
- with `scalaVersion` `2.9.3`, the `scalaBinaryVersion` is set to `2.9.3`
  thus the files in `src/{main,test}/scala-2.9.3` as well
 `src/{main,test}/scala` would be available in the `sources` list.

- with `scalaVersion` `2.10.1`, the `scalaBinaryVersion` is set to `2.10`
  thus the files in `src/{main,test}/scala-2.10` as well
 `src/{main,test}/scala` would be available in the `sources` list.
2015-01-16 14:07:42 +05:30
eugene yokota c6bf00c2c2 Merge pull request #1805 from dwijnand/patch-2
Fix typos in aether-resolvers.markdown
2015-01-15 10:27:14 -05:00
Dale Wijnand 8c4a0ea67c Fix typos in aether-resolvers.markdown 2015-01-15 11:18:10 +00:00
Josh Suereth 2d21797d2b Merge pull request #1804 from sbt/wip/document-inc-features
Add missing notes for enhance bytecode feature.
2015-01-14 16:31:39 -05:00
Josh Suereth 6587729fa9 Fix from review. 2015-01-14 16:27:12 -05:00
Josh Suereth 1fcd2f9769 Add missing notes for enhance bytecode feature. 2015-01-14 16:20:38 -05:00
eugene yokota be78b7fc4c Merge pull request #1759 from jedesah/topic/minor_cleanup
Minor code cleanup
2015-01-14 16:13:06 -05:00
eugene yokota cc3cea27e5 Merge pull request #1793 from sbt/wip/aether-resolver
Use Aether for resolving maven dependencies
2015-01-14 15:17:50 -05:00
Josh Suereth 38805d31e4 Add transitive plugin test for aether resolver. 2015-01-13 20:48:09 -05:00
Josh Suereth c9875c05b1 Merge pull request #1801 from sbt/wip/aether-resolver-scripted
Run scripted with sbt-maven-resolver
2015-01-13 12:00:53 -05:00
Eugene Yokota 75e7b47718 Run scripted with sbt-maven-resolver 2015-01-12 22:01:16 -05:00
Josh Suereth 42424b4cdb Refactoring code.
* remove debugging statements
* Move each class so it's one name-per-file
* Migrate out of org.apache namespace into sbt.mavenint
2015-01-12 14:48:23 -05:00
Josh Suereth cacc454af5 Merge pull request #1795 from sbt/wip/aether-resolver-plugin
Turn Aether integration into sbt-maven-resolver
2015-01-12 13:41:59 -05:00
Eugene Yokota a6f954d1b1 Moved Java source to src/main/java 2015-01-10 23:06:07 -05:00
Eugene Yokota 406c80ddd6 Adjust tests. 2015-01-10 22:55:50 -05:00
Eugene Yokota 7580fe5afc Updated notes 2015-01-09 14:36:51 -05:00
Eugene Yokota f36a5b88d8 Turn Aether integration into sbt-maven-resolver 2015-01-09 14:36:51 -05:00
Josh Suereth 16a64d70ef Migrate pom extra attributes out of CustomPomParser for deprecation. 2015-01-09 14:14:40 -05:00
Josh Suereth 095c129eda Appropriately transfer sbt-plugin transitive 'extra attribute' properties.
* Propogate the extra dependnecy attribute out of pom files into Aether
* Use the extra depednency attributes to ensure transitive plugins can be resolved.
* Add TODOs for further cleanup work.
2015-01-09 11:14:27 -05:00
Josh Suereth beb051879b Fix upload/copy semantics to handle non-file based uploads. 2015-01-09 11:11:37 -05:00
Josh Suereth e3931dbfec Create a new Ivy DependencyResolver which uses Aether.
* Here we wire Aether into the Ivy dependency chain
* Add hooks into Aether to use Ivy's http library (so credentials are configured the same)
* Create the actual Resolver which extracts metadata information from Aether
* Deprecate old Ivy-Maven integrations
* Create hooks in existing Resolver facilities to expose a flag to enable the new behavior.
* Create notes documenting the feature.
* Create a new resolver type `MavenCache` which denotes how to read/write local maven cache metadata
  correctly.  We use this type for publishM2 and mavenLocal.
* Update failing -SNAPSHOT related tests to use new Aether resolver
* Create specification for expected behavior from the new resolvers.

Known to fix #1322, #321, #647, #1616
2015-01-08 08:53:25 -05:00
Eugene Yokota acf54b62a5 Reproduce potential scenario that could be happening with #321
The basic mechanism is the same as #1514, which is short circuiting
issue.
For maven there’s the second problem of the availability of the
publication date.
2015-01-08 08:52:24 -05:00
xuwei-k ad9e71178a specify the "--depth" parameter for efficient when git clone 2014-12-24 01:39:02 +09:00
eugene yokota 1952e25c41 Merge pull request #1784 from sbt/wip/build
Multi-project build.sbt
2014-12-19 00:09:07 -05:00
Eugene Yokota 981d5bad9c Fix Launch Test project's name 2014-12-18 20:09:06 -05:00
Eugene Yokota 5ce7c5aaca Fixing cross building 2014-12-18 17:40:20 -05:00
Eugene Yokota a903aafd7c Fix java version check, and use scope filter 2014-12-18 13:14:04 -05:00
Eugene Yokota 4cac42f56c Factor out dependencies 2014-12-18 07:57:05 -05:00
Eugene Yokota 91de6c6b79 Multi-project build.sbt 2014-12-17 23:38:10 -05:00
Josh Suereth 7311242bc0 Merge pull request #1634 from sbt/fix/1634
A library is missing from dependencyClasspath if it's added to libraryDependencies twice in ascending order
2014-12-15 16:05:57 -05:00
Josh Suereth c8fc6d0223 Merge pull request #1620 from sbt/fix/1620
sbt resolves dependencies every compile when using %% with dependencyOverrides
2014-12-15 16:04:18 -05:00
Josh Suereth 62658b5fd8 Merge pull request #1615 from sbt/fix/1615
0.13.6 eviction notices too noisy
2014-12-15 15:13:02 -05:00
Josh Suereth 89c0762197 Merge pull request #1766 from sbt/fix/1766
Lots of "No main class detected" warnings since 0.13.7
2014-12-14 22:23:47 -05:00
Eugene Yokota 9d09af9568 Fixes #1634. Adds inconsistent duplicate warning
#1634 is about a library getting wiped out of deps graph when it’s
included twice in ascending order of version.
I’d say that’s a logically inconsistent state, and we should just issue
warning instead of trying to fix it.
2014-12-14 07:52:05 -05:00
Eugene Yokota 5199909be7 Fixes #1766. Removes "No main class detected" warning. 2014-12-13 00:05:55 -05:00
Eugene Yokota 46f56851d4 'evicted' task to display all evictions 2014-12-12 23:30:05 -05:00
eugene yokota af123e7930 Merge pull request #1772 from sbt/wip/notes
Notes
2014-12-12 23:01:05 -05:00
Eugene Yokota 40e5f7538a Fixes #1615. Move the invocation of eviction warning.
This moves the invocation of eviction warning so it’s called only when
actual ivy update is being performed.
2014-12-12 17:46:19 -05:00
Eugene Yokota e17ab305ae Fixes minor mistake in #1748 2014-12-12 17:00:35 -05:00
Eugene Yokota 79170a4df3 Document the XML situation 2014-12-12 12:45:14 -05:00
eugene yokota 9fc174f5c5 Merge pull request #1765 from ajozwik/0.13
Rollback xml parsing work-around
2014-12-12 12:14:31 -05:00
Eugene Yokota 263cf7194e Notes 2014-12-12 12:10:26 -05:00
eugene yokota 6743ae5cc2 Merge pull request #1771 from dwickern/0.13
Fix logger not overwriting the previous line in alternate shells
2014-12-12 11:52:49 -05:00
Derek Wickern b3cab0f2a0 Fix logger not overwriting the previous line in alternate shells
When running the 'update' task in bash, the output is all collapsed onto one line.
On Windows, even using an ANSI capable shell, running 'update' spams the console.

Tested with dash in Ubuntu; ANSICON, Console2 and ConsoleZ in Windows.
2014-12-11 11:21:23 -08:00
eugene yokota 27b97929cd Merge pull request #1769 from ajozwik/patch-1
Update to 0.13.8-SNAPSHOT
2014-12-09 07:12:58 -05:00
Andrzej Jozwik d2de003a4e Update to 0.13.8-SNAPSHOT 2014-12-09 08:44:12 +01:00
andrzej.jozwik@gmail.com e8e0297967 Remove work-around for parsing xml by scala parser 2014-12-08 23:35:17 +01:00