Package: epubcheck / 4.1.0-1

classpath.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Set classpath for Debian systems

--- epubcheck-4.1.0.orig/pom.xml
+++ epubcheck-4.1.0/pom.xml
@@ -422,7 +422,6 @@
                 <artifactId>maven-jar-plugin</artifactId>
                 <version>3.0.2</version>
                 <configuration>
-                    <finalName>${project.artifactId}</finalName>
                     <archive>
                         <!--TODO Using the Manifest.MF file instead of the tag below is a work around for including two
          libraries that are not in the Nexus.  Currently they are checked into the lib directory.-->
@@ -431,7 +431,8 @@
                             <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                             <mainClass>com.adobe.epubcheck.tool.Checker</mainClass>
                             <addClasspath>true</addClasspath>
-                            <classpathPrefix>lib/</classpathPrefix>
+                            <classpathLayoutType>custom</classpathLayoutType>
+                            <customClasspathLayout>/usr/share/java/${artifact.artifactId}.${artifact.extension}</customClasspathLayout>
                         </manifest>
                         <manifestFile>${project.build.directory}/classes/META-INF/MANIFEST.MF</manifestFile>
                         <manifestEntries>