sviperll-maven-parent-6

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.sviperll
ArtifactId

ArtifactId

sviperll-maven-parent-6
Last Version

Last Version

4
Release Date

Release Date

Type

Type

pom
Description

Description

sviperll-maven-parent-6
Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/
Source Code Management

Source Code Management

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

Download sviperll-maven-parent-6

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.sviperll/sviperll-maven-parent-6/ -->
<dependency>
    <groupId>com.github.sviperll</groupId>
    <artifactId>sviperll-maven-parent-6</artifactId>
    <version>4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.sviperll/sviperll-maven-parent-6/
implementation 'com.github.sviperll:sviperll-maven-parent-6:4'
// https://jarcasting.com/artifacts/com.github.sviperll/sviperll-maven-parent-6/
implementation ("com.github.sviperll:sviperll-maven-parent-6:4")
'com.github.sviperll:sviperll-maven-parent-6:pom:4'
<dependency org="com.github.sviperll" name="sviperll-maven-parent-6" rev="4">
  <artifact name="sviperll-maven-parent-6" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.sviperll', module='sviperll-maven-parent-6', version='4')
)
libraryDependencies += "com.github.sviperll" % "sviperll-maven-parent-6" % "4"
[com.github.sviperll/sviperll-maven-parent-6 "4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.github.sviperll</groupId>
        <artifactId>universal-maven-parent</artifactId>
        <version>0.21</version>
    </parent>
    <groupId>group</groupId>
    <artifactId>myartifact</artifactId>
    <version>version</version>
    <!-- ... -->
    <properties>
        <parent.profile.activate>java6,nexus-deploy</parent.profile.activate>
        <!-- ... -->
    </properties>
    <!-- ... -->
</project>

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.7 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 code-coverage reports on release

Versions

Version
4
3.2
3.1
3.0
2.0