Commit Graph

11744 Commits

Author SHA1 Message Date
Travis Brown 5720894c5a Fix typos in notes 2015-01-24 13:45:15 -05:00
Josh Suereth bd4e57dc66 Merge pull request #1817 from sbt/wip/sequential
Def.sequential. Fixes #1001
2015-01-23 09:38:45 -05:00
Eugene Yokota e94ccfd72b Check for deduplication of tasks 2015-01-20 18:05:03 -05:00
Eugene Yokota eca9321d22 Add sleep in sequential test per review 2015-01-20 09:48:56 -05:00
William Waites 892de8e7d7 Set resource limit for ${java_cmd} -version in sbt initialisation
Java is a little anti-social and attempts to lazily allocate all
of system memory, even for simple operations such as printing out
the version. This causes sbt to fail to start in environments
where resources are limited (i.e. ulimit(1)). This setup is common
on shared infrastructure such as scientific computing clusters
where because of the resource limit not being specified sbt cannot
be used.

The limit is set to 512MB which ought to be ample and is in any case
the default from sbtconfig.txt. A better patch would use the limit
specified there but it isn't clear that that is worth the effort.
2015-01-20 13:16:33 +00:00
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 3c3f057412 Merge pull request #1807 from indrajitr/deprecated-annotation-fix
Fix params order in `@deprecated`
2015-01-19 08:10:15 -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 8b38780f21 Fix params order in `@deprecated` 2015-01-17 08:25:57 +05:30
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 99c8cbffc5 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 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 ff4d371bc2 Merge pull request #1759 from jedesah/topic/minor_cleanup
Minor code cleanup
2015-01-14 16:13:06 -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 11729e0122 Merge pull request #1793 from sbt/wip/aether-resolver
Use Aether for resolving maven dependencies
2015-01-14 15:17:50 -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 f5ce4e6986 Merge pull request #1801 from sbt/wip/aether-resolver-scripted
Run scripted with sbt-maven-resolver
2015-01-13 12:00:53 -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 18c4aba58d Run scripted with sbt-maven-resolver 2015-01-12 22:01:16 -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 c2c4468d40 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
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 f4cffa98b7 Adjust tests. 2015-01-10 22:55:50 -05:00
Eugene Yokota 406c80ddd6 Adjust tests. 2015-01-10 22:55:50 -05:00
Eugene Yokota 48cb1444cf Turn Aether integration into sbt-maven-resolver 2015-01-09 14:36:51 -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 fbe390eefa 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
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
Johannes Rudolph 69946f3e2c modernize build 2014-12-22 12:17:52 +01:00
eugene yokota 0e30f885d5 Merge pull request #1784 from sbt/wip/build
Multi-project build.sbt
2014-12-19 00:09:07 -05: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 71fb4648f5 Fix Launch Test project's name 2014-12-18 20:09:06 -05:00
Eugene Yokota 981d5bad9c Fix Launch Test project's name 2014-12-18 20:09:06 -05:00
Eugene Yokota 56d9413f47 Fixing cross building 2014-12-18 17:40:20 -05:00
Eugene Yokota 5ce7c5aaca Fixing cross building 2014-12-18 17:40:20 -05:00
Eugene Yokota 7e277a2b7a Fix java version check, and use scope filter 2014-12-18 13:14:04 -05:00