Gradle Version: 3.1
Operating System and JVM version: Windows 10, Java 8
Someone gave me an example project with Java sources and some jars residing in “src/main/webapp/WEBINF/lib” and a “pom.xml” for the project. To use it as an Eclipse project I tried to convert it to a Gradle project using “gradle init” and then call task eclipse
.
Two problems are manifest in the generated “build.gradle”:
- Gradle converted the Maven scope
provided
into aprovidedCompile
, which is only know when the pluginwar
is applied. - Gradle converted the Maven scope
system
into asystem
configuration which is unknown. As I noticed, with this Maven scope, there a two jars referenced which reside in directory “src/main/webapp/WEB-INF/lib”.