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
aee7903338
Disable flaky test, as it's timeout based.
...
Fixes #1398
2014-08-08 14:28:33 -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
666819e707
Fix unknown host exception in junit xml listener.
...
Fixes #1506
2014-08-08 13:03: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
840acba087
Adds `dependencyPositions` task to explicitly track dependency positions.
2014-08-08 00:53:09 -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
6a257b06df
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
474d710ddb
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
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
23d9eeb6f5
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
7d560293d8
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
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
57c1da19d7
Merged 0.13.5 to remove documents
2014-08-04 10:14:46 -04:00
Eugene Yokota
3ca919b0bb
Merged 0.13.5 to remove documents
2014-08-04 10:14:46 -04:00
Eugene Yokota
9d86e1c7fc
Merged 0.13.5 to remove documents
2014-08-04 10:14:46 -04:00
Eugene Yokota
dc2ae51d73
Adds UnresolvedWarningConfiguration that caches ModuleID -> SourcePosition mapping.
...
UnresolvedWarning is moved back to IvyActions.scala where it belongs.
The mapping between ModuleID and SourcePosition is passed in as UnresolvedWarningConfiguration.
This is calculated once in Defaults using State and is cached to filesystem.
2014-08-03 02:31:56 -04:00
Eugene Yokota
58b7c63f84
Unresolved dependency warning includes source position. Fixes #528
...
Unresolved dependency warning is moved to UnresolvedDependencyWarning class including
the fail path that was added in #1467 .
To display the source position, I need to access the State, so I had to move the
error processing out of IvyActions and add UnresolvedDependencyWarning, which is
aware of State.
2014-08-02 06:25:24 -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