Skip to main content

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

We do this with the tycho-packaging-plugin, which takes the same archive [1] configuration parameter

 

[1] https://eclipse.org/tycho/sitedocs/tycho-packaging-plugin/package-plugin-mojo.html#archive

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jim Klo
Sent: Thursday, June 23, 2016 3:34 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: [EXTERNAL] [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

 


This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.

Back to the top