Skip to content

techsenger/maven-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Techsenger Maven Plugins

A collection of useful Maven plugins.

Table of Contents

Usage

bom-properties-maven-plugin

The BOM Properties Maven Plugin copies properties from Bill of Materials (BOM) files to your project's properties with configurable prefix and filtering.

Configuration Parameters:

Parameter Required Default Description
groupId Yes - BOM artifact group ID
artifactId Yes - BOM artifact ID
version Yes - BOM version
prefix Yes - Prefix for copied properties (e.g., bom.property.name)
includes Yes - List of wildcard patterns for properties to include
excludes No - List of wildcard patterns for properties to exclude
caseSensitive No true Whether pattern matching is case-sensitive

Example:

<plugin>
    <groupId>com.techsenger.maven.plugins</groupId>
    <artifactId>bom-properties-maven-plugin</artifactId>
    <version>${version}</version>
    <executions>
        <execution>
            <id>copy-bom-properties</id>
            <phase>initialize</phase>
            <goals>
                <goal>copy-properties</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <boms>
            <bom>
                <groupId>...</groupId>
                <artifactId>...</artifactId>
                <version>...</version>
                <prefix>bom</prefix>
                <caseSensitive>false</caseSensitive>
                <includes>
                    <include>*.version</include>
                </includes>
                <excludes>
                    <exclude>slf?j.version</exclude>
                </excludes>
            </bom>
        </boms>
    </configuration>
</plugin>

Requirements

Java 11+.

Code Building

To build all plugins use standard Git and Maven commands:

git clone https://github.com/techsenger/maven-plugins
cd maven-plugins
mvn clean install

License

Techsenger Maven Plugins are licensed under the Apache License, Version 2.0.

Contributing

We welcome all contributions. You can help by reporting bugs, suggesting improvements, or submitting pull requests with fixes and new features. If you have any questions, feel free to reach out — we’ll be happy to assist you.

Support Us

You can support our open-source work through GitHub Sponsors. Your contribution helps us maintain projects, develop new features, and provide ongoing improvements. Multiple sponsorship tiers are available, each offering different levels of recognition and benefits.

About

A collection of useful Maven plugins.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages