From 94ca91dd5f404015bdfa94e373ed94c284761a1d Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Fri, 13 Dec 2013 22:23:54 -0800 Subject: 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) --- src/build/maven/maven-deploy.xml | 47 ++++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/build/maven/maven-deploy.xml b/src/build/maven/maven-deploy.xml index 412d7caab6..174993f94a 100644 --- a/src/build/maven/maven-deploy.xml +++ b/src/build/maven/maven-deploy.xml @@ -1,5 +1,9 @@ + @@ -46,17 +50,11 @@ - - + + - - - - - Deploying ${path}-[pom.xml|src.jar|docs.jar]. - @@ -74,6 +72,21 @@ + + + + + + + + + + + + + Deploying ${path}-[pom.xml|src.jar|docs.jar]. + + @@ -128,6 +141,7 @@ + @@ -162,7 +176,18 @@ - - - + + + + + + + + + + + + + + -- cgit v1.2.3