| <?xml version="1.0"?><!-- |
| 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> |
| <!-- ====================================================================== --> |
| <!-- P A R E N T P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <parent> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>parent</artifactId> |
| <relativePath>../parent/pom.xml</relativePath> |
| <version>3.1.25-SNAPSHOT</version> |
| </parent> |
| |
| <!-- ====================================================================== --> |
| <!-- P R O J E C T D E S C R I P T I O N --> |
| <!-- ====================================================================== --> |
| <artifactId>vault-hook-externalclass-test</artifactId> |
| <version>3.1.25-SNAPSHOT</version> |
| <packaging>jar</packaging> |
| |
| <name>Apache Jackrabbit FileVault Package Hook Sling Example</name> |
| <description> |
| Provides an example of a package install hook that uses a class not available in bundles classpath |
| </description> |
| |
| <!-- ====================================================================== --> |
| <!-- S C M D E F I N I T I O N --> |
| <!-- ====================================================================== --> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test</developerConnection> |
| <url>http://svn.apache.org/viewvc/asf/jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test</url> |
| </scm> |
| |
| |
| <!-- ====================================================================== --> |
| <!-- B U I L D D E F I N I T I O N --> |
| <!-- ====================================================================== --> |
| <build> |
| <plugins> |
| <!-- assemble dist --> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <id>assemble-distribution</id> |
| <configuration> |
| <descriptors> |
| <descriptor>assembly.xml</descriptor> |
| </descriptors> |
| </configuration> |
| <phase>package</phase> |
| <goals> |
| <goal>directory-inline</goal> |
| <goal>attached</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- set main class --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.3.1</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <mainClass>org.apache.jackrabbit.vault.packaging.hooks.ExampleOsgiHook</mainClass> |
| <addClasspath>true</addClasspath> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <!-- ====================================================================== --> |
| <!-- D E P E N D E N C I E S --> |
| <!-- ====================================================================== --> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.jackrabbit.vault</groupId> |
| <artifactId>org.apache.jackrabbit.vault</artifactId> |
| <version>3.1.25-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- JCR Stuff --> |
| <dependency> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- SLF4j / Log4j --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.3.0</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| </dependencies> |
| |
| </project> |