Skip to content

Modernize RESTEasy Development Tools#39

Merged
jamezp merged 7 commits into
resteasy:mainfrom
jamezp:project-updates
Jun 30, 2026
Merged

Modernize RESTEasy Development Tools#39
jamezp merged 7 commits into
resteasy:mainfrom
jamezp:project-updates

Conversation

@jamezp

@jamezp jamezp commented Jun 30, 2026

Copy link
Copy Markdown
Member

This PR modernizes the resteasy-dev-tools repository for the Maven Central publisher migration and streamlines the configuration artifacts for use with Spotless.

🔴 Breaking Changes

  • Removed parent-pom module - The dev.resteasy.tools:resteasy-parent artifact is no longer published
    • Downstream projects should inherit from org.jboss:jboss-parent directly
    • Formatter and checkstyle configurations remain available via ide-config and resteasy-checkstyle-config artifacts
    • This eliminates the 3-step release dependency chain and allows projects to update jboss-parent independently

✨ New Features

Release Automation

  • Added release.sh script for streamlined releases to Maven Central
    • See README.adoc for full usage documentation

Maven Wrapper

  • Added Maven wrapper for consistent builds across environments
  • No longer requires system Maven installation

License Headers

  • Added license-java-asl-header for Java files
  • Added license-xml-asl-header for XML files
  • Ready for use with Spotless configuration

Projects using dev.resteasy.tools:resteasy-parent should:

  1. Change parent POM to inherit from jboss-parent directly:
<parent>
    <groupId>org.jboss</groupId>
    <artifactId>jboss-parent</artifactId>
    <version>53</version>
</parent>
  1. Add Spotless plugin with resteasy-dev-tools configurations:
<plugin>
    <groupId>com.diffplug.spotless</groupId>
    <artifactId>spotless-maven-plugin</artifactId>
    <dependencies>
        <dependency>
            <groupId>dev.resteasy.tools</groupId>
            <artifactId>ide-config</artifactId>
            <version>4</version>
        </dependency>
    </dependencies>
    <configuration>
        <java>
            <eclipse>
                <file>eclipse-code-formatter.xml</file>
            </eclipse>
            <importOrder>
                <order>\#,java,javax,jakarta,org,io,dev,com,net</order>
            </importOrder>
            <removeUnusedImports/>
            <licenseHeader>
                <file>license-java-asl-header</file>
            </licenseHeader>
        </java>
    </configuration>
</plugin>
  1. Add Checkstyle plugin (optional):
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-checkstyle-plugin</artifactId>
    <dependencies>
        <dependency>
            <groupId>dev.resteasy.tools</groupId>
            <artifactId>resteasy-checkstyle-config</artifactId>
            <version>4</version>
        </dependency>
    </dependencies>
    <configuration>
        <configLocation>resteasy-checkstyle/checkstyle.xml</configLocation>
    </configuration>
</plugin>

jamezp added 7 commits June 29, 2026 17:16
Signed-off-by: James R. Perkins <jperkins@ibm.com>
Signed-off-by: James R. Perkins <jperkins@ibm.com>
…ean up of POM.

Signed-off-by: James R. Perkins <jperkins@ibm.com>
Signed-off-by: James R. Perkins <jperkins@ibm.com>
Signed-off-by: James R. Perkins <jperkins@ibm.com>
Signed-off-by: James R. Perkins <jperkins@ibm.com>
Signed-off-by: James R. Perkins <jperkins@ibm.com>
@jamezp jamezp merged commit 1dd829e into resteasy:main Jun 30, 2026
1 check passed
@jamezp jamezp deleted the project-updates branch June 30, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant