Skip to content

Change the artifactId when building FIPS-compliant netty-tcnative-boringssl-static - #945

Merged
normanmaurer merged 1 commit into
netty:mainfrom
slessard:boringssl-fips-artifact-id
Nov 7, 2025
Merged

normanmaurer merged 1 commit into
netty:mainfrom
slessard:boringssl-fips-artifact-id

Conversation

@slessard

@slessard slessard commented Nov 4, 2025

Copy link
Copy Markdown
Contributor

Change the artifactId when building FIPS-compliant netty-tcnative-boringssl-static

Motivation:

netty-tcnative-boringssl when compiled for default mode or FIPS mode result in the same artifactId, same classifier, same version number and yet have a very significant different feature. It is not possible to store both builds in a repository such as Artifactory. To resolve this issue I made it so FIPS-mode builds get a different artifactId.

Default mode build artifactId: netty-tcnative-boringssl-stati
FIPS mode build artifactId: netty-tcnative-boringssl-static-fips

Modifications:

based on the active maven profile...

  • Change the artifactId
  • Add a field to the jar's manifest to state whether it was built with FIPS support

Result:

When built with the fips-boringssl-static profile the jar file names will now be netty-tcnative-boringssl-static-fips-2.0.75.Final-SNAPSHOT*.jar

…ingssl-static

Motivation:

netty-tcnative-boringssl when compiled for default mode or FIPS mode result in the same artifactId, same classifier, same version number and yet have a very significant different feature. It is not possible to store both builds in a repository such as Artifactory. To resolve this issue I made it so FIPS-mode builds get a different artifactId.

Default mode build artifactId: netty-tcnative-boringssl-stati
FIPS mode build artifactId: netty-tcnative-boringssl-static-fips

Modifications:

based on the active maven profile...
- Change the artifactId
- Add a field to the jar's manifest to state whether it was built with FIPS support

Result:

When built with the fips-boringssl-static profile the jar file names will now be netty-tcnative-boringssl-static-fips-2.0.75.Final-SNAPSHOT*.jar
@normanmaurer normanmaurer added this to the 2.0.75.Final milestone Nov 7, 2025
@normanmaurer
normanmaurer merged commit 0d91fac into netty:main Nov 7, 2025
10 checks passed
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.

2 participants