Bug#642937: maven-debian-helper: automatically add CLASSPATH to jar files

Torsten Werner twerner at debian.org
Sun Sep 25 19:56:20 UTC 2011


Package: maven-debian-helper
Version: 1.4.5
Severity: wishlist

Hi,

the following pom.xml snippet adds a useful 'Class-Path:' entry to MANIFEST.MF:

      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
              <classpathLayoutType>repository</classpathLayoutType>
              <classpathPrefix>/usr/share/maven-repo</classpathPrefix>
            </manifest>
          </archive>
        </configuration>
      </plugin>

It would be nice if maven-debian-helper could support such functionality
automatically.

Cheers,
Torsten





More information about the pkg-java-maintainers mailing list