Skip to content

Commit

Permalink
Merge pull request #6279 from OpenLiberty/revert-6274-global-oss-index
Browse files Browse the repository at this point in the history
Revert "Globally apply ossindex plugin to all non-test projects"
  • Loading branch information
jhanders34 authored Jan 23, 2019
2 parents f081811 + 4348aac commit 96cf1e6
Show file tree
Hide file tree
Showing 626 changed files with 3,799 additions and 28 deletions.
19 changes: 5 additions & 14 deletions dev/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,21 @@
*
* Depends on bnd_* values from gradle.properties.
*/


ext {
cnf = rootProject.project(bnd_cnf)
buildImage = project(':build.image')
}


subprojects {
apply plugin: 'java'
plugins.apply 'java'

def bndProject = bndWorkspace.getProject(name)

if (bndProject != null) {
apply plugin: 'biz.aQute.bnd'
plugins.apply 'biz.aQute.bnd'
} else {
task publish { }
task release { }
Expand Down Expand Up @@ -64,13 +67,6 @@ subprojects {

if (bndis('fat.project')) {
apply from: cnf.file('gradle/scripts/fat.gradle')
} else if (!bndis('test.project')) {
// Automatically apply OSS Audit plugin to all non-test projects
apply plugin: 'net.ossindex.audit'
audit {
group = "verification"
failOnError = true
}
}

}
Expand Down Expand Up @@ -118,9 +114,4 @@ task wrapper(type: Wrapper) {
jarFile = rootProject.file('.gradle-wrapper/gradle-wrapper.jar')
}

// Ensure the root project has the 'audit' task so it shows up in the output of `./gradlew tasks`
task audit {
group = "verification"
}


6 changes: 6 additions & 0 deletions dev/com.ibm.jbatch.container/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.jbatch.jsl.model/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.jbatch.spi/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.json4j/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.rls.jdbc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.tx.core/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.tx.jta/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.tx.ltc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.tx.util/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.authData/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.basics/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.config/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.ejbcontainer/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.endpoint/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.hpel/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.jacc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.jaxrs20/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.json/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.jwt/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.messaging/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.monitor/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.passwordUtil/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.persistence/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.security/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.servlet/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.sessionstats/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.social/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = false
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.ssl/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.transaction/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.api.wsoc/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.spi.anno/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.spi.application/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.spi.artifact/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
6 changes: 6 additions & 0 deletions dev/com.ibm.websphere.appserver.spi.classloading/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
plugins {
id "net.ossindex.audit" version "0.3.8-beta"
}
audit {
failOnError = true
}
Loading

0 comments on commit 96cf1e6

Please sign in to comment.