Repository navigation
Commit 0d91fac
Change the artifactId when building FIPS-compliant netty-tcnative-boringssl-static (#945)
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
Co-authored-by: Steve Lessard <steve.lessard@oracle.com>1 parent 7f8dc19 commit 0d91fac
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| |||
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
| 450 | + | |
447 | 451 | | |
448 | 452 | | |
449 | 453 | | |
| |||
0 commit comments