Author: vramdal Date: Mon Feb 6 22:50:38 2012 New Revision: 1241242 URL: http://svn.apache.org/viewvc?rev=1241242&view=rev Log: SLING-2396 - Adds test app
Added: sling/whiteboard/resourceresolverfactory/test-app/ sling/whiteboard/resourceresolverfactory/test-app/pom.xml sling/whiteboard/resourceresolverfactory/test-app/src/ sling/whiteboard/resourceresolverfactory/test-app/src/main/ sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/ sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/list.xml sling/whiteboard/resourceresolverfactory/test-app/src/test/ Added: sling/whiteboard/resourceresolverfactory/test-app/pom.xml URL: http://svn.apache.org/viewvc/sling/whiteboard/resourceresolverfactory/test-app/pom.xml?rev=1241242&view=auto ============================================================================== --- sling/whiteboard/resourceresolverfactory/test-app/pom.xml (added) +++ sling/whiteboard/resourceresolverfactory/test-app/pom.xml Mon Feb 6 22:50:38 2012 @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + 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/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>test-app</groupId> + <artifactId>test-app</artifactId> + <version>1.0</version> + <packaging>jar</packaging> + <name>test-app Launchpad Standalone</name> + <description>test-app Launchpad Standalone</description> + <build> + <plugins> + <plugin> + <groupId>org.apache.sling</groupId> + <artifactId>maven-launchpad-plugin</artifactId> + <version>2.0.10</version> + <executions> + <execution> + <id>prepare-package-jar</id> + <goals> + <goal>prepare-package</goal> + </goals> + </execution> + </executions> + <configuration> + <defaultBundleList> + <version>6</version> + </defaultBundleList> + <bundleExclusions> + <bundleExclusion> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.jcr.resource</artifactId> + </bundleExclusion> + </bundleExclusions> + <additionalBundles> + <additionalBundle> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.jcr.resource</artifactId> + <version>2.0.11-WHITEBOARD</version> + </additionalBundle> + <additionalBundle> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.resourceresolverfactory</artifactId> + <version>2.0.11-WHITEBOARD</version> + </additionalBundle> + </additionalBundles> + </configuration> + </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> + </plugins> + </build> + <dependencies> + <dependency> + <groupId>org.apache.sling</groupId> + <artifactId>org.apache.sling.launchpad.base</artifactId> + <version>2.3.0</version> + <classifier>app</classifier> + <scope>runtime</scope> + </dependency> + </dependencies> +</project> Added: sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/list.xml URL: http://svn.apache.org/viewvc/sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/list.xml?rev=1241242&view=auto ============================================================================== --- sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/list.xml (added) +++ sling/whiteboard/resourceresolverfactory/test-app/src/main/bundles/list.xml Mon Feb 6 22:50:38 2012 @@ -0,0 +1,22 @@ +<?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. +--> +<bundles> + <startLevel level="0"> + <bundle> + <groupId>org.apache.felix</groupId> + <artifactId>org.apache.felix.fileinstall</artifactId> + <version>2.0.8</version> + </bundle> + </startLevel> +</bundles>