Skip to content

imc-trading/devschool-maven-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maven Training

This repository contains a series of exercises that should build a basic understanding of how Java libraries are distributed, how archives such as JARs were distributed prior to Maven, how Maven improves on that process, and how to use Maven.

Getting started

Download the repository with exercises:

git clone https://github.com/imc-trading/devschool-maven-exercise.git

Dependencies

You'll need to have Maven 3.5+ and Java 11+ higher to run the exercises.

Mac

On a Mac, if you have Homebrew installed, then you can install Maven with

brew install maven

This will install Java (openjdk) as a dependency.

Linux (Ubuntu)

sudo apt-get install maven

This will install Java (openjdk) as a dependency.

Docker

If you have Docker, you can run the exercises within a Docker image for a consistent environment:

docker run -it \
  --mount type=bind,source=$(pwd),target=/usr/src/maven-training \
  -w /usr/src/maven-training \
  maven:latest \
  /bin/bash -l

Other

In other environments, it is up to you to install these dependencies. Here is one tutorial that provides some instructions.

Exercise

This exercise is broken up into two labs, with multiple exercises in each section.

For each exercise, you don't need to write any code, or modify any pom.xml files. Just run the commands and observe what they do.

Lab 1

How Java libraries are compiled and packaged, without Maven.

Start here.

Lab 2

Introduction to using Maven to make everything easier.

Start here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published