diff options
-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> |