| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- |
| 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> |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling</artifactId> |
| <version>5-incubator</version> |
| <relativePath>../../parent/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>org.apache.sling.launchpad.app</artifactId> |
| <packaging>jar</packaging> |
| <version>5-incubator</version> |
| |
| <name>Apache Sling Launchpad Standalone Java Application</name> |
| <description> |
| Standalone Launchpad Java Application. Everything needed to run |
| the Launchpad is included in a single JAR file. |
| </description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/sling/tags/org.apache.sling.launchpad.app-5-incubator</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/sling/tags/org.apache.sling.launchpad.app-5-incubator</developerConnection> |
| <url>http://svn.apache.org/viewvc/incubator/sling/tags/org.apache.sling.launchpad.app-5-incubator</url> |
| </scm> |
| |
| <build> |
| <plugins> |
| <!-- Bundles to list in the installer properties file --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| |
| <!-- Fixed Launcher Classes --> |
| <execution> |
| <id>inline-launchpad-base</id> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds> |
| org.apache.sling.launchpad.base |
| </includeArtifactIds> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory> |
| ${project.build.outputDirectory} |
| </outputDirectory> |
| </configuration> |
| </execution> |
| |
| <!-- Launcher Jar --> |
| <execution> |
| <id>copy-launcher-jar</id> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.launchpad.base</artifactId> |
| <version>2.0.4-incubator</version> |
| </artifactItem> |
| </artifactItems> |
| <stripVersion>true</stripVersion> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory> |
| ${project.build.outputDirectory}/resources |
| </outputDirectory> |
| </configuration> |
| </execution> |
| |
| <!-- Launchpad Bundles --> |
| <execution> |
| <id>inline-launchpad-bundles</id> |
| <goals> |
| <goal>unpack-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds> |
| org.apache.sling.launchpad.bundles |
| </includeArtifactIds> |
| <includes> |
| resources/** |
| </includes> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory> |
| ${project.build.outputDirectory} |
| </outputDirectory> |
| </configuration> |
| </execution> |
| |
| <!-- HttpService: Embedded Jetty, started at level 5 --> |
| <execution> |
| <id>copy-jetty-bundle</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds> |
| pax-web-service |
| </includeArtifactIds> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory> |
| ${project.build.outputDirectory}/resources/bundles/5 |
| </outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <archive> |
| <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
| <manifest> |
| <addDefaultImplementationEntries> |
| true |
| </addDefaultImplementationEntries> |
| </manifest> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <configuration> |
| <descriptors> |
| <descriptor> |
| src/main/assembly/bin.xml |
| </descriptor> |
| </descriptors> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| <reporting> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <!-- No javadocs --> |
| <excludePackageNames> |
| org.apache.sling |
| </excludePackageNames> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.launchpad.base</artifactId> |
| <version>2.0.4-incubator</version> |
| <classifier>app</classifier> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.launchpad.bundles</artifactId> |
| <version>5-incubator</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- HttpService: Embedded Jetty --> |
| <dependency> |
| <groupId>org.ops4j.pax.web</groupId> |
| <artifactId>pax-web-service</artifactId> |
| <version>0.6.0</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>dist</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>assemble-distribution</id> |
| <configuration> |
| <descriptors> |
| <descriptor> |
| assembly.xml |
| </descriptor> |
| </descriptors> |
| <appendAssemblyId> |
| false |
| </appendAssemblyId> |
| </configuration> |
| <phase>package</phase> |
| <goals> |
| <goal>attached</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <repositories> |
| <repository> |
| <id>OPS4J</id> |
| <name>OPS4J Repository</name> |
| <url>http://repository.ops4j.org/maven2</url> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| </repositories> |
| </project> |
| |