Module 6 - Build Tools

Lab 1: Install Build Tools

  1. How do you install Maven, Node.js, and Python (with pip) on your system?

  2. How do you verify their installed versions?


Lab 2: Create a Maven Java Project

  1. How do you create a new Java project using the Maven quickstart archetype?

  2. How do you explore and explain the generated Maven project folder structure?


Lab 3: Build and Run a Maven Project

  1. How do you build a Java application using Maven?

  2. How do you run the generated JAR artifact?


Lab 4: Manage Dependencies in Maven

  1. How do you add a new dependency to the pom.xml file?

  2. How do you rebuild the project and verify that Maven downloaded and included the new dependency?


Lab 5: Publish Artifacts Using Maven

  1. How do you configure Maven settings to deploy artifacts to a local or private repository (e.g., Nexus)?

  2. How do you publish a Maven artifact to that repository?

  3. How do you verify that the artifact exists in the repository?


Lab 6: Create an npm JavaScript Project

  1. How do you initialize a new JavaScript project using npm?

  2. How do you install dependencies?

  3. How do you run the application?


Lab 7: Build a JavaScript Application

  1. How do you configure a build tool like webpack or Vite in a JavaScript project?

  2. How do you run the build process?

  3. How do you run or preview the generated build output?


Lab 8: Publish npm Packages

  1. How do you configure npm to use a private npm registry?

  2. How do you create and publish a sample npm package to that registry?

  3. How do you install the published package in another project?


Lab 9: Python Virtual Environments & Dependencies

  1. How do you create a Python virtual environment?

  2. How do you install Python packages using pip?

  3. How do you generate a requirements.txt file from installed packages?


Lab 10: Build & Publish Python Packages

  1. How do you build a Python package using sdist or wheel?

  2. How do you configure pip to use a private PyPI repository?

  3. How do you publish the Python package to a private PyPI repository?

  4. How do you install the package from the private repository to verify publishing?

Last updated