Commit Graph

3567 Commits

Author SHA1 Message Date
eugene yokota b63ce455df Merge pull request #1507 from sbt/wip/optional-https-maven-central
"Use HTTPS for downloading artifacts from Maven Central" + disable flag
2014-08-09 18:31:13 -04:00
Roberto Tyley d46087ff08 Fix pom-export of Maven Central repository
Commit a1e26ca6 broke the `make-pom` & `pom-advanced` dependency-management
tests by replacing one reference to `IBiblioResolver.DEFAULT_M2_ROOT` in
`Resolver`, but not the other reference in `MakePom`:

https://travis-ci.org/sbt/sbt/jobs/31939788#L2517-L2519

...the secure url was no longer recognised as the default Maven Repository
root, so was erroneously exported.
2014-08-08 17:08:54 -04:00
Eugene Yokota f3d71f98e4 Adds sbt.repository.secure (default: true) #1494 2014-08-08 17:08:54 -04:00
Eugene Yokota bc91e456f7 scalariform project/Docs.scala 2014-08-08 17:07:44 -04:00
Roberto Tyley 0bada62349 Update misc tests and doc to reflect HTTPS access for Maven Central 2014-08-08 17:07:44 -04:00
Roberto Tyley a826ac743b Use HTTPS for downloading artifacts from Maven Central
Sonatype have enabled HTTPS access for Maven Central:

http://central.sonatype.org/articles/2014/Aug/03/https-support-launching-now/

Note that the Ivy class IBiblioResolver contains the old http url
(ie DEFAULT_M2_ROOT="http://repo1.maven.org/maven2/"):

http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/IBiblioResolver.java?revision=1557968&view=markup#l72
2014-08-08 17:07:44 -04:00
Josh Suereth fbf9d72607 Merge pull request #1509 from sbt/fix/1501
Fixes #1181/#1501. Fixes ArrayIndexOutOfBoundsException: -1
2014-08-08 13:39:01 -04:00
Josh Suereth f6cf403825 Merge pull request #1508 from sbt/wip/jcenter-fix
Moves JCenter and Bintray repo into object Resolver. #1405
2014-08-08 11:04:31 -04:00
eugene yokota d99d75408c Merge pull request #1505 from jaceklaskowski/initdetailed-help-fix
BuiltinCommands.initialize has load-commands commented out
2014-08-08 10:31:34 -04:00
Eugene Yokota a9cdd96152 Fixes #1181/#1501. Fixes ArrayIndexOutOfBoundsException: -1
When the compiler reports back the error to CompilationUnit created by Eval#mkUnit, it sometimes returns OffsetPosition whose `source` is set to `NoSourceFile`.

This causes ArrayIndexOutOfBoundsException. The current workaround is to pattern match on the passed in pos and create a new one when the incoming source looks suspicious.
I have not figured out whether this is caused by our macro code or compiler.
There are various build.sbt errors that would cause this behavior:

```scala
libraryDependencies ++= Seq(
  depA
  depB // missing comma
)

lazy val bob = scala.Console println

test ++

run+
```
2014-08-07 23:58:49 -04:00
Eugene Yokota d7dba9c095 Moves JCenter and Bintray repo into object Resolver. #1405
This is more consistent with other hardcoded repos like Sonatype.
Also hardcoding everything to https.
2014-08-07 15:50:57 -04:00
Josh Suereth 0b2f2ae5a8 Merge pull request #1504 from jaceklaskowski/fix-reload-help
Properly show reload brief/detailed help
2014-08-07 11:48:22 -04:00
Jacek Laskowski 8affccb42a BuiltinCommands.initialize has load-commands commented out 2014-08-06 23:56:59 +02:00
Jacek Laskowski 8c4f4a7182 Properly show reload help 2014-08-06 23:30:47 +02:00
Josh Suereth 939bb9ba42 Merge pull request #1405 from evgeny-goldin/0.13
BintrayMavenRepository added
2014-08-06 15:50:05 -04:00
Josh Suereth 3ea5eb5f7a Merge pull request #1493 from sbt/fix/1384
Fixes #1384. Fixes Scope.parseScopedKey
2014-08-06 12:35:59 -04:00
Evgeny Goldin 75b815e125 JCenter and BintrayMavenRepository resolvers added 2014-08-06 01:43:19 +02:00
Eugene Yokota f318436725 Deprecate parseScopedKey 2014-08-05 11:28:28 -04:00
Eugene Yokota ee01908369 Fixes #1384. Fixes Scope.parseScopedKey
Scope.parseScopedKey now supports full range of legal keys
described in the documentation including {.} and other
notation for ProjectRef, BuildRef, and ThisBuild.
2014-08-05 11:28:28 -04:00
eugene yokota cd40f05085 Merge pull request #1498 from sbt/wip/fix-broken-cross
Fix broken cross versioning semantics using +
2014-08-04 17:38:34 -04:00
eugene yokota 9654b2a658 Merge pull request #1497 from sbt/wip/0.13.5-merge
0.13.5 merge
2014-08-04 11:51:11 -04:00
eugene yokota e9b79c5956 Merge pull request #1490 from sbt/wip/1484
Fixes NullPointerException during update. Fixes #1484
2014-08-04 11:50:47 -04:00
eugene yokota 9b42c8cd1c Merge pull request #1499 from sbt/wip/fix-nightly-push
Fix nightly push to go to snapshot repository.
2014-08-04 11:24:47 -04:00
Josh Suereth 33deeea8b3 Fix nightly push to go to snapshot repository. 2014-08-04 11:08:29 -04:00
Josh Suereth 19b91396a2 Fix broken cross versioning semantics using + 2014-08-04 10:44:40 -04:00
Eugene Yokota 9d86e1c7fc Merged 0.13.5 to remove documents 2014-08-04 10:14:46 -04:00
Eugene Yokota 9124056440 Fixes NullPointerException during update. Fixes #1484 2014-08-01 21:00:41 -04:00
eugene yokota 4a83fcaeb1 Merge pull request #1489 from sbt/fix/issue-856
Fixes #856 - Store ++ scala version changes on session.
2014-08-01 17:42:35 -04:00
Josh Suereth 676519cb96 Add notes for bugfix. 2014-08-01 17:41:34 -04:00
Josh Suereth cc7546b1eb Fixes #856 - Store ++ scala version changes on session.
* Ensure the ++ command stores its changes on the sbt session.
* Make sure `session clear-all` will clear out ++ changes
* Validate that `set` command doesn't undo `++` changes

Note: There is some autogenerated Setting[_] delegate optimisation
      work that could be done in the future.
2014-08-01 17:39:43 -04:00
eugene yokota 7f1786924f Merge pull request #1488 from sbt/wip/fix-1375
Fixes #1375 - Check for empty filenames.
2014-08-01 17:37:51 -04:00
Josh Suereth 5150339a0a Add notes so we have a merge conflict.
Conflicts:
	notes/0.13.6.md
2014-08-01 17:37:12 -04:00
Josh Suereth f4ff84db34 Fixes #1375 - Check for empty filenames.
Starting sbt in root isn't a great idea, but it shouldn't break.
2014-08-01 17:36:14 -04:00
eugene yokota 550a7f8e96 Merge pull request #1487 from sbt/wip/fr-1306
Fixes #1306 - Attempt to turn test suite names into better filenames.
2014-08-01 17:34:48 -04:00
Josh Suereth b6e3791731 Add notes for test report fix. 2014-08-01 17:18:37 -04:00
Josh Suereth ef70d84323 Fixes #1306 - Attempt to turn test suite names into better filenames. 2014-08-01 17:14:00 -04:00
eugene yokota 7ecf7d7b61 Merge pull request #1486 from sbt/fix/issue-1478
Fixes #1478 - Append new sLog when reloading in set command.
2014-08-01 16:23:16 -04:00
Josh Suereth 928abb61aa Add PR notes. 2014-08-01 15:14:51 -04:00
Josh Suereth 49f1529c5a Fixes #1478 - Append new sLog when reloading in set command.
* Migrate weak reference into logger class so we can test clearing it.
* Ensure new state.log is propoagted into settings on `set` command.
* Fix set test so that it ensures the sLog is relatively stable when
  reloading on set command.
2014-08-01 15:04:32 -04:00
Eugene Yokota b393df8acf Updated notes 2014-07-31 18:24:43 -04:00
Josh Suereth 775b21eef2 Merge pull request #1477 from puffnfresh/dont-warn-not-simple-types
Change "Not a simple type" warning to log message
2014-07-31 17:51:22 -04:00
eugene yokota 500a0ce43d Merge pull request #1476 from sbt/wip/exclude-rules-ivy
Add caching around dependency exclude rule evaluation
2014-07-31 17:14:01 -04:00
Eugene Yokota d06bd002ff Add Release.javaVersionCheckSettings to Release.settings 2014-07-31 15:18:39 -04:00
Eugene Yokota eeb9898954 Fix contributing.md 2014-07-31 04:37:45 -04:00
eugene yokota d3842d87f4 Merge pull request #1482 from joscha/patch-1
Remove whitespaces at the end of Google Group URL
2014-07-31 04:34:13 -04:00
Joscha Feth 58e4f757cb Remove whitespaces at the end of Google Group URL 2014-07-31 10:31:16 +02:00
Eugene Yokota 0a00d0625a Added sbt-javaversioncheck to the build, and bumped up sbt/ivy version to 2.3.0-sbt-14d4d23e25f354cd296c73bfff405544434d5f80 2014-07-30 19:52:59 -04:00
Brian McKenna 2fefaf5758 Change "Not a simple type" warning to log message
Workaround for -Xfatal-warnings being triggered because of #830.
2014-07-30 07:45:03 -06:00
Eugene Yokota a1c54bfb59 Updates internal Ivy to 2.3.0-sbt-fac2aaab6f982c4424b47e6b190190bef50a6f59 for exclude rule perf 2014-07-29 22:06:05 -04:00
Eugene Yokota f77b6b2b03 scalariform formatting 2014-07-29 22:03:02 -04:00