Skip to content

Commit

Permalink
FCREPO-2987: Updates fcrepo-parent version to 5.0.1 (fcrepo-exts#149)
Browse files Browse the repository at this point in the history
* Updates fcrepo-parent version to 5.0.1
Resolves:  https://jira.duraspace.org/browse/FCREPO-2987

* Updates version to 5.0.0-SNAPSHOT for continued development.
  • Loading branch information
dbernstein authored and peichman-umd committed Feb 7, 2019
1 parent 5ca3411 commit aced86b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 16 deletions.
30 changes: 21 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-parent</artifactId>
<version>4.7.5</version>
<version>5.0.1</version>
</parent>

<groupId>org.fcrepo.camel</groupId>
<artifactId>fcrepo-camel</artifactId>
<packaging>bundle</packaging>

<version>4.6.0-SNAPSHOT</version>
<version>5.0.0-SNAPSHOT</version>

<name>Fcrepo Camel Component</name>
<description>Camel Component for interacting with a Fedora Repository</description>
Expand All @@ -37,18 +37,18 @@
<github.global.server>github</github.global.server>

<!-- dependencies -->
<activemq.version>5.14.0</activemq.version>
<camel.version>2.18.2</camel.version>
<camel.version.range>[2.18,3)</camel.version.range>
<activemq.version>5.15.5</activemq.version>
<camel.version>2.19.5</camel.version>
<camel.version.range>[2.19.5,3)</camel.version.range>
<commons.io.version>2.4</commons.io.version>
<commons.lang3.version>3.7</commons.lang3.version>
<commons.lang3.version>3.8.1</commons.lang3.version>
<httpclient.version>4.5.2</httpclient.version>
<karaf.version>4.0.6</karaf.version>
<karaf.version>4.2.2</karaf.version>
<jena.version>3.1.1</jena.version>
<mockito.version>1.10.8</mockito.version>
<pax-exam.version>4.8.0</pax-exam.version>
<pax-exam.version>4.13.1</pax-exam.version>
<slf4j.version>1.7.20</slf4j.version>
<spring.version>4.2.5.RELEASE</spring.version>
<spring.version>4.3.22.RELEASE</spring.version>
<fcrepo.version>5.0.1</fcrepo.version>
<fcrepo-java-client.version>0.4.0</fcrepo-java-client.version>

Expand Down Expand Up @@ -206,6 +206,12 @@
<artifactId>camel-test-karaf</artifactId>
<version>${camel.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down Expand Up @@ -339,10 +345,16 @@
<fcrepo.dynamic.stomp.port>${fcrepo.dynamic.stomp.port}</fcrepo.dynamic.stomp.port>
<commons.codec.version>${commons.codec.version}</commons.codec.version>
<commons.csv.version>${commons.csv.version}</commons.csv.version>
<commons.lang3.version>${commons.lang3.version}</commons.lang3.version>
<camelKarafFeatureVersion>${camel.version}</camelKarafFeatureVersion>
<dexx.version>${dexx-collection.version}</dexx.version>
<httpclient.version>${httpclient.version}</httpclient.version>
<httpcore.version>${httpcore.version}</httpcore.version>
<jsonld.version>${jsonld.version}</jsonld.version>
<jena.osgi.version>${jena.version}</jena.osgi.version>
<jsonld.version>${jsonld.version}</jsonld.version>
<fcrepo.client.version>${fcrepo-java-client.version}</fcrepo.client.version>

<thrift.version>${thrift.version}</thrift.version>
<karaf.ssh.port>${karaf.ssh.port}</karaf.ssh.port>
<karaf.rmiRegistry.port>${karaf.rmiRegistry.port}</karaf.rmiRegistry.port>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/fcrepo/camel/FcrepoEndpoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public boolean isSingleton() {
* @return a transaction template
*/
public TransactionTemplate createTransactionTemplate() {
TransactionTemplate transactionTemplate;
final TransactionTemplate transactionTemplate;

if (getTransactionManager() != null) {
transactionTemplate = new TransactionTemplate(getTransactionManager());
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/fcrepo/camel/FcrepoProducer.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private void doRequest(final Exchange exchange, final String transaction) throws

LOGGER.debug("Fcrepo Request [{}] with method [{}]", url, method);

FcrepoResponse response;
final FcrepoResponse response;

switch (method) {
case PATCH:
Expand Down
16 changes: 11 additions & 5 deletions src/test/java/org/fcrepo/camel/integration/KarafIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,20 @@ public Option[] config() {
final String fcrepoCamelBundle = "file:" + getBaseDir() + "/target/" + artifactName + ".jar";
final String commonsCodecVersion = cm.getProperty("commons.codec.version");
final String commonsCsvVersion = cm.getProperty("commons.csv.version");
final String commonsLang3Version = cm.getProperty("commons.lang3.version");
final String dexxVersion = cm.getProperty("dexx.version");
final String httpclientVersion = cm.getProperty("httpclient.version");
final String httpcoreVersion = cm.getProperty("httpcore.version");
final String jsonldVersion = cm.getProperty("jsonld.version");
final String jenaOsgiVersion = cm.getProperty("jena.osgi.version");
final String javaClientVersion = cm.getProperty("fcrepo.client.version");


final String thriftVersion = cm.getProperty("thrift.version");
final String rmiRegistryPort = cm.getProperty("karaf.rmiRegistry.port");
final String rmiServerPort = cm.getProperty("karaf.rmiServer.port");
final String sshPort = cm.getProperty("karaf.ssh.port");

return new Option[] {
karafDistributionConfiguration()
.frameworkUrl(maven().groupId("org.apache.karaf").artifactId("apache-karaf")
Expand All @@ -89,13 +95,13 @@ public Option[] config() {
mavenBundle().groupId("org.apache.camel").artifactId("camel-test-karaf").versionAsInProject(),
mavenBundle().groupId("commons-codec").artifactId("commons-codec").version(commonsCodecVersion),
mavenBundle().groupId("org.apache.commons").artifactId("commons-csv").version(commonsCsvVersion),
mavenBundle().groupId("org.apache.commons").artifactId("commons-lang3").versionAsInProject(),
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpclient-osgi").versionAsInProject(),
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpcore-osgi").versionAsInProject(),
mavenBundle().groupId("org.apache.jena").artifactId("jena-osgi").versionAsInProject(),
mavenBundle().groupId("org.apache.commons").artifactId("commons-lang3").version(commonsLang3Version),
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpclient-osgi").version(httpclientVersion),
mavenBundle().groupId("org.apache.httpcomponents").artifactId("httpcore-osgi").version(httpcoreVersion),
mavenBundle().groupId("org.apache.jena").artifactId("jena-osgi").version(jenaOsgiVersion),
mavenBundle().groupId("com.github.jsonld-java").artifactId("jsonld-java").version(jsonldVersion),
mavenBundle().groupId("org.apache.thrift").artifactId("libthrift").version(thriftVersion),
mavenBundle().groupId("org.fcrepo.client").artifactId("fcrepo-java-client").versionAsInProject(),
mavenBundle().groupId("org.fcrepo.client").artifactId("fcrepo-java-client").version(javaClientVersion),
mavenBundle().groupId("com.github.andrewoma.dexx").artifactId("collection").version(dexxVersion),
bundle(fcrepoCamelBundle).start()
};
Expand Down

0 comments on commit aced86b

Please sign in to comment.