diff options
author | Simon Steiner <ssteiner@apache.org> | 2023-08-08 13:54:17 +0100 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2023-08-08 13:54:17 +0100 |
commit | 64585e49741c561e313dd751458d8660dca8f708 (patch) | |
tree | 920440a885f39892b20c61d25660d0d45f5ecec1 | |
parent | 0ec06d934b8671dcdde338aa5e5605cf26fddf85 (diff) | |
download | xmlgraphics-fop-64585e49741c561e313dd751458d8660dca8f708.tar.gz xmlgraphics-fop-64585e49741c561e313dd751458d8660dca8f708.zip |
FOP-3088: Remove duplicate classes from maven classpath
-rw-r--r-- | fop/pom.xml | 43 |
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> |