Skip to content

Instantly share code, notes, and snippets.

@justinedelson
Forked from efroese/gist:2869165
Created June 4, 2012 23:40
Show Gist options
  • Save justinedelson/2871513 to your computer and use it in GitHub Desktop.
Save justinedelson/2871513 to your computer and use it in GitHub Desktop.
remove sling from maven-launchpad-plugin output
<?xml version="1.0"?>
<!--
Licensed to the Sakai Foundation (SF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The SF 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>test</groupId>
<artifactId>org.sakaiproject.nakamura.preview</artifactId>
<packaging>jar</packaging>
<name>Sakai Nakamura :: Preview Processor</name>
<version>1.3-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.sling</groupId>
<artifactId>maven-launchpad-plugin</artifactId>
<version>2.1.0</version>
<executions>
<execution>
<id>prepare-package</id>
<goals>
<goal>prepare-package</goal>
</goals>
<configuration>
<includeDefaultBundles>false</includeDefaultBundles>
</configuration>
</execution>
<execution>
<id>attach-bundle-list</id>
<goals>
<goal>attach-bundle-list</goal>
</goals>
<configuration>
<includeDefaultBundles>false</includeDefaultBundles>
</configuration>
</execution>
<execution>
<id>create-karaf-descriptor</id>
<goals>
<goal>create-karaf-descriptor</goal>
</goals>
<configuration>
<includeDefaultBundles>false</includeDefaultBundles>
<exclusions>
<exclusion>org.apache.felix:org.apache.felix.configadmin</exclusion>
<exclusion>org.apache.felix:org.apache.felix.webconsole</exclusion>
</exclusions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.launchpad.base</artifactId>
<version>2.3.1-SNAPSHOT</version>
<classifier>app</classifier>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment