|
13 | 13 | <groupId>com.damnhandy</groupId> |
14 | 14 | <artifactId>handy-uri-templates</artifactId> |
15 | 15 | <version>2.1.9-SNAPSHOT</version> |
16 | | - <packaging>bundle</packaging> |
17 | | - <name>Handy URI Templates</name> |
18 | 16 |
|
| 17 | + <name>Handy URI Templates</name> |
19 | 18 | <description> |
20 | 19 | Handy URI Templates is a RFC6570 compliant URI template processor. The library allows clients to |
21 | 20 | utilize templatized URIs and inject replacement variables to expand the template into a URI. The library sports |
|
24 | 23 |
|
25 | 24 | <properties> |
26 | 25 | <java.version>11</java.version> |
| 26 | + <bnd.version>7.2.3</bnd.version> |
27 | 27 | <jackson.version>2.11.0</jackson.version> |
28 | 28 | </properties> |
29 | 29 |
|
|
72 | 72 | <build> |
73 | 73 | <plugins> |
74 | 74 | <plugin> |
75 | | - <groupId>org.apache.felix</groupId> |
76 | | - <artifactId>maven-bundle-plugin</artifactId> |
77 | | - <version>5.1.9</version> |
78 | | - <extensions>true</extensions> |
| 75 | + <groupId>biz.aQute.bnd</groupId> |
| 76 | + <artifactId>bnd-maven-plugin</artifactId> |
| 77 | + <version>${bnd.version}</version> |
| 78 | + <configuration> |
| 79 | + <bnd> |
| 80 | + <!-- Do not set Bundle-Developers --> |
| 81 | + Bundle-Developers: |
| 82 | + <!-- Export all versioned packages by default --> |
| 83 | + -exportcontents: ${packages;VERSIONED} |
| 84 | + <!-- Use "SNAPSHOT" suffix for snapshot bundle versions --> |
| 85 | + -snapshot: SNAPSHOT |
| 86 | + <!-- Remove Private-Package header as it may contain lists of all SLING-INF folders --> |
| 87 | + -removeheaders: Private-Package |
| 88 | + <!-- reproducible builds (https://github.com/bndtools/bnd/issues/3521) --> |
| 89 | + -noextraheaders: true |
| 90 | + <!-- Do not create imports for java.* as this leads to failed builds with AEM cloud service --> |
| 91 | + -noimportjava: true |
| 92 | + </bnd> |
| 93 | + </configuration> |
79 | 94 | <executions> |
80 | | - <!-- Configure extra execution of 'manifest' in process-classes phase to make sure SCR metadata is generated before unit test runs --> |
81 | 95 | <execution> |
82 | | - <id>scr-metadata</id> |
| 96 | + <id>bnd-process</id> |
83 | 97 | <goals> |
84 | | - <goal>manifest</goal> |
| 98 | + <goal>bnd-process</goal> |
85 | 99 | </goals> |
86 | | - <configuration> |
87 | | - <supportIncrementalBuild>true</supportIncrementalBuild> |
88 | | - </configuration> |
89 | 100 | </execution> |
90 | 101 | </executions> |
| 102 | + </plugin> |
| 103 | + |
| 104 | + <!-- TODO: enabled baseline plugin after first release --> |
| 105 | + <!-- |
| 106 | + <plugin> |
| 107 | + <groupId>biz.aQute.bnd</groupId> |
| 108 | + <artifactId>bnd-baseline-maven-plugin</artifactId> |
| 109 | + <version>${bnd.version}</version> |
| 110 | + <configuration> |
| 111 | + <includeDistributionManagement>false</includeDistributionManagement> |
| 112 | + <fullReport>true</fullReport> |
| 113 | + </configuration> |
| 114 | + <executions> |
| 115 | + <execution> |
| 116 | + <id>bnd-baseline</id> |
| 117 | + <goals> |
| 118 | + <goal>baseline</goal> |
| 119 | + </goals> |
| 120 | + </execution> |
| 121 | + </executions> |
| 122 | + </plugin> |
| 123 | + --> |
| 124 | + |
| 125 | + <!-- suppress javadoc warnings/errors --> |
| 126 | + <plugin> |
| 127 | + <groupId>org.apache.maven.plugins</groupId> |
| 128 | + <artifactId>maven-javadoc-plugin</artifactId> |
91 | 129 | <configuration> |
92 | | - <instructions> |
93 | | - <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName> |
94 | | - <Bundle-Name>${project.artifactId}</Bundle-Name> |
95 | | - </instructions> |
| 130 | + <doclint>none</doclint> |
| 131 | + <failOnError>false</failOnError> |
96 | 132 | </configuration> |
97 | 133 | </plugin> |
| 134 | + |
| 135 | + <!-- Match different test naming conventions --> |
98 | 136 | <plugin> |
99 | 137 | <groupId>org.apache.maven.plugins</groupId> |
100 | 138 | <artifactId>maven-surefire-plugin</artifactId> |
|
106 | 144 | </includes> |
107 | 145 | </configuration> |
108 | 146 | </plugin> |
| 147 | + |
109 | 148 | </plugins> |
110 | 149 | </build> |
111 | 150 |
|
|
166 | 205 | <scope>compile</scope> |
167 | 206 | </dependency> |
168 | 207 |
|
| 208 | + <!-- OSGi Versioning --> |
| 209 | + <dependency> |
| 210 | + <groupId>org.osgi</groupId> |
| 211 | + <artifactId>org.osgi.annotation.versioning</artifactId> |
| 212 | + <version>1.1.2</version> |
| 213 | + <scope>provided</scope> |
| 214 | + </dependency> |
| 215 | + |
169 | 216 | </dependencies> |
170 | 217 |
|
171 | 218 | </project> |
0 commit comments