Skip to content

Commit

Permalink
resteasy for first part of legacy api
Browse files Browse the repository at this point in the history
  • Loading branch information
fasseg committed Mar 20, 2013
1 parent 5f84e3e commit ff5e0a6
Show file tree
Hide file tree
Showing 11 changed files with 543 additions and 518 deletions.
Expand Up @@ -30,6 +30,7 @@ public class DatastreamIT extends AbstractIT {

@Test
public void testLabel() throws Exception {
System.out.println("INIT FOR testLABEL");
Session session = repo.login();
createObjectNode(session, "testDatastreamObject");
Node dsNode =
Expand Down
71 changes: 64 additions & 7 deletions fcrepo-legacy-api/pom.xml
Expand Up @@ -16,6 +16,21 @@
<name>fcrepo 3.x compatible REST API</name>

<dependencies>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-extension-providers</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel</artifactId>
Expand All @@ -41,6 +56,7 @@
</exclusions>
</dependency>


<!-- test gear -->
<dependency>
<groupId>org.fcrepo</groupId>
Expand All @@ -60,17 +76,26 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
<version>2.3.5.Final</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxrs</artifactId>
<scope>provided</scope>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jaxrs</artifactId>
<version>2.3.5.Final</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-extension-providers</artifactId>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-spring</artifactId>
<version>2.3.5.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down Expand Up @@ -119,6 +144,38 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.26</version>
<configuration>
<contextPath>/</contextPath>
<stopPort>8005</stopPort>
<stopKey>STOP</stopKey>
</configuration>
<executions>
<execution>
<id>start-jetty</id>
<phase>pre-integration-test</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<daemon>true</daemon>
<webAppSourceDirectory>${basedir}/src/test/resources</webAppSourceDirectory>
<useTestClasspath>true</useTestClasspath>
</configuration>
</execution>
<execution>
<id>stop-jetty</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>
</project>

0 comments on commit ff5e0a6

Please sign in to comment.