universal-maven-parent

Artifact to use as universal maven parent

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

com.github.sviperll
Идентификатор

Идентификатор

universal-maven-parent
Последняя версия

Последняя версия

0.21
Дата

Дата

Тип

Тип

pom
Описание

Описание

universal-maven-parent
Artifact to use as universal maven parent
Ссылка на сайт

Ссылка на сайт

https://github.com/sviperll/universal-maven-parent
Система контроля версий

Система контроля версий

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

Скачать universal-maven-parent

Имя Файла Размер
universal-maven-parent-0.21.pom 43 KB
Обзор

Как подключить последнюю версию

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
0.21
0.20