<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>bug</groupId>
<artifactId>multiline-manifest-value-bug</artifactId>
<packaging>jar</packaging>
<version>2</version>

<name>Test case for valid multiline manifest values.</name>

<description>
    Maven will set manifest values to illegal multiline values.
    This module has this multiline description attribute,
    which if included directly in the manifest will make a corrupt
    manifest.

    To use this test, package this POM and then inspect
    the manifest: Maven will use this value literally as the Jar's
    "Specification Title", and the Jar will be corrupt.
    Attempt to lauch the Jar, and the launcher should raise an
    exception also.
</description>

<build>
    <plugins>
        
        <!-- 
          - Configures the jar plugin to specify the main class:
         -->
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <configuration>
                <archive>
                    <manifest>
                        <mainClass>bug.module.Module</mainClass>
                    </manifest>
                </archive>
            </configuration>
        </plugin>
    </plugins>
</build>

</project>

