Skip to content

Commit

Permalink
Change packaging type to JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
benfortuna committed Jun 10, 2012
1 parent 07bc4fd commit 81d3274
Showing 1 changed file with 53 additions and 2 deletions.
55 changes: 53 additions & 2 deletions pom.xml
Expand Up @@ -8,7 +8,6 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.mnode.ical4j</groupId>
<artifactId>ical4j-extensions</artifactId>
<packaging>bundle</packaging>
<name>iCal4j Extensions</name>
<version>0.9.3-SNAPSHOT</version>
<description>Support for additional non-standard iCalendar objects</description>
Expand Down Expand Up @@ -38,10 +37,27 @@
<artifactId>maven-license-plugin</artifactId>
</plugin>

<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>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Export-Package>net.fortuna.ical4j.extensions.*</Export-Package>
Expand Down Expand Up @@ -89,6 +105,41 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.felix
</groupId>
<artifactId>
maven-bundle-plugin
</artifactId>
<versionRange>
[2.3.7,)
</versionRange>
<goals>
<goal>manifest</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<dependencies>
Expand Down

0 comments on commit 81d3274

Please sign in to comment.