summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-12-15 23:09:05 -0800
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-12-19 10:51:48 -0800
commit50e7f2ba49f14e80000c812089f4fb7b9bc90035 (patch)
treed4f12d356f43ca4802275f8892f235a1c72c785d /build.xml
parent0dde1ae27f0ecb916db4b2abf05ec4b0dd681678 (diff)
downloadscala-50e7f2ba49f14e80000c812089f4fb7b9bc90035.tar.gz
scala-50e7f2ba49f14e80000c812089f4fb7b9bc90035.tar.bz2
scala-50e7f2ba49f14e80000c812089f4fb7b9bc90035.zip
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.
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index d235c803bb..3bee6eab6f 100755
--- a/build.xml
+++ b/build.xml
@@ -29,7 +29,7 @@ supported/exercised targets
to build: build build-opt locker.done
to run tests: test.suite test.scaladoc
-DO NOT RELY ON ANY OTHER TARGETS (ok, you're probably ok assuming the ones defined in the first 100 lines of this file remain)
+DO NOT RELY ON ANY OTHER TARGETS (ok, you're probably ok assuming the ones defined in the first 100 lines of this file)
NOTE: dists/maven/latest/build.xml will soon disappear; call `publish` in this build instead
-->
@@ -1741,6 +1741,9 @@ MAIN DISTRIBUTION PACKAGING
<mvn-package project="reflect"/>
<mvn-package project="compiler"/>
+ <copy tofile="${dist.maven}/scala-library-all/scala-library-all-pom.xml"
+ file="${src.dir}/build/maven/scala-library-all-pom.xml" overwrite="true"/>
+
<!-- for replacestarr -->
<if><isset property="update.starr.version"/><then>
<echo message="From now on, ${maven.version.number} will be used as STARR (`build.properties`'s `starr.version` was modified)."/>
@@ -1826,16 +1829,19 @@ MAIN DISTRIBUTION PACKAGING
============================================================================ -->
<target name="publish" depends="pack-maven.base, init.maven" description="Publishes unsigned artifacts to the maven repo.">
<deploy />
+ <deploy-pom name="scala-library-all"/>
<deploy-jar name="scala-dist"/>
</target>
<target name="publish.local" depends="pack-maven.base, init.maven" description="Publishes unsigned artifacts to the local maven repo.">
<deploy local="true"/>
+ <deploy-pom name="scala-library-all" local="true"/>
<deploy-jar name="scala-dist" local="true"/>
</target>
<target name="publish.signed" depends="pack-maven.base, init.maven" description="Publishes signed artifacts to the remote maven repo.">
<deploy signed="true"/>
+ <deploy-pom name="scala-library-all" signed="true"/>
<deploy-jar name="scala-dist" signed="true"/>
</target>