io.sgr.maven:maven-policy

Build policy related artifacts

Лицензия

Лицензия

Категории

Категории

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

Группа

io.sgr.maven
Идентификатор

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

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

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

1.1.1
Дата

Дата

Тип

Тип

pom
Описание

Описание

Build policy related artifacts
Ссылка на сайт

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

https://github.com/io-sgr/maven-policy
Система контроля версий

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

https://github.com/io-sgr/maven-policy

Скачать maven-policy

Имя Файла Размер
maven-policy-1.1.1.pom 2 KB
Обзор

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

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

Зависимости

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

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

  • maven-rules
  • maven-repository
  • maven-base
  • common-dependencies

Maven Root POM

Using this root pom as the parent of a project at io.sgr will do the following things:

  • Inherit from the BasePOM Project
  • Enable the release plugin to build a javadoc jar when releasing a project
  • Apply some basic policy to the project

How to set it up

How to use it

The Maven Root POM provides a common set of configurations for maven plugins to build Java projects. Most of the time, it should no longer be necessary to have any <plugin> or <pluginManagement> sections in the project POMs.

The pom is activated by adding it as parent to the project POM. Add the following snippet to the POM in the root of a project:

<parent>
    <groupId>io.sgr.maven</groupId>
    <artifactId>maven-base</artifactId>
    <version>1.1.1-SNAPSHOT</version>
</parent>

This should be enough for most projects that use JDK 1.8.

The policy overview contains more information about the policies set in the Maven root POM.

io.sgr.maven

sgr.io

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

Версия
1.1.1