apply from: "$rootDir/gradle/instrumentation.gradle"

muzzle {
  pass {
    group = "org.apache.cxf"
    module = "cxf-rt-frontend-jaxws"
    versions = "[3.0.0,)"
    assertInverse = true
    extraDependency "javax.servlet:javax.servlet-api:3.0.1"
  }
}

dependencies {
  implementation project(':instrumentation:jaxws:jaxws-2.0-cxf-3.0:library')

  library group: 'org.apache.cxf', name: 'cxf-rt-frontend-jaxws', version: '3.0.0'
  testLibrary group: 'org.apache.cxf', name: 'cxf-rt-transports-http', version: '3.0.0'

  testImplementation project(":instrumentation:jaxws:jaxws-2.0-testing")

  testInstrumentation project(":instrumentation:jaxws:jaxws-2.0:javaagent")
  testInstrumentation project(":instrumentation:jaxws:jws-1.1:javaagent")

  testInstrumentation project(':instrumentation:servlet:servlet-3.0:javaagent')
  testInstrumentation project(':instrumentation:jetty-8.0:javaagent')

  testImplementation group: 'javax.xml.ws', name: 'jaxws-api', version: '2.3.1'
  testImplementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.11'
  testImplementation group: 'com.sun.xml.bind', name: 'jaxb-core', version: '2.2.11'
  testImplementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.2.11'
  testImplementation group: 'javax.activation', name: 'javax.activation-api', version: '1.2.0'
  testImplementation group: 'javax.annotation', name: 'javax.annotation-api', version: '1.2'
  testImplementation group: 'com.sun.xml.messaging.saaj', name: 'saaj-impl', version: '1.5.2'
}