aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2021-06-10 07:38:40 -0700
committerGitHub <noreply@github.com>2021-06-10 07:38:40 -0700
commitd17189c430a7ffd1ec966759a93b3ed348766650 (patch)
tree15c6b880b2c83c140c8955751275e117782a0364 /pom.xml
parent437b348674bb90e9b226a559d3b2736845e20d20 (diff)
parente2797e51b64f63f3b13820e4c5543d0bcbde21c2 (diff)
downloadaspectj-d17189c430a7ffd1ec966759a93b3ed348766650.tar.gz
aspectj-d17189c430a7ffd1ec966759a93b3ed348766650.zip
Merge pull request #69 from kriegaex/document-improve-build-profiles
Document build profiles and properties in `docs/developer/BUILD.md`
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 2e7e829e1..33b32213b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -182,8 +182,8 @@
<profile>
<id>release</id>
<properties>
- <!-- By default, do not create javadoc - override in release profile -->
<maven.javadoc.skip>false</maven.javadoc.skip>
+ <maven.source.skip>false</maven.source.skip>
</properties>
<build>
<plugins>
@@ -194,6 +194,17 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>fast-build</id>
+ <properties>
+ <!-- Do not compile tests (also skips execution) -->
+ <maven.test.skip>true</maven.test.skip>
+ <!-- Do not execute tests (redundant, but just to be sure) -->
+ <skipTests>true</skipTests>
+ <!-- Do not create documentation for AspectJ website -->
+ <createDocs>false</createDocs>
+ </properties>
+ </profile>
</profiles>
<build>
@@ -322,7 +333,7 @@
</goals>
<configuration>
<!-- Only sign artifacts which are also meant to be deployed -->
- <skip>${maven.deploy.skip}</skip>
+ <skip>${maven.gpg.skip}</skip>
</configuration>
</execution>
</executions>
@@ -358,6 +369,7 @@
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
+ <!-- Activate in order to directly release to Maven Central after successful staging -->
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>