servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject servicemix-bundles git commit: [SM-3307] Create OSGi bundle for batik 1.9
Date Tue, 02 May 2017 05:21:37 GMT
Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 58ce0129b -> 4729b02e9


[SM-3307] Create OSGi bundle for batik 1.9


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/4729b02e
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/4729b02e
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/4729b02e

Branch: refs/heads/master
Commit: 4729b02e9effdd564ebd76132584d360f666276d
Parents: 58ce012
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue May 2 07:21:14 2017 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue May 2 07:21:14 2017 +0200

----------------------------------------------------------------------
 batik-1.9/pom.xml                               | 198 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  19 ++
 pom.xml                                         |   1 +
 3 files changed, 218 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/4729b02e/batik-1.9/pom.xml
----------------------------------------------------------------------
diff --git a/batik-1.9/pom.xml b/batik-1.9/pom.xml
new file mode 100644
index 0000000..4a7a8bf
--- /dev/null
+++ b/batik-1.9/pom.xml
@@ -0,0 +1,198 @@
+<?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.batik</artifactId>
+    <version>1.9_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: batik</name>
+    <description>This OSGi bundle wraps batik-bridge, batik-extension, batik-svggen,
batik-transcoder ${pkgVersion} jar files.</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>
+        <pkgVersion>1.9</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.batik
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.swing*,
+            javax.xml.parsers,
+            javax.xml.transform,
+            org.apache.xml.utils,
+            org.apache.xpath*,
+            org.apache.xmlgraphics.java2d.color;resolution:=optional,
+            org.apache.xmlgraphics.java2d.color.profile;resolution:=optional,
+            org.mozilla.javascript;resolution:=optional,
+            org.w3c*;resolution:=optional,
+            org.xml.sax*,
+            com.sun.image.codec.jpeg;resolution:=optional, 
+            javax.imageio, 
+            javax.imageio.event, 
+            javax.imageio.metadata, 
+            javax.imageio.plugins.jpeg, 
+            javax.imageio.stream,
+            javax.xml.transform.dom, 
+            javax.xml.transform.stream
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-bridge</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-extension</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-svggen</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-transcoder</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-codec</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- sources -->
+        <!-- Not available on Central
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-bridge</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-extension</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-svggen</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>batik-transcoder</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>true</optional>
+        </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}:batik-bridge</include>
+                                    <include>${pkgGroupId}:batik-extension</include>
+                                    <include>${pkgGroupId}:batik-svggen</include>
+                                    <include>${pkgGroupId}:batik-transcoder</include>
+                                    <include>${pkgGroupId}:batik-codec</include>
+                                </includes>
+                            </artifactSet>
+                            <filters>
+                                <filter>
+                                    <artifact>${pkgGroupId}:batik-bridge</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:batik-extension</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:batik-svggen</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:batik-transcoder</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </filter>
+                                <filter>
+                                    <artifact>${pkgGroupId}:batik-codec</artifact>
+                                    <excludes>
+                                        <exclude>**</exclude>
+                                    </excludes>
+                                </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/4729b02e/batik-1.9/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/batik-1.9/src/main/resources/OSGI-INF/bundle.info b/batik-1.9/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..3e9f8aa
--- /dev/null
+++ b/batik-1.9/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,19 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Batik is a Java-based toolkit for applications or applets that want to use images in
the
+    Scalable Vector Graphics (SVG) format for various purposes, such as display, generation
or manipulation.
+
+    The project’s ambition is to give developers a set of core modules that can be used
together or individually to
+    support specific SVG solutions. Examples of modules are the SVG Parser, the SVG Generator
and the SVG DOM.
+    Another ambition for the Batik project is to make it highly extensible—for example,
Batik allows the developer to
+    handle custom SVG elements. Even though the goal of the project is to provide a set of
core modules, one of the
+    deliverables is a full fledged SVG browser implementation which validates the various
modules and their
+    inter-operability.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://xmlgraphics.apache.org/batik/\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/4729b02e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 044cfb1..41d6d53 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,7 @@
         <module>spring-webmvc-4.3.8.RELEASE</module>
         <module>spring-webmvc-portlet-4.3.8.RELEASE</module>
         <module>spring-websocket-4.3.8.RELEASE</module>
+        <module>batik-1.9</module>
     </modules>
 
 </project>


Mime
View raw message