项目作者: spilth

项目描述 :
Archetype for generating a Java 8/Junit 4 Maven project
高级语言:
项目地址: git://github.com/spilth/java8-junit4-quickstart.git
创建时间: 2016-12-22T00:03:41Z
项目社区:https://github.com/spilth/java8-junit4-quickstart

开源协议:

下载


Java 8 / JUnit 4 Quickstart

This is a Maven Archetype for starting a Java 8 project using JUnit 4. It includes the following:

  • Configured to compile against Java 1.8
  • Uses JUnit 4.12
  • Provides a project readme via a README.md
  • Automatically creates source and JavaDoc JARs when running package
  • Configures site to use the more modern Fluido skin
  • Provides a starter end-user page via a Markdown template in src/site/markdown/index.md
  • Fixes warnings that Maven generates by default

Usage

To create a new project using this archetype:

  1. $ mvn archetype:generate -B -DarchetypeGroupId=org.spilth -DarchetypeArtifactId=java8-junit4-quickstart -DgroupId=com.example -DartifactId=helloworld -Dversion=1.0.0
  2. $ cd helloworld
  3. $ mvn package site
  4. $ open target/site/index.html

For a less verbose way to use this archetype please check out savant.