From 0dde1ae27f0ecb916db4b2abf05ec4b0dd681678 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Sun, 15 Dec 2013 17:36:05 -0800 Subject: 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. --- src/build/maven/maven-deploy.xml | 56 +++++++++++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 10 deletions(-) (limited to 'src/build/maven/maven-deploy.xml') diff --git a/src/build/maven/maven-deploy.xml b/src/build/maven/maven-deploy.xml index 174993f94a..d2877f95c5 100644 --- a/src/build/maven/maven-deploy.xml +++ b/src/build/maven/maven-deploy.xml @@ -10,6 +10,7 @@ see publish.* targets in /build.xml SuperSabbus extension for deploying a distribution to Maven. THIS FILE IS MEANT TO BE RUN STANDALONE IN THE MAVEN "distpack" DIRECTORY + @@ -61,6 +62,9 @@ see publish.* targets in /build.xml + + + @@ -76,13 +80,12 @@ see publish.* targets in /build.xml - - + Deploying ${path}-[pom.xml|src.jar|docs.jar]. @@ -121,23 +124,56 @@ see publish.* targets in /build.xml + + + + + + + + + Deploying ${path}.jar with ${path}-pom.xml. + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + - - + + -- cgit v1.2.3