From b672009b43f6cbfd8cb22402f4f40b9201157e23 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 3 Jul 2013 17:12:31 -0700 Subject: No more duplication in maven-deploy.xml. I just couldn't stand the incredible mess in there anymore. More cleanup to come. For now, suffice it to say you need only add one line per new module. --- src/build/maven/continuations-plugin-pom.xml | 62 ----- src/build/maven/maven-deploy.xml | 318 +++++++------------------- src/build/maven/plugins/continuations-pom.xml | 62 +++++ src/build/maven/scala-dotnet-library-pom.xml | 45 ---- src/build/maven/scala-library-pom.xml | 5 - src/build/pack.xml | 6 +- 6 files changed, 149 insertions(+), 349 deletions(-) delete mode 100644 src/build/maven/continuations-plugin-pom.xml create mode 100644 src/build/maven/plugins/continuations-pom.xml delete mode 100644 src/build/maven/scala-dotnet-library-pom.xml (limited to 'src/build') diff --git a/src/build/maven/continuations-plugin-pom.xml b/src/build/maven/continuations-plugin-pom.xml deleted file mode 100644 index 9abb0a36f0..0000000000 --- a/src/build/maven/continuations-plugin-pom.xml +++ /dev/null @@ -1,62 +0,0 @@ - - 4.0.0 - org.scala-lang.plugins - continuations - jar - @VERSION@ - Scala Continuations Plugin - Delimited continuations compilation for Scala - http://www.scala-lang.org/ - 2010 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD-like - http://www.scala-lang.org/downloads/license.html - - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - - org.scala-lang - scala-compiler - @VERSION@ - - - - - scala-tools.org - @RELEASE_REPOSITORY@ - - - scala-tools.org - @SNAPSHOT_REPOSITORY@ - false - - - - - lamp - EPFL LAMP - - - Typesafe - Typesafe, Inc. - - - diff --git a/src/build/maven/maven-deploy.xml b/src/build/maven/maven-deploy.xml index e70173319e..bf82346b80 100644 --- a/src/build/maven/maven-deploy.xml +++ b/src/build/maven/maven-deploy.xml @@ -5,271 +5,119 @@ SuperSabbus extension for deploying a distribution to Maven. THIS FILE IS MEANT TO BE RUN STANDALONE IN THE MAVEN "distpack" DIRECTORY - + + - + - + - + + - - - - - 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 - - - - - + + + - - - - - - - - - - - - - - - + + + + + + + + - + 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]. + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/src/build/maven/plugins/continuations-pom.xml b/src/build/maven/plugins/continuations-pom.xml new file mode 100644 index 0000000000..9abb0a36f0 --- /dev/null +++ b/src/build/maven/plugins/continuations-pom.xml @@ -0,0 +1,62 @@ + + 4.0.0 + org.scala-lang.plugins + continuations + jar + @VERSION@ + Scala Continuations Plugin + Delimited continuations compilation for Scala + http://www.scala-lang.org/ + 2010 + + LAMP/EPFL + http://lamp.epfl.ch/ + + + + BSD-like + http://www.scala-lang.org/downloads/license.html + + repo + + + + scm:git:git://github.com/scala/scala.git + https://github.com/scala/scala.git + + + JIRA + https://issues.scala-lang.org/ + + + + + org.scala-lang + scala-compiler + @VERSION@ + + + + + scala-tools.org + @RELEASE_REPOSITORY@ + + + scala-tools.org + @SNAPSHOT_REPOSITORY@ + false + + + + + lamp + EPFL LAMP + + + Typesafe + Typesafe, Inc. + + + diff --git a/src/build/maven/scala-dotnet-library-pom.xml b/src/build/maven/scala-dotnet-library-pom.xml deleted file mode 100644 index 007e8be173..0000000000 --- a/src/build/maven/scala-dotnet-library-pom.xml +++ /dev/null @@ -1,45 +0,0 @@ - - - - 4.0.0 - org.scala-lang - scala-dotnet-library - @VERSION@ - Class Library - dotnet:library - - http://www.scala-lang.org/ - 2002 - - LAMP/EPFL - http://lamp.epfl.ch/ - - - - BSD-like - http://www.scala-lang.org/downloads/license.html - - repo - - - - scm:git:git://github.com/scala/scala.git - https://github.com/scala/scala.git - - - JIRA - https://issues.scala-lang.org/ - - - - scala-tools.org - @RELEASE_REPOSITORY@ - - - scala-tools.org - @SNAPSHOT_REPOSITORY@ - false - - - diff --git a/src/build/maven/scala-library-pom.xml b/src/build/maven/scala-library-pom.xml index fc9964ae92..684474e79a 100644 --- a/src/build/maven/scala-library-pom.xml +++ b/src/build/maven/scala-library-pom.xml @@ -34,11 +34,6 @@ http://www.scala-lang.org/api/@VERSION@/ - diff --git a/src/build/pack.xml b/src/build/pack.xml index 20c4034107..f8eb3c67c5 100644 --- a/src/build/pack.xml +++ b/src/build/pack.xml @@ -170,8 +170,8 @@ MAIN DISTRIBUTION PACKAGING - - + + @@ -242,6 +242,8 @@ MAIN DISTRIBUTION PACKAGING +