Remove the unused test.continuations.suite.
Remove spurious resurrection of src/swing.
Prepare maven-based distribution building.

NOTE: `maven/latest/build.xml` is now deprecated.

To publish a Scala build, simply call `ant publish` or `ant publish-local`.
`maven/latest/build.xml` will soon disappear from `dists/`

The idea is that a Scala distribution is a simple
repackaging of artifacts already available on maven.

Already available: typical jars for the artifacts (classes, sources, scaladoc).
To add: the bin/, doc/, and man/ directories.

Thus, move the contents that should end up in the distribution
from docs/ to doc/, create the man/ directory with the manpages,
and include the scripts in bin/.

Next up: package these directories in a jar and publish to maven,
with a dependency on scala-library-all, scala-reflect and scala-compiler,
for the jars that should end up in the distribution.

Refactorings:
 - Pull filter-pom out from deploy-one.
 - Rename maven-base to dist.maven.
 - Set all properties in the init target (dist.maven)
scala-dist: all you need to roll your own scala distribution

We now publish a scala-dist artifact every time we publish to maven.
It captures everything needed to build a Scala distribution.

The packager should resolve all transitive dependencies of scala-dist,
put the class-file jars in the lib/ directory,
the scaladoc jars in the api/ directory,
and the source jars in the src/ directory,
in addition to unpacking the scala-dist jar itself,
which contains the bin/, doc/ and man/ directories,
which previously weren't available on maven.

This also removes the `@{dir}` abstraction, which was used to
package the continuations plugin. Since it's moved out,
we can go back to hard-coding it.
scala-library-all: dependency for those who want it all

If you'd rather depend on all Scala has to offer, module-wise,
depend on scala-library-all. This dependency determines the
jars that ship with the Scala distribution. To achieve parity
via maven resolution, this is the artifact to depend on.
Fix typo in scala-library-all-pom.xml.
Always copy man/* and doc/tools/*.
Explicit jline dependency.

Duplicated from scala-compiler's pom (where it's optional),
so that resolving scala-dist's transitive dependencies include jline.
We won't see scala-compiler's optional dependency on jline when depending on
scala-compiler.

TODO: remove duplication once we have the scala-compiler-repl module
SI-7443 Use typeclass instance for {Range,NumericRange}.sum

Previously both Range and NumeriRange used formula for sum of elements
of arithmetic series and thus always assumed that provided Numeric is
regular one.
Bug is now fixed by conservatively checking if Numeric is one of
default ones and the formula still holds.
License formatting tweak, RTF version.

To avoid duplication in scala/scala-dist, where it'll just go stale.
Update man pages for scala and scalac.

They had fallen quite a bit behind the output of
"scalac -X" and "scalac -Xshow-phases".
Remove temporary binary compat scaffolding from AbstractPartiionFun.

These were only needed during the transition period when we removed
specialization on AnyRef from `AbstractPartialFunction`.

It's time to cast away the crutches.
Merge pull request #3347 from retronym/topic/abs-part-fun-manual-spec-no-more

Remove temporary binary compat scaffolding from AbstractPartiionFun.
Merge pull request #3277 from adriaanm/scala-dist-maven

Scala dist maven
Merge pull request #3333 from gourlaysama/man-pages

Update man pages for scala and scalac.
Merge pull request #3124 from DarkDimius/fix-7443

 Fix SI-7443 Range.sum ignoring Numeric argument and always assuming default 'plus' implementation
SI-8135 Disabled flaky hyperlinking presentation compiler test

This PR (https://github.com/scala/scala/pull/3275#issuecomment-31986434)
demonstrates that the test is flaky.

The disabled test was introduced with the intent of preventing a
regression (here is the commit
https://github.com/scala/scala/commit/ccacb06c4928fd6aebc2c2539d7565cb079dc625).

It looks like there is a race condition when `askTypeAt(pos)` is called
on `implicitly[Foo[A]].foo` where `pos` is matches the end point of the
former expression. The issue is that the returned Tree is unattributed,
which is why the error "No symbol is associated with tree
implicitly[Foo[A]].foo" is reported.
Merge pull request #3349 from dotta/issue/disable-context-bound-test-8135

SI-8135 Disabled flaky hyperlinking presentation compiler test
SI-8131 Move test for reflection thread safety to pending.

Examples noted in SI-8131 show that race conditions still abound.
This has been noted twice during pull request validation.
fixes run/macroPlugins-namerHooks.scala

Makes run/macroPlugins-namerHooks.scala work equally well on both
Unix and Windows machines.