aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2023-08-08 13:54:17 +0100
committerSimon Steiner <ssteiner@apache.org>2023-08-08 13:54:17 +0100
commit64585e49741c561e313dd751458d8660dca8f708 (patch)
tree920440a885f39892b20c61d25660d0d45f5ecec1
parent0ec06d934b8671dcdde338aa5e5605cf26fddf85 (diff)
downloadxmlgraphics-fop-64585e49741c561e313dd751458d8660dca8f708.tar.gz
xmlgraphics-fop-64585e49741c561e313dd751458d8660dca8f708.zip
FOP-3088: Remove duplicate classes from maven classpath
-rw-r--r--fop/pom.xml43
1 files changed, 22 insertions, 21 deletions
diff --git a/fop/pom.xml b/fop/pom.xml
index 68e8844bd..81c444c67 100644
--- a/fop/pom.xml
+++ b/fop/pom.xml
@@ -43,32 +43,33 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ <mainClass>org.apache.fop.cli.Main</mainClass>
+ </manifest>
+ <manifestEntries>
+ <SpecificationTitle>XSL-FO - Extensible Stylesheet Language</SpecificationTitle>
+ <SpecificationVersion>1.1</SpecificationVersion>
+ <SpecificationVendor>World Wide Web Consortium</SpecificationVendor>
+ <SpecificationURL>http://www.w3.org/TR/xsl</SpecificationURL>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>package-all</id>
- <phase>package</phase>
+ <phase>install</phase>
<goals>
- <goal>single</goal>
+ <goal>copy-dependencies</goal>
</goals>
<configuration>
- <addMavenDescriptor>false</addMavenDescriptor>
- <appendAssemblyId>false</appendAssemblyId>
- <archive>
- <manifest>
- <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
- <mainClass>org.apache.fop.cli.Main</mainClass>
- </manifest>
- <manifestEntries>
- <SpecificationTitle>XSL-FO - Extensible Stylesheet Language</SpecificationTitle>
- <SpecificationVersion>1.1</SpecificationVersion>
- <SpecificationVendor>World Wide Web Consortium</SpecificationVendor>
- <SpecificationURL>http://www.w3.org/TR/xsl</SpecificationURL>
- </manifestEntries>
- </archive>
- <descriptors>
- <descriptor>src/tools/resources/assembly/assembly.xml</descriptor>
- </descriptors>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <includeArtifactIds>fop-core,fop-util,fop-events</includeArtifactIds>
</configuration>
</execution>
</executions>