<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can
obtain a copy of the License at
or packager/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at packager/legal/LICENSE.txt.
GPL Classpath Exception:
Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the GPL Version 2 section of the License
file that accompanied this code.
Modifications:
If applicable, add the following below the License Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyright [year] [name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<!--
This module is meant to create a distribution fragement that contains
Apache Felix and associated configuration files and bundles.
The layout relative to glassfish root looks like this:
osgi/
felix/
bin/
conf/
modules/
autostart/
This is more or less how the layout would look if one downloads the Felix
distribution from Felix project and installs. The only difference being we keep
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>osgi-platforms</artifactId>
<version>3.1.2</version>
</parent>
<artifactId>felix</artifactId>
<name>Apache Felix and associated bundles and configuration files</name>
<!-- This is a distribution fragement.
It is distributed as part of nucleus-base.
-->
<packaging>distribution-fragment</packaging>
<properties>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<stripVersion>true</stripVersion>
<artifactItems>
<artifactItem>
<version>4.0.2</version>
</artifactItem>
<!-- We bundle Felix Shell bundles so that
user can use them to utilize the full power
of Felix even while using GlassFish -->
<artifactItem>
<version>1.4.1</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>1.4.1</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>1.1.2</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>0.8.0</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>0.8.0</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>0.8.0</version>
<type>jar</type>
</artifactItem>
<!-- We install fileinstall bundle which monitors modules
<artifactItem>
<version>3.1.10</version>
<type>jar</type>
</artifactItem>
<!-- fileinstall needs configadmin service -->
<artifactItem>
<version>1.2.4</version>
<type>jar</type>
</artifactItem>
<artifactItem>
<version>1.4.0</version>
<type>jar</type>
</artifactItem>
<!-- We don't ship this, as it affects startup benchmark by 1%.
<artifactItem>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.bundlerepository</artifactId>
<version>1.6.2</version>
<type>jar</type>
<outputDirectory>${glassfish.modulesdir}/autostart/</outputDirectory>
</artifactItem>
-->
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-extended-plugin</artifactId>
<configuration>
<tasks>
</tasks>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<artifactId>maven-glassfishbuild-extension</artifactId>
</extension>
</extensions>
</build>
<dependencies>
<!--
add it as a test scope dependency so that IDEs can recognize this as a dependency
and show the source code during the debugging
-->
<dependency>
<scope>test</scope>
</dependency>
</dependencies>
</project>