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

changing the internal configuration of the archive plugin doesn't seem to be possible

    Details

      Description

      Hi,

      It does not seem to be possible to configure the maven-archive-plugin through configuration of the maven-bundle plugin.

      For example in order to remove the META-INF/maven dir in a resulting jar you can do the following conf
      of the maven-jar-plugin:

      <pluginManagement>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-jar-plugin</artifactId>
      <configuration>
      <archive>
      <!-in order not to include the META-INF/maven directory->
      <addMavenDescriptor>false</addMavenDescriptor>
      </archive>
      </configuration>
      </plugin>
      </plugins>
      </pluginManagement>

      This will result in the internal archive plugin being configured accordingly (i.e. without the META-INF/maven dir).
      However it is not possible to do the same with maven-bundle-plugin.
      Could this feature be integrated easily ?

      Thanks,

      Sylvain

        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 -

        Fixed in trunk, but not yet deployed as a snapshot

        Show
        mcculls Stuart McCulloch added a comment - Fixed in trunk, but not yet deployed as a snapshot
        Hide
        slysha Sylvain MARIE added a comment -

        Ok Stuart ; I'll wait for the next release then - not in a hurry anyway

        Cheers,

        Show
        slysha Sylvain MARIE added a comment - Ok Stuart ; I'll wait for the next release then - not in a hurry anyway Cheers,
        Hide
        mcculls Stuart McCulloch added a comment -

        FYI we do already read some settings from the archive configuration of the maven-jar-plugin,
        but unfortunately don't take notice of the descriptor setting, so the descriptor is always added

        It should be straightforward to fix, however I have not yet planned the next release of the plugin

        Show
        mcculls Stuart McCulloch added a comment - FYI we do already read some settings from the archive configuration of the maven-jar-plugin, but unfortunately don't take notice of the descriptor setting, so the descriptor is always added It should be straightforward to fix, however I have not yet planned the next release of the plugin

          People

          • Assignee:
            mcculls Stuart McCulloch
            Reporter:
            slysha Sylvain MARIE
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development