29 questions for “Build Tools: Maven & Gradle”

Found in 1 field. Select a question to see its full answer.

Information Technology

29 questions in 1 technology

#QuestionTechnologyTopicLevel
1What problem do build tools like Maven and Gradle solve for a Java project? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleBeginner
2How does Gradle's build script (build.gradle / build.gradle.kts) differ structurally from Maven's declarative XML pom.xml? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
3How does Gradle's incremental build and build cache mechanism achieve significantly faster rebuild times compared to Maven's default behavior? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
4How would you write a custom Maven plugin or Gradle task to perform project-specific build automation not covered by existing plugins? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
5How would you configure a Maven or Gradle build to produce a reproducible build (bit-for-bit identical output given the same source), and why does this matter for supply chain security? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
6How would you configure a Maven or Gradle build to produce a shaded/fat JAR containing all dependencies bundled into a single executable JAR file? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
7What is the Maven build lifecycle, and what do the common phases (validate, compile, test, package, install, deploy) each do? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
8How do you manage different configurations for different environments (development, staging, production) using Maven profiles or Gradle's equivalent mechanisms? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
9How would you configure a multi-module Maven or Gradle project, and what benefits does modularizing a large codebase this way provide? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleAdvanced
10What is the standard Maven directory layout, and why does following this convention matter? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleBeginner