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

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

    XMLWordPrintableJSON

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: