felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksei Ezhov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FELIX-5334) Problem with modifying manifest fields with Bundle plugin
Date Wed, 24 Aug 2016 14:37:21 GMT
Aleksei Ezhov created FELIX-5334:

             Summary: Problem with modifying manifest fields with Bundle plugin
                 Key: FELIX-5334
                 URL: https://issues.apache.org/jira/browse/FELIX-5334
             Project: Felix
          Issue Type: Bug
          Components: Maven Bundle Plugin
            Reporter: Aleksei Ezhov

We are using Maven plugin called "git-commit-id-plugin" to get access to git info.

Bundle plugin uses maven-archiver as a dependency and we can define additional fields to add
into a MANIFEST.MF this way:


But after doing "mvn clean package" fields in MANIFEST.MF are not filled with their values.
That is what we see in the manifest:

SCM-Revision: ${git.commit.id.full}
SCM-Info-Tags: ${project}

In maven log we can see that variables are filled with values:

[INFO] --- maven-bundle-plugin:3.2.0:bundle (default-bundle) @ mhs-bundle ---
[DEBUG] Configuring mojo org.apache.felix:maven-bundle-plugin:3.2.0:bundle from plugin realm
ClassRealm[plugin>org.apache.felix:maven-bundle-plugin:3.2.0, parent: sun.misc.Launcher$AppClassLoader@5c647e05]
[DEBUG] Configuring mojo 'org.apache.felix:maven-bundle-plugin:3.2.0:bundle' with basic configurator
[DEBUG]   (s) manifestEntries = {SCM-Info-Branch=master, SCM-Info-ClosestTagCommitCount=null,
SCM-Info-ClosestTagName=null, SCM-Info-CommitMessage=refactoring by Aliaksei Yazhou, SCM-Info-CommitShortMessage=refactoring
by Aliaksei Yazhou, SCM-Info-CommitTime=08.08.2016 @ 16:26:55 MSK, SCM-Info-CommitUserEmail=ayazhou@exadel.com,
SCM-Info-CommitUserName=hubba, SCM-Info-Dirty=true, SCM-Info-Origin=https://eu0heza@bitbucket.mckesson.com:8443/scm/isrm/isrm_iam_mhs_hub_iam.git,
SCM-Info-Tags=, SCM-Revision=null, SCM-Revision-Abbrev=77dc0db, SCM-Revision-Description=HUB_3_0-63-g77dc0db-dirty,


This message was sent by Atlassian JIRA

View raw message