|
9 | 9 | <groupId>com.merkle.oss.aem</groupId> |
10 | 10 | <artifactId>aem-utils</artifactId> |
11 | 11 | <packaging>pom</packaging> |
12 | | - <version>0.0.2-SNAPSHOT</version> |
| 12 | + <version>0.0.3-SNAPSHOT</version> |
13 | 13 | <name>AEM Utils</name> |
14 | 14 | <description>Maven Multimodule project for AEM Java Utilities</description> |
15 | 15 | <url>https://github.com/merkle-open/aem-utils</url> |
|
121 | 121 | <org.jsoup.version>1.22.1</org.jsoup.version> |
122 | 122 | <google.re2j.version>1.8</google.re2j.version> |
123 | 123 | <org.jspecify.version>1.0.0</org.jspecify.version> |
| 124 | + <caffeine.version>3.2.3</caffeine.version> |
124 | 125 | <junit.version>6.0.2</junit.version> |
125 | 126 | <mockito.version>5.21.0</mockito.version> |
126 | 127 | <io.wcm.testing.aem-mock.junit5.version>5.6.14</io.wcm.testing.aem-mock.junit5.version> |
127 | 128 | <gson.version>2.13.2</gson.version> |
| 129 | + <slf4j-simple.version>2.0.17</slf4j-simple.version> |
128 | 130 |
|
129 | 131 | <java.version>21</java.version> |
130 | 132 | <aem.sdk.api>2025.9.22758.20250928T092442Z-250900</aem.sdk.api> |
|
285 | 287 | <goal>bnd-process</goal> |
286 | 288 | </goals> |
287 | 289 | <configuration> |
288 | | - <bnd> |
| 290 | + <bnd><![CDATA[ |
289 | 291 | Bundle-Category: ${componentGroupName} |
| 292 | + Bundle-DocURL: https://github.com/merkle-open/aem-utils |
290 | 293 |
|
291 | | - -conditionalpackage: org.jspecify.*, org.jsoup.*, com.google.re2j.* |
| 294 | + -conditionalpackage: \ |
| 295 | + org.jspecify.*, \ |
| 296 | + org.jsoup.*, \ |
| 297 | + com.google.re2j.*, \ |
| 298 | + com.github.benmanes.caffeine.*, \ |
| 299 | + com.google.errorprone.annotations.* |
292 | 300 |
|
293 | | - -exportcontents: com.merkle.oss.aem.utils*, org.jspecify.annotations.* |
| 301 | + -exportcontents: \ |
| 302 | + com.merkle.oss.aem.utils.* |
| 303 | +
|
| 304 | + # This explicitly prevents these from appearing in Import-Package |
| 305 | + Import-Package: \ |
| 306 | + !org.jspecify.*, \ |
| 307 | + !org.jsoup.*, \ |
| 308 | + !com.google.re2j.*, \ |
| 309 | + !com.github.benmanes.caffeine.*, \ |
| 310 | + !com.google.errorprone.annotations.*, \ |
| 311 | + * |
| 312 | +
|
| 313 | + -fixupmessages.one: "Export com.merkle.oss.aem.utils.*jspecify.*";is:=ignore |
| 314 | + -fixupmessages.two: "Export *, has \\d+, private references"; restrict:=warning; is:=error |
294 | 315 |
|
295 | | - # reproducible builds (https://github.com/bndtools/bnd/issues/3521) |
296 | 316 | -noextraheaders: true |
297 | 317 | -snapshot: SNAPSHOT |
298 | 318 |
|
299 | | - Bundle-DocURL: |
300 | | - -plugin org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin |
301 | | - -plugin org.apache.sling.bnd.models.ModelsScannerPlugin |
302 | | - </bnd> |
| 319 | + -plugin.caconfig: org.apache.sling.caconfig.bndplugin.ConfigurationClassScannerPlugin |
| 320 | + -plugin.models: org.apache.sling.bnd.models.ModelsScannerPlugin |
| 321 | + ]]></bnd> |
303 | 322 | </configuration> |
304 | 323 | </execution> |
305 | 324 | </executions> |
|
349 | 368 | <groupId>org.apache.maven.plugins</groupId> |
350 | 369 | <artifactId>maven-surefire-plugin</artifactId> |
351 | 370 | <version>${mvn.surefire.plugin.version}</version> |
| 371 | + <configuration> |
| 372 | + <argLine> |
| 373 | + -XX:+EnableDynamicAgentLoading |
| 374 | + -Xshare:off |
| 375 | + </argLine> |
| 376 | + </configuration> |
352 | 377 | </plugin> |
353 | 378 | <!-- Maven Failsafe Plugin --> |
354 | 379 | <plugin> |
|
649 | 674 | <version>${org.jspecify.version}</version> |
650 | 675 | <scope>compile</scope> |
651 | 676 | </dependency> |
| 677 | + <dependency> |
| 678 | + <groupId>com.github.ben-manes.caffeine</groupId> |
| 679 | + <artifactId>caffeine</artifactId> |
| 680 | + <version>${caffeine.version}</version> |
| 681 | + <scope>compile</scope> |
| 682 | + </dependency> |
652 | 683 | <dependency> |
653 | 684 | <groupId>org.junit</groupId> |
654 | 685 | <artifactId>junit-bom</artifactId> |
|
692 | 723 | <version>${gson.version}</version> |
693 | 724 | <scope>test</scope> |
694 | 725 | </dependency> |
| 726 | + <dependency> |
| 727 | + <groupId>org.slf4j</groupId> |
| 728 | + <artifactId>slf4j-simple</artifactId> |
| 729 | + <version>${slf4j-simple.version}</version> |
| 730 | + <scope>test</scope> |
| 731 | + </dependency> |
695 | 732 | </dependencies> |
696 | 733 | </dependencyManagement> |
697 | 734 |
|
|
0 commit comments