Giter Site home page Giter Site logo

mvn-proto's Introduction

Maven prototype project with jar in local mvn repo

The local jar lives in the

lib

directory. It gets uploaded to the local Maven repo and from then on can be used in your pom.xml files after you instruct them to consult the local mvn repo with the following:

    <repositories>
        <repository>
            <id>local-maven-repo</id>
            <url>file:///${project.basedir}/local-maven-repo</url>
        </repository>
    </repositories>

Kudos to this.

Installation

You will need the Java 8 SDK or higher installed on your system to compile and run the code as well as Maven.

You can ignore everything below if you invoke

make

which will make the default target run.

To start from clean run

make clean-all

Compiling ...

All you should need to do is invoke mvn package and Maven will prepare under ./target directory a fat JAR for you containing all the dependencies.

Running

Prior to running, make sure you have a top level logs directory if you plan to use the default logging properties file supplied under config.

Under ./target directory you can find two JAR files, a thin one and a fat one (the one that has -jar-with-dependencies as part of its name) By invoking

java -Djava.util.logging.config.file=./config/logging.properties -jar target/munism-1.0-jar-with-dependencies.jar

the application will run.

Status

The project should run out of the box on both Windows and Linux machines! No logging is actually done.

Issues

  1. No explicit IntelliJ/Eclipse support
  2. No logging? (Old logging versions)

mvn-proto's People

Watchers

James Cloos avatar  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.