Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: maven-archiver-2.5
-
Component/s: maven-archiver
-
Labels:None
-
Environment:maven-jar-plugin 2.3.1
-
Number of attachments :
Description
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.
Activity
Dennis Lundberg
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
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. |
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. |
| Component/s | maven-archiver [ 13268 ] |
Robert Scholte
made changes -
| 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. |
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. |
Kristian Rosenvold
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Kristian Rosenvold [ krosenvold ] | |
| Fix Version/s | maven-archiver-2.5 [ 17630 ] | |
| Resolution | Fixed [ 1 ] |