| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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> |
| <groupId>org.apache.jackrabbit.filevault</groupId> |
| <artifactId>package-plugin-test-pkg</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <packaging>content-package</packaging> |
| <name>Example Default Project</name> |
| <description>This is an Example Project to verify that manifest generation is correct.</description> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.jackrabbit</groupId> |
| <artifactId>filevault-package-maven-plugin</artifactId> |
| <version>${plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <group>my/test/group</group> |
| <importUnusedPackages>true</importUnusedPackages> |
| <importPackage> |
| -aQute*, <!-- example of removing a package --> |
| -org.osgi.framework.*, <!-- should keep the org.osgi.framework but remove subpackages--> |
| javax.jcr*;version="[1.0.0,3.0.0)", <!-- example of altering existing packages --> |
| org.apache.foo <!-- example of adding a new package --> |
| </importPackage> |
| <failOnDependencyErrors>false</failOnDependencyErrors> |
| <filters> |
| <filter> |
| <root>/apps/test</root> |
| </filter> |
| </filters> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <version>2.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>org.apache.jackrabbit.vault</artifactId> |
| <version>3.1.40</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <!-- unused dependency --> |
| <groupId>biz.aQute</groupId> |
| <artifactId>bndlib</artifactId> |
| <version>1.43.0</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>5.0.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </project> |