|
15 | 15 | See the License for the specific language governing permissions and |
16 | 16 | limitations under the License. |
17 | 17 | --> |
18 | | -<project |
19 | | - xmlns="http://maven.apache.org/POM/4.0.0" |
20 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
21 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 18 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
22 | 19 | <parent> |
23 | 20 | <groupId>org.apache.commons</groupId> |
24 | 21 | <artifactId>commons-parent</artifactId> |
|
213 | 210 | <build> |
214 | 211 | <sourceDirectory>src/java</sourceDirectory> |
215 | 212 | <testSourceDirectory>src/test</testSourceDirectory> |
216 | | - <plugins> |
217 | | - <plugin> |
218 | | - <groupId>org.apache.maven.plugins</groupId> |
219 | | - <artifactId>maven-surefire-plugin</artifactId> |
220 | | - <configuration> |
221 | | - <includes> |
222 | | - <include>**/*Test*</include> |
223 | | - </includes> |
224 | | - <excludes> |
225 | | - <exclude>**/*AbstractTestCase*</exclude> |
226 | | - <exclude>**/AllIOTestSuite*</exclude> |
227 | | - <exclude>**/PackageTestSuite*</exclude> |
228 | | - <exclude>**/testtools/**</exclude> |
229 | | - |
230 | | - <!-- http://jira.codehaus.org/browse/SUREFIRE-44 --> |
231 | | - <exclude>**/*$*</exclude> |
232 | | - </excludes> |
233 | | - </configuration> |
234 | | - </plugin> |
235 | | - <plugin> |
236 | | - <artifactId>maven-assembly-plugin</artifactId> |
| 213 | + <plugins> |
| 214 | + <plugin> |
| 215 | + <groupId>org.apache.maven.plugins</groupId> |
| 216 | + <artifactId>maven-surefire-plugin</artifactId> |
237 | 217 | <configuration> |
238 | | - <descriptors> |
239 | | - <descriptor>src/main/assembly/bin.xml</descriptor> |
240 | | - <descriptor>src/main/assembly/src.xml</descriptor> |
241 | | - </descriptors> |
242 | | - <tarLongFileMode>gnu</tarLongFileMode> |
243 | | - </configuration> |
244 | | - </plugin> |
| 218 | + <includes> |
| 219 | + <include>**/*Test*</include> |
| 220 | + </includes> |
| 221 | + <excludes> |
| 222 | + <exclude>**/*AbstractTestCase*</exclude> |
| 223 | + <exclude>**/AllIOTestSuite*</exclude> |
| 224 | + <exclude>**/PackageTestSuite*</exclude> |
| 225 | + <exclude>**/testtools/**</exclude> |
245 | 226 |
|
246 | | - <plugin> |
247 | | - <artifactId>maven-jar-plugin</artifactId> |
248 | | - <configuration> |
249 | | - <archive> |
250 | | - <!-- |
251 | | - Configure OSGi bundle information |
252 | | - (remvoe when maven bundle plugin is added to commons-parent pom) |
253 | | - --> |
254 | | - <manifestEntries> |
255 | | - <Bundle-SymbolicName>org.apache.commons.io</Bundle-SymbolicName> |
256 | | - <Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License> |
257 | | - <Bundle-ManifestVersion>2</Bundle-ManifestVersion> |
258 | | - <Bundle-Name>Apache Commons IO Bundle</Bundle-Name> |
259 | | - <Bundle-Vendor>${project.organization.name}</Bundle-Vendor> |
260 | | - <Bundle-Version>${project.version}</Bundle-Version> |
261 | | - <Export-Package> |
| 227 | + <!-- http://jira.codehaus.org/browse/SUREFIRE-44 --> |
| 228 | + <exclude>**/*$*</exclude> |
| 229 | + </excludes> |
| 230 | + </configuration> |
| 231 | + </plugin> |
| 232 | + <plugin> |
| 233 | + <artifactId>maven-assembly-plugin</artifactId> |
| 234 | + <configuration> |
| 235 | + <descriptors> |
| 236 | + <descriptor>src/main/assembly/bin.xml</descriptor> |
| 237 | + <descriptor>src/main/assembly/src.xml</descriptor> |
| 238 | + </descriptors> |
| 239 | + <tarLongFileMode>gnu</tarLongFileMode> |
| 240 | + </configuration> |
| 241 | + </plugin> |
| 242 | + |
| 243 | + <plugin> |
| 244 | + <artifactId>maven-jar-plugin</artifactId> |
| 245 | + <configuration> |
| 246 | + <archive> |
| 247 | + <!-- |
| 248 | + Configure OSGi bundle information |
| 249 | + (remove when maven bundle plugin is added to commons-parent pom) |
| 250 | + --> |
| 251 | + <manifestEntries> |
| 252 | + <Bundle-SymbolicName>org.apache.commons.io</Bundle-SymbolicName> |
| 253 | + <Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License> |
| 254 | + <Bundle-ManifestVersion>2</Bundle-ManifestVersion> |
| 255 | + <Bundle-Name>Apache Commons IO Bundle</Bundle-Name> |
| 256 | + <Bundle-Vendor>${project.organization.name}</Bundle-Vendor> |
| 257 | + <Bundle-Version>${project.version}</Bundle-Version> |
| 258 | + <Export-Package> |
262 | 259 | org.apache.commons.io;version=${project.version}, |
263 | 260 | org.apache.commons.io.comparator;version=${project.version}, |
264 | 261 | org.apache.commons.io.filefilter;version=${project.version}, |
265 | 262 | org.apache.commons.io.input;version=${project.version}, |
266 | 263 | org.apache.commons.io.output;version=${project.version} |
267 | | - </Export-Package> |
268 | | - <Import-Package> |
| 264 | + </Export-Package> |
| 265 | + <Import-Package> |
269 | 266 | org.apache.commons.io;version=${project.version}, |
270 | 267 | org.apache.commons.io.comparator;version=${project.version}, |
271 | 268 | org.apache.commons.io.filefilter;version=${project.version}, |
272 | 269 | org.apache.commons.io.input;version=${project.version}, |
273 | 270 | org.apache.commons.io.output;version=${project.version} |
274 | | - </Import-Package> |
275 | | - </manifestEntries> |
276 | | - </archive> |
277 | | - </configuration> |
278 | | - </plugin> |
279 | | - </plugins> |
280 | | - </build> |
| 271 | + </Import-Package> |
| 272 | + </manifestEntries> |
| 273 | + </archive> |
| 274 | + </configuration> |
| 275 | + </plugin> |
| 276 | + </plugins> |
| 277 | + </build> |
281 | 278 |
|
282 | 279 | <reporting> |
283 | 280 | <plugins> |
|
0 commit comments