Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

Commit

Permalink
Initial build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Woods committed Mar 22, 2014
1 parent cb4dd55 commit ff6c63a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions fcrepo-jms-indexer-core/pom.xml
Expand Up @@ -99,6 +99,10 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel-api</artifactId>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel</artifactId>
Expand Down
Expand Up @@ -177,7 +177,7 @@ public void onMessage(final Message message) {
// get pid and eventType from message
final String eventType =
message.getStringProperty(EVENT_TYPE_HEADER_NAME);
if (eventType.contains("PROPERTY")) {
if (eventType.contains("PROPERTY") && !eventType.contains("NODE_ADDED")) {
// it seems the URL is for the property, not the node on which
// the property is set...
final String id = message.getStringProperty(IDENTIFIER_HEADER_NAME);
Expand Down
Expand Up @@ -17,6 +17,9 @@
<!-- used by bean above to filter which events get put on the bus -->
<bean name="fedoraEventFilter" class="org.fcrepo.kernel.observer.DefaultFilter"/>

<!-- used by observer bean to map JCR events into Fedora events -->
<bean name="fedoraEventMapper" class="org.fcrepo.kernel.observer.eventmappings.AllNodeEventsOneEvent"/>

<!-- Fedora's lightweight internal event bus. Currently memory-resident.-->
<bean name="fedoraInternalEventBus" class="com.google.common.eventbus.EventBus"/>

Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Expand Up @@ -161,6 +161,11 @@
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel</artifactId>
Expand Down

0 comments on commit ff6c63a

Please sign in to comment.