CBI Deployment POM-Enhancer Maven Plugin

A Maven plugin to post-process pom.xml-files generated by Eclipse CBI aggregator

Лицензия

Лицензия

Категории

Категории

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

Группа

tools.mdsd
Идентификатор

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

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

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

0.1.1
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

CBI Deployment POM-Enhancer Maven Plugin
A Maven plugin to post-process pom.xml-files generated by Eclipse CBI aggregator
Ссылка на сайт

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

https://mdsd.tools
Система контроля версий

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

http://github.com/mdsd-tools/maven-build-pomenhancer/tree/master

Скачать pom-enhancer-maven-plugin

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

<plugin>
    <groupId>tools.mdsd</groupId>
    <artifactId>pom-enhancer-maven-plugin</artifactId>
    <version>0.1.1</version>
</plugin>

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.apache.maven.shared : file-management jar 3.0.0
org.apache.commons : commons-lang3 jar 3.9

provided (4)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-plugin-api jar 3.5.0
org.apache.maven : maven-core jar 3.5.0
org.apache.maven : maven-artifact jar 3.5.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

test (3)

Идентификатор библиотеки Тип Версия
org.apache.maven : maven-compat jar 3.5.0
junit : junit jar 4.12
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0

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

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

Pom-Enhancer-Maven-Plugin

The pom-enhancer-maven-plugin is a maven plugin to support publishing tycho-built artifacts to m2 repositories, in particular, Maven Central.

The Eclipse CBI aggregator is able to convert a tycho-built updatesite into a Maven-compatible repository. Doing so, it generates a synthetic pom.xml for each artifact. In the process it converts bundle-dependencies to traditional maven dependencies.

In order to publish the artifacts to Maven Central the generated pom.xml is required to have certain information, which is not filled in by the CBI aggregator.

The pom-enhancer-maven-plugin post-processes the generated pom.xml-files and adds the missing meta-data based on a template pom.

The following excerpt shows an exemplary configuration. In this case, the multi-project root pom constitutes the pom-template.

    <build>
        <plugins>
            <plugin>
                <groupId>tools.mdsd</groupId>
                <artifactId>pom-enhancer-maven-plugin</artifactId>
                <version>0.1.0-SNAPSHOT</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>enhance-pom</goal>
                        </goals>
                        <phase>package</phase>
                    </execution>
                </executions>
                <configuration>
                    <scanDir>
                        <fileSet>
                            <directory>${project.build.directory}/m2/final/</directory>
                            <includes>
                                <include>**/*.pom</include>
                            </includes>
                        </fileSet>
                    </scanDir>
                    <pomTemplate>${maven.multiModuleProjectDirectory}/pom.xml</pomTemplate>
                    <requiredFields>description,scm,licenses,name,url,developers</requiredFields>
                </configuration>
            </plugin>
        </plugins>
    </build>
tools.mdsd

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

Версия
0.1.1
0.1.0