From dfbafd9b995177e48b7c27895cff50390539cd38 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 9 Feb 2016 16:40:31 +0000 Subject: [PATCH] pom.xml: Allow the build directory to be overridden The default remains 'target', but child projects may set the property 'kemitix.build.directory' to another value to change this. Signed-off-by: Paul Campbell --- README.md | 9 +++++++++ pom.xml | 2 ++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 3e0cedc..6585f75 100644 --- a/README.md +++ b/README.md @@ -190,3 +190,12 @@ Remote repositories are provided for the Sonatype Nexus Snapshots and Nexus Rele Repositories. See the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for information on how to deploy your artifact the Maven Central through Sonatype. + +### Changing the Build Directory + +If you want to change the build directory, e.g. from your settings.xml to an SSD +or ram drive, then set the value of the `kemitix.build.directory` to your required +locations. e.g. +` +/mnt/ramdrive/${project.groupId}/${project.artifactId} +` diff --git a/pom.xml b/pom.xml index fe4bb27..707d504 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,7 @@ UTF-8 UTF-8 + target @@ -123,6 +124,7 @@ + ${kemitix.build.directory}