Project

General

Profile

bug #6695

module cdmlib/services should not be an osgi bundle

Added by Andreas Kohlbecker over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
New
Category:
cdmlib
Target version:
Start date:
06/06/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

the module cdmlib/services has been configured as osgi bundle product:

<packaging>bundle</packaging>
...
<plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
...

This however can cause problems in the eclipse workspace setup and is not needed. Therefore we attempted to remove this configuration: cdmlib|6c3443469

It turned out that the bundle information is actually required by the cdm-server which reads the information in the Bootloader class (cdm-server|b91fa795126), see #5302.
Therefore cdmlib/services needs to be a osgi bundle for now.

picture618-1.png View (31.6 KB) Andreas Kohlbecker, 07/24/2018 06:13 PM

Associated revisions

Revision 6c344346 (diff)
Added by Andreas Kohlbecker over 1 year ago

removing useless configuration of cdmlib-services as osgi bundle project

Revision db71ee04 (diff)
Added by Andreas Kohlbecker over 1 year ago

ref #6695, ref #5302 reverting commit 6c3443469

History

#2 Updated by Andreas Müller over 1 year ago

  • Target version changed from Release 4.9 to Release 4.10

#3 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.10 to Release 4.11

Do we want to keep this ticket open?

#4 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.11 to Release 4.12

#5 Updated by Andreas Müller about 1 year ago

  • Target version changed from Release 4.12 to Release 4.13

#6 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 4.13 to Release 4.14

#7 Updated by Andreas Müller 10 months ago

  • Target version changed from Release 4.14 to Release 5.0

#8 Updated by Andreas Kohlbecker 7 months ago

  • Target version changed from Release 5.0 to Release 5.1

#9 Updated by Andreas Müller 6 months ago

  • Target version changed from Release 5.1 to Release 5.2

#10 Updated by Andreas Kohlbecker 5 months ago

this has been solved by adding the following pluginExecution configuration to cdmlib/lifecycle-mapping-metadata.xml which should be imported into the eclipse maven Lifecycle mappings:

<pluginExecution>
      <pluginExecutionFilter>
        <!-- trying to prevent the maven-bundle-plugin from configuring 
        the org.eclipse.pde.PluginNature for cdmlib-serivces  -->
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <goals>
          <goal>bundle</goal>
        </goals>
        <versionRange>[1.0.0,)</versionRange>
      </pluginExecutionFilter>
      <action>
        <ignore />
      </action>
    </pluginExecution>

#11 Updated by Andreas Kohlbecker 5 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)