Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-864

A wrong symbolic name is calculated if artifactId starts with lastGroupIdSegment-.

    Details

      Description

      If the symbolic of a bundle is calculated wrong if the artifact id starts with the last segment of the group id. In this case bundle:manifest generates the correct symbolic name but bundle:bundle an package (packaging bundle) fail to remove the first part of the artifact id. This is due to a bug in the maven shared osgi component which assumes, that artifact.getFile() returns a jar file, not a directory if artifact.getFile() != null and arifact.getFile().exists evaluate to true.

      In the supplied test project mvn bundle:manifest generates the symbolic name my.test.artifact and mvn package generates my.test.test.artifact.

      1. test-artifact.tar.bz2
        2 kB
        Jan-David Salchow

        Activity

        Hide
        mcculls Stuart McCulloch added a comment -

        Closing as maven-bundle-plugin 2.0.0 has been released.

        Show
        mcculls Stuart McCulloch added a comment - Closing as maven-bundle-plugin 2.0.0 has been released.
        Hide
        mcculls Stuart McCulloch added a comment -

        Duplicate of FELIX-850, fixed locally in trunk while we await a new release of the Maven shared OSGi component.

        Show
        mcculls Stuart McCulloch added a comment - Duplicate of FELIX-850 , fixed locally in trunk while we await a new release of the Maven shared OSGi component.
        Show
        jdsalchow Jan-David Salchow added a comment - see http://jira.codehaus.org/browse/MSHARED-86
        Hide
        jdsalchow Jan-David Salchow added a comment -

        test case

        Show
        jdsalchow Jan-David Salchow added a comment - test case

          People

          • Assignee:
            mcculls Stuart McCulloch
            Reporter:
            jdsalchow Jan-David Salchow
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development