* bound javadoc creation to deploy phase

* added bundle plugin to create OSGi bundles

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@4453 5a64d73e-33d6-4ccc-9058-23f8668ecac9
This commit is contained in:
Oliver Gierke
2009-02-12 05:48:49 +00:00
parent a6046d2cc5
commit 2fd662a339

44
pom.xml
View File

@@ -13,6 +13,11 @@
</organization>
<inceptionYear>2008</inceptionYear>
<modules>
<module>hera-core</module>
<module>hera-metadata</module>
</modules>
<developers>
<developer>
<id>gierke_cvs</id>
@@ -61,6 +66,7 @@
<goals>
<goal>jar</goal>
</goals>
<phase>deploy</phase>
</execution>
</executions>
</plugin>
@@ -179,13 +185,43 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Bundle-SymbolicName>${project.groupId}</Bundle-SymbolicName>
<Include-Resource>src/main/resources</Include-Resource>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<module>hera-core</module>
<module>hera-metadata</module>
</modules>
<reporting>
<plugins>