Skip to content

lsolano/mvn-java8-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Java console application to be used as starting point in a Scrum workshop. If you know maven, you'll be familiar with the project structure. The only unfamiliar thing is that the main package was shortened just to callsprocessor to reduce typing.

Tools and Prerequisites

This project was created using Apache Maven 3 quickstart archetype Maven Quickstart Archetype. So you need to install maven 3 in order to handle common build tasks. You also need Java JDK 8 or later. Before starting you need all the following three programs on our path: mvn, java, javac. Test those with:

  • mvn --version
  • java -version
  • javac -version

Java SE SDK 8.x or later

If you don't have the Java SDK or later, go to:

Maven 3.x

You can get Maven 3 from:

IDE

The project can be edited with a simple editor like Visual Studio Code, with Java plugins installed, Alternatively you can use the pre-package installer with Java Plugins: Installer of Visual Studio Code for Java developers. Remember that Eclipse and IntelliJ IDEA consume a lot of system resources, but you can use those if you prefer.

Common Tasks

  1. Compile the project : mvn compile
  2. Compile and run tests: mvn test
  3. Run the console application: mvn exec:java -Dexec.mainClass=callsprocessor.App
  4. Process a .csv values file: mvn exec:java -Dexec.mainClass=callsprocessor.App -Dexec.args="<full-path-to-file>/the_file_.csv" (Remember works only with FULL PATHS)
  5. Process a .csv values file:
    1. cd target
    2. java -cp callsprocessor-<version>.jar callsprocessor.App <full-path-to-file>/the_file_.csv
  6. Simulate CI build: mvn -B verify

About

Template project for coaching courses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages