Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Adding additional manifest entries with Tycho

Hi, 

I’d like to add a custom metadata section into my MANIFEST.MF files during our CI build process.  When building standard JAR libraries, I just add the following profile and it just works:

<profile>
     <id>with-scm-info</id>
     <activation>
       <property><name>scm-revision</name></property>
     </activation>
     <build>
       <plugins>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-jar-plugin</artifactId>
           <version>2.6</version>
           <configuration>
             <archive>
               <manifest>
                 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
               </manifest>
               <manifestSections>
                 <manifestSection>
                   <name>Sunflower</name>
                   <manifestEntries>
                     <scm-url>${project.scm.url}</scm-url>
                     <scm-revision>${scm-revision}</scm-revision>
                   </manifestEntries>
                 </manifestSection>
               </manifestSections>
             </archive>
           </configuration>
         </plugin>
       </plugins>
     </build>
   </profile>


Now I want to add the same information into the bundle manifest.  And not sure how to do this as the tycho-packaging:package-plugin goal seems to be what handle this step.

Any suggestions?

Thanks,

- Jim

Jim Klo
Senior Software Engineer
Center for Software Engineering
SRI International
t. @nsomnac

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top