Created
May 23, 2017 00:02
-
-
Save dileeph/c17c4e76386b28a438e1728025211a4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- at the top , note packaging is changed from jar to bundle--> | |
<groupId>com.x</groupId> | |
<artifactId>policy.client</artifactId> | |
<version>3.0.0</version> | |
<packaging>bundle</packaging> | |
=================================== | |
<!-- inside dependencies --> | |
<dependency> | |
<groupId>com.x</groupId> | |
<artifactId>policy.service.api</artifactId> | |
<version>3.0.0</version> | |
</dependency> | |
========================================================= | |
<!-- inside build tag replace jar plugin with following --> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>3.3.0</version> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> | |
<Bundle-Category>sample</Bundle-Category> | |
<Bundle-Activator>com.x.policy.Activator</Bundle-Activator> | |
</instructions> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment