Skip to content

Commit

Permalink
Merge pull request #894 from fcrepo4/ogg-uploads
Browse files Browse the repository at this point in the history
Adding IT to demonstrate FCREPO-1712
  • Loading branch information
Andrew Woods committed Aug 28, 2015
2 parents 731e92c + 71c2af3 commit b53c841
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
17 changes: 0 additions & 17 deletions fcrepo-boms/fcrepo-jcr-bom/pom.xml
Expand Up @@ -20,10 +20,6 @@
<version>${modeshape.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.gagravarr</groupId>
<artifactId>vorbis-java-tika</artifactId>
</exclusion>
<!-- tika-parsers transitively depends on commons-codec-1.5 but httpclient is pulling in 1.6, so we explicitly
exclude commons-codec here and add commons-codec-1.6 as a dependency below -->
<exclusion>
Expand All @@ -44,19 +40,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- vorbis-java-tika is only added here because it declares a dependency on tika-core:1.0, which we want to
exclude in favor of version 1.3 which is a dependency of tika-parsers:1.3 -->
<dependency>
<groupId>org.gagravarr</groupId>
<artifactId>vorbis-java-tika</artifactId>
<version>0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- only explicitly adding 1.6 below because we're excluding the older 1.5 dep from modeshape-jcr above -->
<dependency>
<groupId>commons-codec</groupId>
Expand Down
Expand Up @@ -1925,6 +1925,7 @@ public void testPutMalformedHeader() throws IOException {
}
}

@Test
public void testPutEmptyBody() throws IOException {
final HttpPut httpPut = putObjMethod(getRandomUniqueId());
httpPut.addHeader("Content-Type", "application/ld+json");
Expand All @@ -1934,4 +1935,10 @@ public void testPutEmptyBody() throws IOException {
}
}

@Test
public void testPutOgg() throws IOException {
final String id = getRandomUniqueId();
createDatastream(id, "x", "OggS");
}

}
4 changes: 0 additions & 4 deletions fcrepo-http-commons/pom.xml
Expand Up @@ -79,10 +79,6 @@
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>org.gagravarr</groupId>
<artifactId>vorbis-java-tika</artifactId>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel-modeshape</artifactId>
Expand Down

0 comments on commit b53c841

Please sign in to comment.