blob: 5ad8c0cddc4aae73cc306838a4f7afddf2490eb0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 1997, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.glassfish.main.web</groupId>
<artifactId>web</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>weld-integration-test-fragment</artifactId>
<packaging>jar</packaging>
<name>Fragment bundle for Weld related testing</name>
<description>This fragment bundle extends the weld osgi bundle to export additional packages from the weld-osgi-bundle as they are used in the Weld Arquillian tests</description>
<developers>
<developer>
<id>sivakumart</id>
<name>Sivakumar Thyagarajan</name>
<organization>Oracle, Inc.</organization>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>export-package-regexp</id>
<goals>
<goal>regex-property</goal>
</goals>
<configuration>
<name>osgi.export.packages</name>
<regex>\s+</regex>
<replacement> </replacement>
<value>
org.jboss.weld.literal,
org.jboss.weld.logging,
org.jboss.weld.logging.messages,
org.jboss.metadata.validation,
org.jboss.weld.bean.interceptor,
org.jboss.weld.metadata,
org.jboss.weld.metadata.cache,
org.jboss.weld.resources,
org.jboss.weld.test,
org.jboss.weld.tests,
org.jboss.weld.tests.extensions,
org.jboss.weld.tests.extensions.injectionTarget,
org.jboss.weld.exceptions
</value>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Fragment-Host>org.jboss.weld.osgi-bundle</Fragment-Host>
<Export-Package>${osgi.export.packages}</Export-Package>
<Bundle-Description>${project.description}</Bundle-Description>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>