Author: atk
Date: Thu Dec  3 09:18:57 2009
New Revision: 886716

URL: http://svn.apache.org/viewvc?rev=886716&view=rev
Log:
ARIES-66 placeholder for jmx integration tests

Added:
    incubator/aries/trunk/jmx/jmx-itests/
    incubator/aries/trunk/jmx/jmx-itests/pom.xml   (with props)
    incubator/aries/trunk/jmx/jmx-itests/src/
    incubator/aries/trunk/jmx/jmx-itests/src/test/
    incubator/aries/trunk/jmx/jmx-itests/src/test/java/
    incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/
    incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/
    incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/
    incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/
    
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
   (with props)
    incubator/aries/trunk/jmx/jmx-itests/src/test/resources/

Added: incubator/aries/trunk/jmx/jmx-itests/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/aries/trunk/jmx/jmx-itests/pom.xml?rev=886716&view=auto
==============================================================================
--- incubator/aries/trunk/jmx/jmx-itests/pom.xml (added)
+++ incubator/aries/trunk/jmx/jmx-itests/pom.xml Thu Dec  3 09:18:57 2009
@@ -0,0 +1,151 @@
+
+       <!--
+               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.aries.jmx</groupId>
+               <artifactId>jmx</artifactId>
+               <version>1.0.0-incubating-SNAPSHOT</version>
+       </parent>
+
+       <groupId>org.apache.aries.jmx</groupId>
+       <artifactId>org.apache.aries.jmx.itests</artifactId>
+       <version>1.0.0-incubating-SNAPSHOT</version>
+       <packaging>jar</packaging>
+       <name>Apache Aries JMX integration tests</name>
+       <description>
+       Integration tests for the JMX component (using the standalone composite 
jmx-bundle)
+    </description>
+
+       <!--
+               pluginRepositories> <pluginRepository> <id>ops4j.releases</id>
+               <url>http://repository.ops4j.org/maven2</url> <snapshots>
+               <enabled>false</enabled> </snapshots> </pluginRepository>
+               </pluginRepositories
+       -->
+
+       <dependencies>
+               <dependency>
+                       <groupId>org.apache.aries.jmx</groupId>
+                       <artifactId>aries-jmx</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam</artifactId>
+                       <version>1.1.0</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam-junit</artifactId>
+                       <version>1.1.0</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.ops4j.pax.exam</groupId>
+                       <artifactId>pax-exam-container-default</artifactId>
+                       <version>1.1.0</version>
+                       <scope>test</scope>
+               </dependency>
+               <!--
+                       <dependency> <groupId>org.ops4j.pax.logging</groupId>
+                       <artifactId>pax-logging-api</artifactId> 
<version>1.4</version>
+                       </dependency> <dependency> 
<groupId>org.ops4j.pax.logging</groupId>
+                       <artifactId>pax-logging-service</artifactId> 
<version>1.4</version>
+                       </dependency>
+               -->
+               <dependency>
+                       <groupId>org.ops4j.pax.url</groupId>
+                       <artifactId>pax-url-mvn</artifactId>
+                       <version>1.0.0</version>
+               </dependency>
+       </dependencies>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <source>1.5</source>
+                                       <target>1.5</target>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.ops4j.pax.exam</groupId>
+                               <artifactId>maven-paxexam-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-config</id>
+                                               <goals>
+                                                       
<goal>generate-config</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                               <configuration>
+                                       <settings>
+                                               <platform>felix</platform>
+                                               <profiles>compendium</profiles>
+                                       </settings>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <configuration>
+                                       <forkMode>pertest</forkMode>
+                                       <excludes>
+                                               <exclude>**/*$*</exclude>
+                                               
<exclude>**/Abstract*.java</exclude>
+                                       </excludes>
+                                       <includes>
+                                               <include>**/Test*.java</include>
+                                               <include>**/*Test.java</include>
+                                       </includes>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <profiles>
+               <profile>
+                       <id>ci-build-profile</id>
+                       <activation>
+                               <property>
+                                       <name>maven.repo.local</name>
+                               </property>
+                       </activation>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               
<groupId>org.apache.maven.plugins</groupId>
+                                               
<artifactId>maven-surefire-plugin</artifactId>
+                                               <configuration>
+                                                       <!--
+                                                               when the local 
repo location has been specified, we need to pass
+                                                               on this 
information to PAX mvn url
+                                                       -->
+                                                       
<argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
+</project>

Propchange: incubator/aries/trunk/jmx/jmx-itests/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
URL: 
http://svn.apache.org/viewvc/incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java?rev=886716&view=auto
==============================================================================
--- 
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
 (added)
+++ 
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
 Thu Dec  3 09:18:57 2009
@@ -0,0 +1,51 @@
+/**
+ *  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.
+ */
+package org.apache.aries.jmx;
+
+import static org.ops4j.pax.exam.CoreOptions.mavenConfiguration;
+import static org.ops4j.pax.exam.CoreOptions.options;
+
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Inject;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.junit.Configuration;
+import org.ops4j.pax.exam.junit.JUnit4TestRunner;
+import org.osgi.framework.BundleContext;
+
+/**
+ * 
+ * 
+ *
+ * @version $Rev$ $Date$
+ */
+...@runwith(JUnit4TestRunner.class)
+public class AbstractIntegrationTest {
+
+    @Inject
+    protected BundleContext context;
+    
+    @Configuration
+    public static Option[] config()
+    {
+        return options(
+            mavenConfiguration()
+        );
+    }
+    
+   
+   
+}

Propchange: 
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/aries/trunk/jmx/jmx-itests/src/test/java/org/apache/aries/jmx/AbstractIntegrationTest.java
------------------------------------------------------------------------------
    svn:keywords = Revision Date


Reply via email to