From 9c46b97414a1d4a64bf076fdf2ff009f010c33bc Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Mon, 21 Oct 2013 12:07:59 -0700 Subject: Support publishing to maven from main build Publish to maven with `ant publish.local`, `ant publish`, or `ant publish.signed`. For now, we must keep copying `src/build/maven/maven-deploy.xml` to `dists/maven/latest.build.xml`, along with its dependencies, as it's used by jenkins jobs and PR validation. TODO: `inline src/build/maven/maven-deploy.xml` into `build.xml`. --- build.xml | 28 ++++++ src/build/maven/maven-deploy.xml | 201 ++++++++++++++++++++------------------- 2 files changed, 129 insertions(+), 100 deletions(-) diff --git a/build.xml b/build.xml index 7c35fc0fe7..6c20d8d9ff 100755 --- a/build.xml +++ b/build.xml @@ -4,6 +4,7 @@ xmlns:artifact="urn:maven-artifact-ant" xmlns:rsel="antlib:org.apache.tools.ant.types.resources.selectors"> + SuperSabbus for Scala core, builds the scala library and compiler. It can also package it as a simple distribution, tests it for stable bootstrapping and against the Scala test suite. @@ -2202,10 +2203,37 @@ MAIN DISTRIBUTION PACKAGING file="${src.dir}/build/maven/maven-deploy.xml"/> + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/build/maven/maven-deploy.xml b/src/build/maven/maven-deploy.xml index fbd6d4cd51..3607aa5e5e 100644 --- a/src/build/maven/maven-deploy.xml +++ b/src/build/maven/maven-deploy.xml @@ -6,10 +6,107 @@ SuperSabbus extension for deploying a distribution to Maven. THIS FILE IS MEANT TO BE RUN STANDALONE IN THE MAVEN "distpack" DIRECTORY - + + + + + + + + + + + Deploying ${path}-[pom.xml|src.jar|docs.jar]. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -19,15 +116,6 @@ - - - - - - - - - @@ -39,96 +127,9 @@ Using server[${repository.credentials.id}] for maven repository credentials. Please make sure that your ~/.m2/settings.xml has the needed username/password for this server id - - - - - - - - - - - - Deploying ${path}-[pom.xml|src.jar|docs.jar]. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + -- cgit v1.2.3