Repository: servicemix-bundles Updated Branches: refs/heads/master 8cc6d8fd1 -> 836aaaa4e
[SM-3334] Create OSGi bundle for fop 2.2 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/836aaaa4 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/836aaaa4 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/836aaaa4 Branch: refs/heads/master Commit: 836aaaa4eefd0b3f783838e3bcc68b79b1b2a7d2 Parents: 8cc6d8f Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue May 2 11:15:03 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue May 2 11:15:03 2017 +0200 ---------------------------------------------------------------------- fop-2.2/pom.xml | 152 +++++++++++++++++++ fop-2.2/src/main/resources/OSGI-INF/bundle.info | 15 ++ pom.xml | 1 + 3 files changed, 168 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/836aaaa4/fop-2.2/pom.xml ---------------------------------------------------------------------- diff --git a/fop-2.2/pom.xml b/fop-2.2/pom.xml new file mode 100644 index 0000000..67aab9b --- /dev/null +++ b/fop-2.2/pom.xml @@ -0,0 +1,152 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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/xsd/maven-4.0.0.xsd"> + + <!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>13</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.fop</artifactId> + <version>2.2_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + </scm> + + <properties> + <pkgGroupId>org.apache.xmlgraphics</pkgGroupId> + <pkgArtifactId>fop</pkgArtifactId> + <pkgVersion>2.2</pkgVersion> + <servicemix.osgi.export.pkg> + org.apache.fop + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + javax.crypto, + javax.crypto.spec, + javax.imageio;resolution:=optional, + javax.media.jai;resolution:=optional, + javax.servlet;resolution:=optional, + javax.servlet.http;resolution:=optional, + javax.swing*;resolution:=optional, + javax.xml.parsers, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.sax, + javax.xml.transform.stream, + org.apache.avalon.framework;resolution:=optional, + org.apache.avalon.framework.configuration;resolution:=optional, + org.apache.batik*;resolution:=optional, + org.apache.commons.io, + org.apache.commons.io.filefilter, + org.apache.commons.io.output, + org.apache.commons.logging, + org.apache.commons.logging.impl, + org.apache.fontbox*;resolution:=optional, + org.apache.tools.ant*;resolution:=optional, + org.apache.xmlgraphics*, + org.w3c.dom, + org.w3c.dom.svg, + org.xml.sax, + org.xml.sax.ext, + org.xml.sax.helpers + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <exclusions> + <exclusion> + <groupId>org.apache.avalon.framework</groupId> + <artifactId>avalon-framework-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.apache.avalon.framework</groupId> + <artifactId>avalon-framework-impl</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.avalon.framework</groupId> + <artifactId>avalon-framework-api</artifactId> + <version>4.3.1</version> + </dependency> + <dependency> + <groupId>org.apache.avalon.framework</groupId> + <artifactId>avalon-framework-impl</artifactId> + <version>4.3.1</version> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <artifactSet> + <includes> + <include>${pkgGroupId}:${pkgArtifactId}</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> + <includes> + <include>META-INF/services/**</include> + </includes> + </filter> + </filters> + <createDependencyReducedPom>true</createDependencyReducedPom> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/836aaaa4/fop-2.2/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/fop-2.2/src/main/resources/OSGI-INF/bundle.info b/fop-2.2/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..fb0b637 --- /dev/null +++ b/fop-2.2/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,15 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL formatting objects (XSL-FO) and an + output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the + resulting pages to a specified output. Output formats currently supported include PDF, PS, PCL, AFP, + XML (area tree representation), Print, AWT and PNG, and to a lesser extent, RTF and TXT. + The primary output target is PDF. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://xmlgraphics.apache.org/fop/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/836aaaa4/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 1bd04d7..2c763d7 100644 --- a/pom.xml +++ b/pom.xml @@ -106,6 +106,7 @@ <module>okio-1.12.0</module> <module>cglib-3.2.5</module> <module>spring-xml-2.4.0.RELEASE</module> + <module>fop-2.2</module> </modules> </project>
