-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor
-
Component/s: gradle-jpi-plugin
-
None
-
Environment:Windows 10 x64, Gradle 2.9, JDK 8u92 x64
Jenkins version 2.x dependes on javax.servlet:javax.servlet-api:3.1.0 but the generated dependency uses the old module name servlet-api which is not resolvable.
I have managed to work around this by adding the dependency explicitly and excluding the erroneous one, like so:
dependencies {
compile 'javax.servlet:javax.servlet-api:3.1.0'
}
configurations {
all*.exclude module: 'servlet-api'
}