META-INF.maven.org.ops4j.pax.web.samples.jsf-primefaces-embedded-fragment.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2021 OPS4J.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<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>
<groupId>org.ops4j.pax.web.samples</groupId>
<artifactId>samples-jsf</artifactId>
<version>8.0.25</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.ops4j.pax.web.samples</groupId>
<artifactId>jsf-primefaces-embedded-fragment</artifactId>
<packaging>bundle</packaging>
<name>OPS4J Pax Web JSF Samples - embedded, fragment</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<!--
Another kind of "wire" between this fragment bundle (for war bundle) and other bundle to check
if we can access resources across wires - and fragments
-->
<Require-Bundle>org.ops4j.pax.web.samples.jsf-primefaces-commons2</Require-Bundle>
<Import-Package>
org.osgi.framework;version="[1.8,2)",
*
</Import-Package>
<Private-Package />
<Fragment-Host>org.ops4j.pax.web.samples.jsf-primefaces-embedded</Fragment-Host>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- pax-web own artifacts -->
<dependency>
<groupId>org.ops4j.pax.web.samples</groupId>
<artifactId>jsf-primefaces-embedded</artifactId>
<!--
This is required, but bndlib prints a warning about missing host dependency on classpath.
The reason is that org.apache.maven.artifact.handler.DefaultArtifactHandler for "war" role has
"addedToClasspath" set to false in maven-core.jar!/META-INF/plexus/artifact-handlers.xml
-->
<type>war</type>
</dependency>
<dependency>
<groupId>org.ops4j.pax.web.samples</groupId>
<artifactId>jsf-primefaces-commons2</artifactId>
</dependency>
<!-- OSGi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>osgi.core</artifactId>
</dependency>
<!-- JavaEE -->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy