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

Commit

Permalink
Browse files Browse the repository at this point in the history
Bundle-izing indexer modules
  • Loading branch information
ajs6f committed Jan 9, 2014
1 parent 389b1c5 commit 223b70e
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 46 deletions.
6 changes: 6 additions & 0 deletions fcrepo-jms-indexer-api/pom.xml
Expand Up @@ -36,7 +36,13 @@
<include>**</include>
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<packaging>bundle</packaging>
</project>
7 changes: 6 additions & 1 deletion fcrepo-jms-indexer-core/pom.xml
Expand Up @@ -11,7 +11,7 @@
<artifactId>fcrepo-jms-indexer-core</artifactId>
<name>${project.artifactId}</name>
<description>Fedora JMS Indexer Core</description>
<packaging>jar</packaging>
<packaging>bundle</packaging>

<dependencies>

Expand Down Expand Up @@ -260,6 +260,11 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>

Expand Down
12 changes: 12 additions & 0 deletions fcrepo-jms-indexer-elasticsearch/pom.xml
Expand Up @@ -9,6 +9,8 @@
<name>${project.artifactId}</name>
<description>Fedora JMS-driven indexer for Elasticsearch</description>

<packaging>bundle</packaging>

<properties>
<es.lucene.version>4.6.0</es.lucene.version>
</properties>
Expand Down Expand Up @@ -126,4 +128,14 @@
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
Empty file.
28 changes: 27 additions & 1 deletion fcrepo-jms-indexer-runtime/pom.xml
Expand Up @@ -25,6 +25,10 @@
<version>4.2.1</version>
<type>bundle</type>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
</dependencies>

<build>
Expand All @@ -50,7 +54,29 @@
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-jms-indexer-core</artifactId>
<version>${project.version}</version>
<type>bundle</type>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/bundle</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>

</build>
Expand Down

This file was deleted.

6 changes: 6 additions & 0 deletions fcrepo-jms-indexer-solr/pom.xml
Expand Up @@ -8,6 +8,7 @@
</parent>
<artifactId>fcrepo-jms-indexer-solr</artifactId>
<name>Solr indexer</name>
<packaging>bundle</packaging>

<dependencies>
<dependency>
Expand Down Expand Up @@ -129,6 +130,11 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
10 changes: 10 additions & 0 deletions fcrepo-jms-indexer-sparql/pom.xml
Expand Up @@ -113,4 +113,14 @@
<version>1.7.5</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<packaging>bundle</packaging>
</project>

0 comments on commit 223b70e

Please sign in to comment.