Apache Solr open-source search software
LUCENE-1344 -- adding OSGi packaging to maven build script
Ryan McKinley914d18a2b5c6
diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.templateindex 5c026af66d1..d6d603b48ca 100644--- a/dev-tools/maven/pom.xml.template+++ b/dev-tools/maven/pom.xml.template@@ -561,6 +561,31 @@</execution></executions></plugin>++ <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->+ <plugin>+ <artifactId>maven-jar-plugin</artifactId>+ <configuration>+ <archive>+ <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>+ </archive>+ </configuration>+ </plugin>+ <plugin>+ <groupId>org.apache.felix</groupId>+ <artifactId>maven-bundle-plugin</artifactId>+ <version>2.3.4</version>+ <executions>+ <execution>+ <id>bundle-manifest</id>+ <phase>process-classes</phase>+ <goals>+ <goal>manifest</goal>+ </goals>+ </execution>+ </executions>+ </plugin>+</plugins></build><profiles>