Merge branch 'allow-build-directory-override' into develop

This commit is contained in:
Paul Campbell 2016-02-09 16:40:48 +00:00
commit 5ceb1a7d8e
2 changed files with 11 additions and 0 deletions

View file

@ -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) 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 for information on how to deploy your artifact the Maven Central through
Sonatype. 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.
`<properties>
<kemitix.build.directory>/mnt/ramdrive/${project.groupId}/${project.artifactId}</kemitix.build.directory>
</properties>`

View file

@ -39,6 +39,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<kemitix.build.directory>target</kemitix.build.directory>
</properties> </properties>
<developers> <developers>
@ -123,6 +124,7 @@
</pluginRepositories> </pluginRepositories>
<build> <build>
<directory>${kemitix.build.directory}</directory>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>