SmallRye Maven Plugin

A plugin to generate common SmallRye functionality

Лицензия

Лицензия

Категории

Категории

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

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

SmallRye Maven Plugin
A plugin to generate common SmallRye functionality
Система контроля версий

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

https://github.com/smallrye/smallrye-maven-plugin/

Скачать smallrye-maven-plugin

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

<plugin>
    <groupId>io.smallrye</groupId>
    <artifactId>smallrye-maven-plugin</artifactId>
    <version>1.0.0</version>
</plugin>

Зависимости

compile (7)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.6.1
org.apache.maven : maven-project jar 2.2.1
org.apache.maven.shared : maven-filtering jar 3.1.1
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
org.codehaus.plexus : plexus-utils jar 3.2.1
org.apache.maven : maven-settings jar 3.6.1
org.jboss.jdeparser : jdeparser jar 2.0.3.Final

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

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

badge License smallrye maven plugin?color=green

SmallRye Maven Plugin

About

The SmallRye Maven Plugin is a project which aims to provide some automation that can be utilized by SmallRye implementation projects in order to perform common tasks.

Features

Goal: generate-info

The generate-info goal generates a class in the base package of your project which gives version information about that project. The following configuration parameters are supported:

  • specVersion (required) - The specification version being implemented by this project. In many cases you can directly set this to the value of the property containing the MicroProfile/Jakarta/etc. spec artifact version.

  • implementationVersion (required, defaults to ${project.version}) - The implementation version.

  • packageName (required) - The name of the base package into which the class should be generated. Typically this is something like io.smallrye.projectname.

  • className (required, defaults to SmallRyeInfo) - The name of the class to generate. Normally this should be left to the default value.

  • sourceOutput (required, defaults to ${project.build.directory}/generated-sources/smallrye-info) - This property determines where the generated sources are written. The directory named by this property will automatically be added to the project as a source root.

Usage

This plugin is intended to be consumed by SmallRye projects (not end user programs).

To include the plugin in a project, add the following plugin definition to the project POM:

POM snippet
<plugin>
    <groupId>io.smallrye</groupId>
    <artifactId>smallrye-maven-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <!-- add each goal here -->
            </goals>
        <execution>
    </executions>
    <configuration>
        <!-- add each configuration item here -->
    </configuration>
</plugin>

See above for information about the available goals and their configuration parameters.

The SmallRye parent POM (https://github.com/smallrye/smallrye-parent) should normally be inherited, which will configure the correct version of this plugin.

Example

POM example
<plugin>
    <groupId>io.smallrye</groupId>
    <artifactId>smallrye-maven-plugin</artifactId>
    <executions>
        <execution>
            <goals>
                <goal>generate-info</goal>
            </goals>
        <execution>
    </executions>
    <configuration>
        <packageName>io.smallrye.projectname</packageName>
        <specVersion>${version.eclipse.microprofile.projectname}</specVersion>
    </configuration>
</plugin>
io.smallrye

SmallRye

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

Версия
1.0.0