Skip to content
Permalink
Browse files

Upgrade to Modeshape version 3.4.0

  • Loading branch information...
awoods committed Aug 16, 2013
1 parent 2972371 commit 74f3b2b88431d57ecfb9d13199f4ec3aead17890
@@ -26,7 +26,9 @@
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import javax.jcr.Node;
@@ -82,10 +84,11 @@ public void setRepository() throws RepositoryException {

final URL config =
this.getClass().getClassLoader().getResource(
"test_selfhealing_repository.json");
repo =
new JcrRepositoryFactory().getRepository(config.toString(),
null);
"test_selfhealing_repository.json");

Map params = Collections.singletonMap(JcrRepositoryFactory.URL,
config.toString());
repo = new JcrRepositoryFactory().getRepository(params);

datastreamService = new DatastreamService();
datastreamService.setRepository(repo);
@@ -21,7 +21,9 @@

import java.io.ByteArrayInputStream;
import java.net.URL;
import java.util.Collections;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

import javax.jcr.Node;
@@ -72,9 +74,10 @@ public void setRepository() throws RepositoryException {
final URL config =
this.getClass().getClassLoader().getResource(
"repository.json");
repo =
new JcrRepositoryFactory().getRepository(config.toString(),
null);

Map params = Collections.singletonMap(JcrRepositoryFactory.URL,
config.toString());
repo = new JcrRepositoryFactory().getRepository(params);

pdp = new PolicyDecisionPoint();
pdp.addPolicy(new MimeTypePolicy("image/tiff", "tiff-store"));
@@ -28,7 +28,7 @@
<jgroups.version>3.3.1.Final</jgroups.version>
<logback.version>1.0.13</logback.version>
<metrics.version>3.0.0</metrics.version>
<modeshape.version>3.3.0.Final</modeshape.version>
<modeshape.version>3.4.0.Final</modeshape.version>
<sesame.version>2.7.2</sesame.version>
<slf4j.version>1.7.5</slf4j.version>
<spring.version>3.2.3.RELEASE</spring.version>

0 comments on commit 74f3b2b

Please sign in to comment.
You can’t perform that action at this time.