[ 
https://issues.apache.org/jira/browse/STANBOL-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972380#comment-13972380
 ] 

Rupert Westenthaler edited comment on STANBOL-1322 at 4/17/14 8:11 AM:
-----------------------------------------------------------------------

Updates in the osgiframework bundlelist

||module||old version in 0.12||new version||
| org.apache.felix.scr | 1.6.0 | 1.8.2 |
| org.apache.felix.configadmin | 1.2.8 | 1.8.0 |
| org.apache.felix.metatype | 1.0.4 | 1.0.10 |
| org.apache.felix.eventadmin | 1.2.14 | 1.3.2 |
| org.apache.felix.dependencymanager | 3.0.0 | 3.1.0 |
| org.apache.felix.dependencymanager.runtime | 3.0.0 | 3.1.0 |
| org.apache.felix.http.whiteboard | 2.2.1 | 2.2.2 |
| org.apache.felix.webconsole | 4.0.0 | 4.2.2 |
| org.apache.felix.webconsole.plugins.event | 1.0.2 | 1.1.0 |

Updates in the stanbolcommons bundlelist

||module||old version in 0.12||new version||
| org.apache.sling.installer.core | 3.4.4 | 3.5.0 |
| org.apache.sling.installer.factory.configuration | 1.0.8 | 1.0.12 |
| org.apache.sling.settings | 1.2.2 | 1.3.0 |


Additional updates in the Launchers and parent pom

||module||old version in 0.12||new version||
| maven-launchpad-plugin | 2.2.0 | 2.3.0 |
| org.apache.felix.http.jetty | 2.2.1 | 2.2.2 |
| org.apache.felix.scr.annotations | 1.6.0 | 1.9.8 |
| org.apache.sling.launchpad.base | 2.4.0 | 2.5.0 |
| maven-scr-plugin | 1.7.4 | 1.16.0 |
| maven-source-plugin | 2.1.2 | 2.2.1 |

Code changes:

* See STANBOL-1323 (0.12 branch only)
* The MainDataFileProvider was encountering  
`org.osgi.framework.ServiceException:  ServiceFactory.getService() resulted in 
a cycle.` because it opend a ServiceTracker to track all DataFileProviders 
(including itself) in its activate method. I changed the code to open the 
ServiceTracker only on the first call to the MainDataFileProvider.
* The Javadoc Annotations for @Component and @Service for the 
JsonLdSerializerProvider (commons.web.base module) where no longer working. I 
replaced them with the according java annotations to fix this issue
* I had to remove the maven-src-plugin from several pom.xml files that where 
not using it as the plugin now also requires the module to have a dependency to 
org.apache.felix.scr.annotations.
* Adapted the Integration Test for the Felix Web Console because the /config 
tab is no longer supported by the webconsole version 4.2.2
* deleted `org.apache.stanbol.enhancer.nlp.model.SpanTypeEnum`: This was an 
empty class file (left over from refactoring). The new maven-src-plugin does 
not like empty class files and was failing with some error because of that.



was (Author: rwesten):
Updates in the osgiframework bundlelist

||module||old version in 0.12||new version||
| org.apache.felix.scr | 1.6.0 | 1.8.2 |
| org.apache.felix.configadmin | 1.2.8 | 1.8.0 |
| org.apache.felix.metatype | 1.0.4 | 1.0.10 |
| org.apache.felix.eventadmin | 1.2.14 | 1.3.2 |
| org.apache.felix.dependencymanager | 3.0.0 | 3.1.0 |
| org.apache.felix.dependencymanager.runtime | 3.0.0 | 3.1.0 |
| org.apache.felix.http.whiteboard | 2.2.1 | 2.2.2 |
| org.apache.felix.webconsole | 4.0.0 | 4.2.2 |
| org.apache.felix.webconsole.plugins.event | 1.0.2 | 1.1.0 |

Updates in the stanbolcommons bundlelist

||module||old version in 0.12||new version||
| org.apache.sling.installer.core | 3.4.4 | 3.5.0 |
| org.apache.sling.installer.factory.configuration | 1.0.8 | 1.0.12 |
| org.apache.sling.settings | 1.2.2 | 1.3.0 |


Additional updates in the Launchers and parent pom

||module||old version in 0.12||new version||
| maven-launchpad-plugin | 2.2.0 | 2.3.0 |
| org.apache.felix.http.jetty | 2.2.1 | 2.2.2 |
| org.apache.felix.scr.annotations | 1.6.0 | 1.9.8 |
| org.apache.sling.launchpad.base | 2.4.0 | 2.5.0 |
| maven-scr-plugin | 1.7.4 | 1.16.0 |
| maven-source-plugin | 2.1.2 | 2.2.1 |

Code changes:

* See STANBOL-1323 (0.12 branch only)
* The MainDataFileProvider was encountering  
`org.osgi.framework.ServiceException:  ServiceFactory.getService() resulted in 
a cycle.` because it opend a ServiceTracker to track all DataFileProviders 
(including itself) in its activate method. I changed the code to open the 
ServiceTracker only on the first call to the MainDataFileProvider.
* The Javadoc Annotations for @Component and @Service for the 
JsonLdSerializerProvider (commons.web.base module) where no longer working. I 
replaced them with the according java annotations to fix this issue
* I had to remove the maven-src-plugin from several pom.xml files that where 
not using it as the plugin now also requires the module to have a dependency to 
org.apache.felix.scr.annotations.
* Adapted the Integration Test for the Felix Web Console because the /config 
tab is no longer supported by the webconsole version 4.2.2


> Update OSGI and Sling dependencies before 0.12.1 release
> --------------------------------------------------------
>
>                 Key: STANBOL-1322
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1322
>             Project: Stanbol
>          Issue Type: Sub-task
>          Components: Bundlelists, Launcher 
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>             Fix For: 1.0.0, 0.12.1
>
>
> This issues covers updates to OSGI and Sling dependencies. Updates will be 
> applied to the 0.12 branch as well as the trunk.
> This excludes the update to the Sling logging 4.0.0 as this is already 
> covered by STANBOL-1273



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to