You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Chris Graham (JIRA)" <ji...@codehaus.org> on 2010/10/08 05:45:33 UTC
[jira] Created: (MRM-1425) Add Implementation details to
MANIFEST.MF
Add Implementation details to MANIFEST.MF
-----------------------------------------
Key: MRM-1425
URL: http://jira.codehaus.org/browse/MRM-1425
Project: Archiva
Issue Type: Improvement
Components: Web Interface
Affects Versions: 1.3.2
Environment: NA.
Reporter: Chris Graham
Priority: Trivial
Could we please add the implementation information, derived from the pom into the manifest.mf file?
Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRM-1425) Add Implementation details to
MANIFEST.MF
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MRM-1425:
------------------------------
Fix Version/s: Backlog
> Add Implementation details to MANIFEST.MF
> -----------------------------------------
>
> Key: MRM-1425
> URL: http://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Priority: Trivial
> Fix For: Backlog
>
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRM-1425) Add Implementation details to
MANIFEST.MF in the produced war
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy updated MRM-1425:
------------------------------
Fix Version/s: (was: Backlog)
1.4-M2
Assignee: Olivier Lamy
Summary: Add Implementation details to MANIFEST.MF in the produced war (was: Add Implementation details to MANIFEST.MF)
> Add Implementation details to MANIFEST.MF in the produced war
> -------------------------------------------------------------
>
> Key: MRM-1425
> URL: https://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Assignee: Olivier Lamy
> Priority: Trivial
> Fix For: 1.4-M2
>
> Attachments: pom.xml.patch
>
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MRM-1425) Add Implementation details to MANIFEST.MF
in the produced war
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Lamy closed MRM-1425.
-----------------------------
Resolution: Fixed
Thanks for the patch.
> Add Implementation details to MANIFEST.MF in the produced war
> -------------------------------------------------------------
>
> Key: MRM-1425
> URL: https://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Assignee: Olivier Lamy
> Priority: Trivial
> Fix For: 1.4-M2
>
> Attachments: pom.xml.patch
>
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MRM-1425) Add Implementation details to
MANIFEST.MF
Posted by "Chris Graham (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Graham updated MRM-1425:
------------------------------
Attachment: pom.xml.patch
This patch is for pom.xml to added in the default implentation entries. Tested against the current (M2-SNAPSHOT) trunk.
> Add Implementation details to MANIFEST.MF
> -----------------------------------------
>
> Key: MRM-1425
> URL: https://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Priority: Trivial
> Fix For: Backlog
>
> Attachments: pom.xml.patch
>
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-1425) Add Implementation details to
MANIFEST.MF
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238105#action_238105 ]
Brett Porter commented on MRM-1425:
-----------------------------------
you want this in all the Archiva manifest files, or just the webapp?
It's a pretty simple config option for the archiver I think.
> Add Implementation details to MANIFEST.MF
> -----------------------------------------
>
> Key: MRM-1425
> URL: http://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Priority: Trivial
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MRM-1425) Add Implementation details to
MANIFEST.MF
Posted by "Chris Graham (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRM-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=238107#action_238107 ]
Chris Graham commented on MRM-1425:
-----------------------------------
It is good practice to definatively label/version everything. However, for my purposes, I only need the war file itself versioned. Then I can do this:
JarFile jf = new JarFile("archiva.war");
Manifest manifest = jf.getManifest();
jf.close();
String implementationVersion = manifest.getMainAttributes().getValue("Implementation-Version");
System.out.println("implementationVersion = " + implementationVersion);
I know that archiva is distributed as a versioned named war file, but I can not rely upon people not renaming it.
Yes, it's trivially simple to do:
<configuration>
<archive>
<addMavenDescriptor>true/addMavenDescriptor>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
> Add Implementation details to MANIFEST.MF
> -----------------------------------------
>
> Key: MRM-1425
> URL: http://jira.codehaus.org/browse/MRM-1425
> Project: Archiva
> Issue Type: Improvement
> Components: Web Interface
> Affects Versions: 1.3.2
> Environment: NA.
> Reporter: Chris Graham
> Priority: Trivial
>
> Could we please add the implementation information, derived from the pom into the manifest.mf file?
> Specifically, I'm looking for: Implementation-Version. This allows my deployment scripts to determine the version being installed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira