Merge pull request #3 from adriaanm/master

Upgrade tot Scala 2.11.0-M5
Improve comment regarding cross-versioning conflict
Use -SNAPSHOT version so we can do CI/nightly builds.
fix scalacOptions and warnings
Bumb sbt-pgp version to 0.8.1, corrects "dispatch" version

The sbt-pgp plugin v0.8 contained an incorrect selection
of the dispatch library version (the _2.9.1 version is
selected). That also has the effect of making it
incompatible with dbuild. Fixed in sbt-pgp 0.8.1.
Merge pull request #5 from cunei/master

Bumb sbt-pgp version to 0.8.1, corrects "dispatch" version
Merge pull request #4 from xuwei-k/fix-warnings

fix scalacOptions and warnings
Enable scripted build of all scala modules

(No longer needed once dbuild is up and running.)
Standardize on OSGi-friendly versioning.
Fix --srcpath command line option

The path was prematurely expanded to an absoulte path; later
it was treated as a relative path to "test".

A workaround is to use:

    % JAVA_OPTS=-Dpartest.srcdir=disabled test/partest test/disabled/neg/t7020.scala

    baseDir:             /Users/jason/code/scala/build/pack/lib
    sourceDir:           /Users/jason/code/scala/test/disabled

    Selected 1 tests drawn from specified tests

     starting 1 test in neg
    ok 1 - neg/t7020.scala

    1/1 passed (elapsed time: 00:00:04)
    Test Run PASSED

Which avoids the failure:

    test/partest --srcpath disabled disabled/neg/t7020.scala Discarding 1 invalid test paths
    Uncaught exception on thread Thread[main,5,main]: java.lang.RuntimeException: Directory 'test' not found.
    java.lang.RuntimeException: Directory 'test' not found.

I tested this commit with:

    % (cd /code/scala-partest && sbt 'set publishTo := Some(Resolver.file("file",  new File(Path.userHome.absolutePath+"/.m2/repository")))' publish)
    ...
    [info]  published scala-partest_2.11.0-M5 to /Users/jason/.m2/repository/org/scala-lang/modules/scala-partest_2.11.0-M5/1.0.0-SNAPSHOT/scala-partest_2.11.0-M5-1.0.0-SNAPSHOT.jar

    % git diff versions.properties
    diff --git a/versions.properties b/versions.properties
    index 865ce3e..0dd4369 100644
    --- a/versions.properties
    +++ b/versions.properties
    @@ -2,6 +2,6 @@ starr.version=2.11.0-M5

     # the below is used for depending on dependencies like partest
     scala.binary.version=2.11.0-M5
    -partest.version.number=1.0-RC5
    +partest.version.number=1.0.0-SNAPSHOT
     scala-xml.version.number=1.0-RC4
     scala-parser-combinators.version.number=1.0-RC2

    % rm build/pack/partest.properties

    % test/partest --srcpath disabled test/disabled/neg/t7020.scala
    ...
    sourceDir:           /Users/jason/code/scala/test/disabled

    Selected 1 tests drawn from specified tests

    # starting 1 test in neg
    ok 1 - neg/t7020.scala

    1/1 passed (elapsed time: 00:00:04)
    Test Run PASSED
Hide banner under partest --terse.

Handy when calling partest in a loop, e.g.

    for i in {1..100}; do
      test/partest --terse --srcpath disabled test/disabled/neg/t7020.scala
    done
Merge pull request #6 from retronym/topic/source-path

Fix --srcpath command line option
Upgrade to Scala 2.11.0-M6 and mark Scala dependencies as provided.

As experience has shown, having Scala transitive dependencies from
partest is problematic. The main reason is that we want to test a newer
version of the code (e.g. scala-xml module) that partest depends on.
If partest has transitive dependency we have to go through process of
excluding it's dependency so we are sure that our binaries for given
dependency are picked up. This commit reverses the defaults: all Scala
dependencies are marked as provided which means a consumer of partest
must explicitly provide those dependencies.

A side benefit is that, if one doesn't need scalacheck (e.g. there
are no scalacheck style partest tests) then scalacheck won't show up
on test classpath because it won't be provided.
Merge pull request #7 from gkossakowski/provided-depdencies

Upgrade to Scala 2.11.0-M6 and mark Scala dependencies as provided.
No more -Xfatal-warnings
Move to BlackboxContext