You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Rolf Schumacher (JIRA)" <ji...@codehaus.org> on 2011/01/27 00:30:57 UTC
[jira] Created: (MSHARED-182) manifestEntry seems not to work
correctly
manifestEntry seems not to work correctly
-----------------------------------------
Key: MSHARED-182
URL: http://jira.codehaus.org/browse/MSHARED-182
Project: Maven Shared Components
Issue Type: Bug
Environment: maven-jar-plugin 2.3.1
Reporter: Rolf Schumacher
Priority: Blocker
hope this is the correct place ot file an issue about maven-jar-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>eu.ngong.xslt.App</mainClass>
<classpathPrefix>/usr/share/java/</classpathPrefix>
</manifest>
<manifestEntries>
<Name>xxx</Name>
<Content-Type>yyy</Content-Type>
</manifestEntries>
</archive>
</configuration>
</plugin>
does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
If I exchange the manifestEntries by
<manifestEntries>
<key>value</key>
</manifestEntries>
it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
If I exchange the manifestEntries by
<manifestEntries>
<Key>value</Key>
</manifestEntries>
it does not work: the classpath is generated but not the "Key: value" line.
--
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: (MSHARED-182) manifestEntry seems not to work
correctly
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHARED-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSHARED-182:
------------------------------------
Component/s: maven-archiver
Description:
hope this is the correct place ot file an issue about maven-jar-plugin
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>eu.ngong.xslt.App</mainClass>
<classpathPrefix>/usr/share/java/</classpathPrefix>
</manifest>
<manifestEntries>
<Name>xxx</Name>
<Content-Type>yyy</Content-Type>
</manifestEntries>
</archive>
</configuration>
</plugin>
{code}
does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<key>value</key>
</manifestEntries>
{code}
it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<Key>value</Key>
</manifestEntries>
{code}
it does not work: the classpath is generated but not the "Key: value" line.
was:
hope this is the correct place ot file an issue about maven-jar-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>eu.ngong.xslt.App</mainClass>
<classpathPrefix>/usr/share/java/</classpathPrefix>
</manifest>
<manifestEntries>
<Name>xxx</Name>
<Content-Type>yyy</Content-Type>
</manifestEntries>
</archive>
</configuration>
</plugin>
does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
If I exchange the manifestEntries by
<manifestEntries>
<key>value</key>
</manifestEntries>
it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
If I exchange the manifestEntries by
<manifestEntries>
<Key>value</Key>
</manifestEntries>
it does not work: the classpath is generated but not the "Key: value" line.
> manifestEntry seems not to work correctly
> -----------------------------------------
>
> Key: MSHARED-182
> URL: http://jira.codehaus.org/browse/MSHARED-182
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-archiver
> Environment: maven-jar-plugin 2.3.1
> Reporter: Rolf Schumacher
> Priority: Blocker
>
> hope this is the correct place ot file an issue about maven-jar-plugin
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <mainClass>eu.ngong.xslt.App</mainClass>
> <classpathPrefix>/usr/share/java/</classpathPrefix>
> </manifest>
> <manifestEntries>
> <Name>xxx</Name>
> <Content-Type>yyy</Content-Type>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
> {code}
> does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <key>value</key>
> </manifestEntries>
> {code}
> it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <Key>value</Key>
> </manifestEntries>
> {code}
> it does not work: the classpath is generated but not the "Key: value" line.
--
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: (MSHARED-182) manifestEntry seems not to work
correctly
Posted by "Rolf Schumacher (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSHARED-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=253070#action_253070 ]
Rolf Schumacher commented on MSHARED-182:
-----------------------------------------
sorry, all indentation is gone and I can not correct it.
> manifestEntry seems not to work correctly
> -----------------------------------------
>
> Key: MSHARED-182
> URL: http://jira.codehaus.org/browse/MSHARED-182
> Project: Maven Shared Components
> Issue Type: Bug
> Environment: maven-jar-plugin 2.3.1
> Reporter: Rolf Schumacher
> Priority: Blocker
>
> hope this is the correct place ot file an issue about maven-jar-plugin
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <mainClass>eu.ngong.xslt.App</mainClass>
> <classpathPrefix>/usr/share/java/</classpathPrefix>
> </manifest>
> <manifestEntries>
> <Name>xxx</Name>
> <Content-Type>yyy</Content-Type>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
> does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
> If I exchange the manifestEntries by
> <manifestEntries>
> <key>value</key>
> </manifestEntries>
> it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
> If I exchange the manifestEntries by
> <manifestEntries>
> <Key>value</Key>
> </manifestEntries>
> it does not work: the classpath is generated but not the "Key: value" line.
--
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: (MSHARED-182) manifestEntry seems not to work
correctly
Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSHARED-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated MSHARED-182:
-----------------------------------
Description:
hope this is the correct place ot file an issue about maven-jar-plugin
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>eu.ngong.xslt.App</mainClass>
<classpathPrefix>/usr/share/java/</classpathPrefix>
</manifest>
<manifestEntries>
<Name>xxx</Name>
<Content-Type>yyy</Content-Type>
</manifestEntries>
</archive>
</configuration>
</plugin>
{code}
does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<key>value</key>
</manifestEntries>
{code}
it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<Key>value</Key>
</manifestEntries>
{code}
it does not work: the classpath is generated but not the "Key: value" line.
was:
hope this is the correct place ot file an issue about maven-jar-plugin
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>eu.ngong.xslt.App</mainClass>
<classpathPrefix>/usr/share/java/</classpathPrefix>
</manifest>
<manifestEntries>
<Name>xxx</Name>
<Content-Type>yyy</Content-Type>
</manifestEntries>
</archive>
</configuration>
</plugin>
{code}
does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<key>value</key>
</manifestEntries>
{code}
it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
If I exchange the manifestEntries by
{code:xml}
<manifestEntries>
<Key>value</Key>
</manifestEntries>
{code}
it does not work: the classpath is generated but not the "Key: value" line.
> manifestEntry seems not to work correctly
> -----------------------------------------
>
> Key: MSHARED-182
> URL: https://jira.codehaus.org/browse/MSHARED-182
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-archiver
> Environment: maven-jar-plugin 2.3.1
> Reporter: Rolf Schumacher
> Priority: Blocker
>
> hope this is the correct place ot file an issue about maven-jar-plugin
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <mainClass>eu.ngong.xslt.App</mainClass>
> <classpathPrefix>/usr/share/java/</classpathPrefix>
> </manifest>
> <manifestEntries>
> <Name>xxx</Name>
> <Content-Type>yyy</Content-Type>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
> {code}
> does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <key>value</key>
> </manifestEntries>
> {code}
> it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <Key>value</Key>
> </manifestEntries>
> {code}
> it does not work: the classpath is generated but not the "Key: value" line.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MSHARED-182) manifestEntry seems not to work correctly
Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MSHARED-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed MSHARED-182.
--------------------------------------
Resolution: Fixed
Fix Version/s: maven-archiver-2.5
Assignee: Kristian Rosenvold
Testcase added in r1235291, seems to work fine. Probably due to manifest change in plexus-archiver
> manifestEntry seems not to work correctly
> -----------------------------------------
>
> Key: MSHARED-182
> URL: https://jira.codehaus.org/browse/MSHARED-182
> Project: Maven Shared Components
> Issue Type: Bug
> Components: maven-archiver
> Environment: maven-jar-plugin 2.3.1
> Reporter: Rolf Schumacher
> Assignee: Kristian Rosenvold
> Priority: Blocker
> Fix For: maven-archiver-2.5
>
>
> hope this is the correct place ot file an issue about maven-jar-plugin
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-jar-plugin</artifactId>
> <version>2.3.1</version>
> <configuration>
> <archive>
> <manifest>
> <addClasspath>true</addClasspath>
> <mainClass>eu.ngong.xslt.App</mainClass>
> <classpathPrefix>/usr/share/java/</classpathPrefix>
> </manifest>
> <manifestEntries>
> <Name>xxx</Name>
> <Content-Type>yyy</Content-Type>
> </manifestEntries>
> </archive>
> </configuration>
> </plugin>
> {code}
> does not work: silently neither a classpass is generated nor the requested entries Name and Content-Type.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <key>value</key>
> </manifestEntries>
> {code}
> it works: the classpath is generated in MANIFEST.MF as well as the "key: value" line.
> If I exchange the manifestEntries by
> {code:xml}
> <manifestEntries>
> <Key>value</Key>
> </manifestEntries>
> {code}
> it does not work: the classpath is generated but not the "Key: value" line.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira