Skip to content

Commit

Permalink
Merge branch 'mode-1117-ri-tests' into mode-1117
Browse files Browse the repository at this point in the history
  • Loading branch information
rhauch committed Mar 16, 2011
2 parents e69929d + 25beb60 commit 50bd5c8
Show file tree
Hide file tree
Showing 10 changed files with 779 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -101,5 +101,7 @@

/tools/org.modeshape.eclipse.jcr.rest.client/bin

/sandbox/modeshape-test-reference-impl/target

# Directory created by Eclipse
/RemoteSystemsTempFiles
1 change: 1 addition & 0 deletions modeshape-parent/pom.xml
Expand Up @@ -221,6 +221,7 @@
<maven.surefire.report.plugin.version>2.4.3</maven.surefire.report.plugin.version>
<maven.surefire.plugin.version>2.7.1</maven.surefire.plugin.version>
<maven.assembly.plugin.version>2.2</maven.assembly.plugin.version>
<maven.install.plugin.version>2.3.1</maven.install.plugin.version>
<maven.javadoc.plugin.version>2.7</maven.javadoc.plugin.version>
<maven.jxr.plugin.version>2.1</maven.jxr.plugin.version>
<maven.jar.plugin.version>2.3.1</maven.jar.plugin.version>
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Expand Up @@ -145,7 +145,8 @@
<activeByDefault>false</activeByDefault>
</activation>
<modules>
<module>sandbox/modeshape-sequencer-esb-message</module>
<!--module>sandbox/modeshape-sequencer-esb-message</module-->
<module>sandbox/modeshape-test-reference-impl</module>
</modules>
</profile>
</profiles>
Expand Down
9 changes: 9 additions & 0 deletions sandbox/modeshape-test-reference-impl/.classpath
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
23 changes: 23 additions & 0 deletions sandbox/modeshape-test-reference-impl/.project
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>modeshape-test-reference-impl</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
166 changes: 166 additions & 0 deletions sandbox/modeshape-test-reference-impl/pom.xml
@@ -0,0 +1,166 @@
<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.modeshape</groupId>
<artifactId>modeshape-parent</artifactId>
<version>2.5-SNAPSHOT</version>
<relativePath>../../modeshape-parent</relativePath>
</parent>

<!-- The groupId and version values are inherited from parent -->
<artifactId>modeshape-test-reference-impl</artifactId>
<packaging>jar</packaging>
<name>Tests using the JCR Reference Implementation</name>
<description>Tests that check the behavior of the JCR Reference Implementation</description>
<url>http://www.modeshape.org</url>

<!--
Define the dependencies. Note that all version and scopes default to
those defined in the dependencyManagement section of the parent pom.
-->
<dependencies>
<!--
Testing (note the scope)
-->
<dependency>
<groupId>javax.jcr</groupId>
<artifactId>jcr</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.modeshape</groupId>
<artifactId>modeshape-common</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<scope>test</scope>
</dependency>
<!--
Logging (require SLF4J API for compiling, but use Log4J and its SLF4J
binding for testing)
-->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<!--
Java Concurrency in Practice annotations
-->
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-core</artifactId>
<version>2.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!--
Adding OSGI metadata to the JAR without changing the packaging type.
-->
<!--plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin-->

<!-- Do not build any assemblies -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.plugin.version}</version>
<inherited>false</inherited>
<configuration>
<!-- we don't want to install any of these artifacts -->
<attach>false</attach>
</configuration>
</plugin>
<!-- Do not build any source JARs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven.source.plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<!-- We don't want to run this -->
<phase>non-existant</phase>
</execution>
</executions>
</plugin>
<!-- Do not build any JARs -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven.jar.plugin.version}</version>
<executions>
<execution>
<id>test-jar</id>
<!-- We don't want to run this -->
<phase>non-existant</phase>
</execution>
<execution>
<id>default-jar</id>
<!-- We don't want to run this -->
<phase>non-existant</phase>
</execution>
</executions>
</plugin>
<!-- Do not install any files -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>${maven.install.plugin.version}</version>
<executions>
<execution>
<id>default-install</id>
<!-- We don't want to run this -->
<phase>non-existant</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>
</plugins>
</reporting>
</project>

0 comments on commit 50bd5c8

Please sign in to comment.