[jboss-jira] [JBoss JIRA] Commented: (JBCOMMON-116) Bundle OSGI

luca stancapiano (JIRA) jira-events at lists.jboss.org
Thu Dec 2 11:17:04 EST 2010


    [ https://jira.jboss.org/browse/JBCOMMON-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567177#comment-12567177 ] 

luca stancapiano commented on JBCOMMON-116:
-------------------------------------------

The plugin can be updated to 2.1.0 version (it's the last stable):

<version>2.1.0</version>

> Bundle OSGI
> -----------
>
>                 Key: JBCOMMON-116
>                 URL: https://jira.jboss.org/browse/JBCOMMON-116
>             Project: JBoss Common
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: common-core (2.x)
>    Affects Versions: 2.2.18.GA 
>         Environment: felix
>            Reporter: luca stancapiano
>
> could be useful a conversion of the common core packge in OSGI so we can install it inside a OSGI Repository. I tested it with Felix. To do it we need to modify the packaging tag from 'jar' to 'bundle'  in the pom.xml and add this plugin configuration:
>                         <!-- It configures the package to use inside a OSGI repository -->
> 			<plugin>
> 				<groupId>org.apache.felix</groupId>
> 				<artifactId>maven-bundle-plugin</artifactId>
> 				<version>1.4.3</version>
> 				<extensions>true</extensions>
> 				<configuration>
> 					<instructions>
> 						<Bundle-DocURL>http://community.jboss.org/wiki/JBossCommonProject</Bundle-DocURL>
> 						<Export-Package>
> 							${project.groupId}.*;version=${project.version};-split-package:=error
>                                                 </Export-Package>
> 						<Import-Package>
> 							${project.groupId}.*;!org.apache.*,*
> 				        </Import-Package>
> 					</instructions>
> 				</configuration>
> 			</plugin>

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list