diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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> |