org.apache.sling.launchpad.webapp
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.launchpad.webapp</artifactId> <version>5-incubator</version> </dependency>
<?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.webapp</artifactId> <packaging>war</packaging> <version>5-incubator</version> <name>Apache Sling Launchpad Web Application</name> <description> The launchpad webapp packages the standard launchpad components in a Sling web application. </description> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/sling/tags/org.apache.sling.launchpad.webapp-5-incubator</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/sling/tags/org.apache.sling.launchpad.webapp-5-incubator</developerConnection> <url>http://svn.apache.org/viewvc/incubator/sling/tags/org.apache.sling.launchpad.webapp-5-incubator</url> </scm> <properties> <!-- Jetty default port (override with -D) --> <http.port>8888</http.port> <!-- path suffix for HTTP access to Sling --> <http.base.path /> <!-- path suffix for WebDAV access to the repository --> <webdav.workspace.path /> <!-- hostname for integration tests --> <test.host>localhost</test.host> <!-- Disable Jetty webapp rescan (override with -D) --> <jetty.scan.interval.seconds>0</jetty.scan.interval.seconds> <!-- Sling home directory when starting with jetty:run --> <jetty.sling.home>target/sling</jetty.sling.home> <!-- Context path of the Sling web application --> <jetty.sling.context>/</jetty.sling.context> </properties> <build> <plugins> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <configuration> <contextPath>/</contextPath> <scanIntervalSeconds> ${jetty.scan.interval.seconds} </scanIntervalSeconds> <connectors> <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> <port>${http.port}</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> <!-- Use target/... as the webapp source, as we unpack stuff there from the Sling launcher modules --> <webAppSourceDirectory> target/${artifactId}-${pom.version} </webAppSourceDirectory> <webAppConfig> <contextPath>${jetty.sling.context}</contextPath> <initParams> <sling.home>${jetty.sling.home}</sling.home> </initParams> </webAppConfig> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <!-- Unpack the sling-app launcher for inclusion in the web app --> <id>unpack-dependencies</id> <goals> <goal>unpack-dependencies</goal> </goals> <configuration> <includeArtifactIds> org.apache.sling.launchpad.bundles </includeArtifactIds> <includes> resources/** </includes> <excludeTransitive>true</excludeTransitive> <outputDirectory> ${project.build.directory}/launchpad-bundles </outputDirectory> <overWriteReleases>false</overWriteReleases> <overWriteSnapshots> true </overWriteSnapshots> </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.directory}/launchpad-bundles/resources </outputDirectory> </configuration> </execution> </executions> </plugin> <!-- Include sling-webapp launcher classes and resources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> <webResources> <!-- the configuration resources --> <resource> <directory> ${project.build.directory}/launchpad-bundles </directory> <targetPath>WEB-INF</targetPath> </resource> <!-- Legal stuff --> <resource> <directory>${basedir}</directory> <targetPath>META-INF</targetPath> <includes> <include>LICENSE*</include> <include>NOTICE*</include> <include>DISCLAIMER</include> </includes> </resource> </webResources> </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>webapp</classifier> <type>war</type> <scope>runtime</scope> </dependency> <dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.launchpad.bundles</artifactId> <version>5-incubator</version> <scope>provided</scope> <optional>true</optional> </dependency> </dependencies> </project>