Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sviperll/universal-maven-parent

Generally usefull maven parent artifact
https://github.com/sviperll/universal-maven-parent

Last synced: 5 days ago
JSON representation

Generally usefull maven parent artifact

Awesome Lists containing this project

README

        

universal-maven-parent: Generally usefull maven parent artifact
=====================================================

Usage
-----

Set `universal-maven-parent` as parent project and activate required profiles with `parent.profile.activate` property.
Profile activation is implemented with [maven-profiledep-extension](https://github.com/sviperll/ozymandias/tree/master/maven-profiledep-extension)

```xml

4.0.0

com.github.sviperll
universal-maven-parent
0.21

group
myartifact
version


java6,nexus-deploy


````

Profiles
--------

### java6 ###

Use version 1.6 of java language and runtime

### java7 ###

Use version 1.7 of java language and runtime

### java8 ###

Use version 1.8 of java language and runtime

### bootclasspath ###

Fork javac and specify bootclasspath compilation argument using
JDK6_HOME, JDK7_HOME or JDK8_HOME environment variable

### nexus-deploy ###

Configure nexus-staging-maven-plugin to run instead of standard deploy-plugin
to deploy artifact to running nexus instance

### executable ###

Add main class and classpath to jar manifest and create archives with
jar file and it's dependencies

### strict-dependencies ###

Implies strict-dependencies-usage and enforce-dependencies-versions profiles
described below.

### strict-dependencies-usage ###

Use analyze-only goal of maven-dependency-plugin to make all
dependencies explicit and to get rid of unused dependencies

### enforce-dependencies-versions ###

Use enforcer plugin to make sure that all transitive dependencies
are resolved and same version number is chosen for same artifacts.

### no-deploy-to-maven-repository ###

Do not deploy artifacts to maven repository.
No plugins are executed on deploy phase.

### pitest-report ###

Generate [PITest](http://pitest.org/) code-coverage reports on release