Code Monkey home page Code Monkey logo

mvn-java8-quickstart's Introduction

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

mvn-java8-quickstart's People

Contributors

lsolano avatar cromatido avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.