diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2016-01-21 16:57:01 +0200 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2016-01-21 16:57:01 +0200 |
commit | b87f20ee491ce02d905cd6f44e404ebb81c61026 (patch) | |
tree | 74056819b47db6ce08ed89931f333592bf99f410 | |
parent | 35f2e37960e3091f76ca2a1e42a7354f98ea4d6d (diff) | |
download | pf4j-b87f20ee491ce02d905cd6f44e404ebb81c61026.tar.gz pf4j-b87f20ee491ce02d905cd6f44e404ebb81c61026.zip |
Add properties to exclude demo from deploy, javadoc, etc
-rw-r--r-- | demo/pom.xml | 6 | ||||
-rw-r--r-- | pom.xml | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/demo/pom.xml b/demo/pom.xml index c4fb1d7..4987dd7 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -14,6 +14,12 @@ <packaging>pom</packaging> <name>Demo Parent</name> + <properties> + <javadoc.disabled>true</javadoc.disabled> + <deploy.disabled>true</deploy.disabled> + <source.disabled>true</source.disabled> + </properties> + <build> <resources> <resource> @@ -38,6 +38,10 @@ <mockito.version>2.0.28-beta</mockito.version> <cobertura.version>2.7</cobertura.version> <coveralls.version>3.1.0</coveralls.version> + + <javadoc.disabled>false</javadoc.disabled> + <deploy.disabled>false</deploy.disabled> + <source.disabled>false</source.disabled> </properties> <build> @@ -57,6 +61,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8</version> + <configuration> + <skip>${javadoc.disabled}</skip> + </configuration> <executions> <execution> <goals> @@ -70,6 +77,9 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.2</version> + <configuration> + <skipSource>${source.disabled}</skipSource> + </configuration> <executions> <execution> <goals> @@ -81,6 +91,15 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8.1</version> + <configuration> + <skip>${deploy.disabled}</skip> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> @@ -91,6 +110,7 @@ </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.4.3</version> </plugin> |