0 Replies Latest reply on Feb 26, 2016 7:09 AM by lordigon

    JBoss EAP 5.1.2 add MANIFEST.MF to SAR project in Maven

    lordigon

      Hi all,

      I'm developing a sar project with Maven on JBoss EAP 5.1.2 platform using maven and this plugin

      <groupId>org.codehaus.mojo</groupId>
      <artifactId>jboss-packaging-maven-plugin</artifactId>
      <version>2.2</version>

      I'm trying to add MANIFEST.MF file to resulting sar artifact with custom manifest entries but without success.

      I tried to add to <configuration> section of the plugin like this

       

      <configuration>
        
      <archive>
          
      <addMavenDescriptor>false</addMavenDescriptor>
          
      <manifestEntries>
            
      <Trusted-Library>true</Trusted-Library>
          
      </manifestEntries>
        
      </archive>
      </configuration>

       

      but it doesn't work

      Any suggestion?

      TIA

      FB