org.wildfly.plugins:wildfly-component-matrix-plugin

Parent POM for JBoss projects. Provides default project build configuration.

License

License

Categories

Categories

WildFly Container Application Servers
GroupId

GroupId

org.wildfly.plugins
ArtifactId

ArtifactId

wildfly-component-matrix-plugin
Last Version

Last Version

1.0.3.Final
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Parent POM for JBoss projects. Provides default project build configuration.
Project Organization

Project Organization

JBoss by Red Hat
Source Code Management

Source Code Management

https://github.com/wildfly/wildfly-component-matrix-plugin

Download wildfly-component-matrix-plugin

How to add to project

<plugin>
    <groupId>org.wildfly.plugins</groupId>
    <artifactId>wildfly-component-matrix-plugin</artifactId>
    <version>1.0.3.Final</version>
</plugin>

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.2.1
org.apache.maven : maven-artifact jar 3.2.1
org.apache.maven : maven-core jar 3.2.1
org.apache.maven : maven-model-builder jar 3.2.1

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.2

test (2)

Group / Artifact Type Version
junit : junit jar 4.10
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

wildfly-component-matrix-plugin

Generates the component matrix BOM

Inspired by https://github.com/jboss/bom-builder-maven-plugin this plugin inspects the available dependency management entries and outputs them to a BOM file.

Example usage:

    <build>
        <plugins>
            <plugin>
                <groupId>org.wildfly.plugins</groupId>
                <artifactId>wildfly-component-matrix-plugin</artifactId>
                <version>1.0.0.Alpha1-SNAPSHOT</version>
                <executions>
                    <execution>
                        <id>build-bom</id>
                        <goals>
                            <goal>build-bom</goal>
                        </goals>
                        <configuration>
                            <!-- Information about the parent to use. If not present no parent will be used -->
                            <parent>
                                <groupId>org.jboss</groupId>
                                <artifactId>jboss-parent</artifactId>
                                <!--
                                    The version is optional in some cases. If a parent with the specified groupId and
                                    artifactId can be found in the consuming pom's parents, and the version is not
                                    specified, then the version of the consuming pom's parent will be used. If a parent
                                    is specified that is not in the consuming pom's parents, an error will be thrown.
                                -->
                                <version>26</version>
                                <relativePath/>
                            </parent>
                            <!-- The groupId of the generated bom, in this case we use the same groupId as the caller -->
                            <bomGroupId>${project.groupId}</bomGroupId>
                            <!-- The artifactId of the generated bom -->
                            <bomArtifactId>wildfly-core-component-matrix</bomArtifactId>
                            <!-- The version of the generated bom, in this case we use the same version as the caller -->
                            <bomVersion>${project.version}</bomVersion>
                            <!-- The maven name of the bom -->
                            <bomName>WildFly Core: Component Matrix</bomName>
                            <!-- The maven description of the bom -->
                            <bomDescription>WildFly Core: Component Matrix</bomDescription>
                            <!-- Whether to inherit the exclusions for each dependency management entry -->
                            <inheritExclusions>true</inheritExclusions>
                            <!-- Whether to copy the licenses from the caller into the generated bom -->
                            <licenses>true</licenses>
                            <!-- A list of profiles to include in the generated bom -->
                            <includeProfiles>
                                <profile>JDK9</profile>
                            </includeProfiles>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

In addition it supports the exlusions and dependencyExclusions documented in https://github.com/jboss/bom-builder-maven-plugin.

org.wildfly.plugins

Versions

Version
1.0.3.Final
1.0.2.Final
1.0.1.Final
1.0.0.Final