Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

System property control of Bundlor configuration #16

Closed
wants to merge 1 commit into from

2 participants

@nebhale

Added the ability to control whether Bundlor will fail on warnings or whether
it is enabled at all, using Java system properties. By default, Bundlor will
be enabled and will fail on warnings. Specifying -DfailOnWarnings=true/false
and -Dbundlor.enabled=true/false as part of the Maven command will now
control Bundlor's operation.

@nebhale nebhale System property control of Bundlor configuration
Added the ability to control whether Bundlor will fail on warnings or whether
it is enabled at all, using Java system properties. By default, Bundlor will
be enabled and will fail on warnings. Specifying `-DfailOnWarnings=true/false`
and `-Dbundlor.enabled=true/false` as part of the Maven command will now
control Bundlor's operation.
655b38a
@olivergierke olivergierke was assigned
@olivergierke

This has already made it into the Spring Data build parent a while ago, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 11, 2012
  1. @nebhale

    System property control of Bundlor configuration

    nebhale authored
    Added the ability to control whether Bundlor will fail on warnings or whether
    it is enabled at all, using Java system properties. By default, Bundlor will
    be enabled and will fail on warnings. Specifying `-DfailOnWarnings=true/false`
    and `-Dbundlor.enabled=true/false` as part of the Maven command will now
    control Bundlor's operation.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 2 deletions.
  1. +6 −2 pom.xml
View
8 pom.xml
@@ -66,7 +66,10 @@
<slf4j.version>1.6.1</slf4j.version>
<cdi.version>1.0</cdi.version>
<webbeans.version>1.1.3</webbeans.version>
-
+
+ <bundlor.failOnWarnings>true</bundlor.failOnWarnings>
+ <bundlor.enabled>true</bundlor.enabled>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dist.id>spring-data-jpa</dist.id>
<dist.name>Spring Data JPA</dist.name>
@@ -570,7 +573,8 @@
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>1.0.0.RELEASE</version>
<configuration>
- <failOnWarnings>true</failOnWarnings>
+ <failOnWarnings>${bundlor.failOnWarnings}</failOnWarnings>
+ <enabled>${bundlor.enabled}</enabled>
</configuration>
<executions>
<execution>
Something went wrong with that request. Please try again.