You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2013/10/08 16:03:46 UTC

[31/62] [abbrv] [partial] Merged Apache Flex 4.9.0 release branch

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFImageWriter.java
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFImageWriter.java b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFImageWriter.java
new file mode 100644
index 0000000..1725839
--- /dev/null
+++ b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFImageWriter.java
@@ -0,0 +1,35 @@
+/*
+
+   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.
+
+ */
+package org.apache.flex.forks.batik.ext.awt.image.codec.imageio;
+
+/**
+ * ImageWriter that encodes TIFF images using Image I/O.
+ *
+ * @version $Id: ImageIOTIFFImageWriter.java 502538 2007-02-02 08:52:56Z dvholten $
+ */
+public class ImageIOTIFFImageWriter extends ImageIOImageWriter {
+
+    /**
+     * Main constructor.
+     */
+    public ImageIOTIFFImageWriter() {
+        super("image/tiff");
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFRegistryEntry.java
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFRegistryEntry.java b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFRegistryEntry.java
new file mode 100644
index 0000000..6ffc5f6
--- /dev/null
+++ b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/ImageIOTIFFRegistryEntry.java
@@ -0,0 +1,45 @@
+/*
+
+   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.
+
+ */
+package org.apache.flex.forks.batik.ext.awt.image.codec.imageio;
+
+import org.apache.flex.forks.batik.ext.awt.image.spi.MagicNumberRegistryEntry;
+
+/**
+ * RegistryEntry implementation for loading TIFF images through Image I/O.
+ *
+ * @version $Id: ImageIOTIFFRegistryEntry.java 502538 2007-02-02 08:52:56Z dvholten $
+ */
+public class ImageIOTIFFRegistryEntry 
+    extends AbstractImageIORegistryEntry {
+
+    static final byte [] sig1 = {(byte)0x49, (byte)0x49, 42,  0};
+    static final byte [] sig2 = {(byte)0x4D, (byte)0x4D,  0, 42};
+
+    static MagicNumberRegistryEntry.MagicNumber [] magicNumbers = {
+        new MagicNumberRegistryEntry.MagicNumber(0, sig1),
+        new MagicNumberRegistryEntry.MagicNumber(0, sig2) };
+
+    static final String [] exts      = {"tiff", "tif" };
+    static final String [] mimeTypes = {"image/tiff", "image/tif" };
+
+    public ImageIOTIFFRegistryEntry() {
+        super("TIFF", exts, mimeTypes, magicNumbers);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/PNGTranscoderImageIOWriteAdapter.java
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/PNGTranscoderImageIOWriteAdapter.java b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/PNGTranscoderImageIOWriteAdapter.java
new file mode 100644
index 0000000..8c343f0
--- /dev/null
+++ b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/PNGTranscoderImageIOWriteAdapter.java
@@ -0,0 +1,102 @@
+/*
+
+   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.
+
+ */
+package org.apache.flex.forks.batik.ext.awt.image.codec.imageio;
+
+import java.awt.image.BufferedImage;
+import java.io.IOException;
+import java.io.OutputStream;
+
+import org.apache.flex.forks.batik.ext.awt.image.rendered.IndexImage;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriter;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriterParams;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriterRegistry;
+import org.apache.flex.forks.batik.transcoder.TranscoderException;
+import org.apache.flex.forks.batik.transcoder.TranscoderOutput;
+import org.apache.flex.forks.batik.transcoder.TranscodingHints;
+import org.apache.flex.forks.batik.transcoder.image.PNGTranscoder;
+
+/**
+ * This class is a helper to <tt>PNGTranscoder</tt> that writes PNG images 
+ * through the Image I/O API.
+ *
+ * @version $Id: PNGTranscoderImageIOWriteAdapter.java 502538 2007-02-02 08:52:56Z dvholten $
+ */
+public class PNGTranscoderImageIOWriteAdapter implements
+        PNGTranscoder.WriteAdapter {
+
+    /**
+     * @throws TranscoderException 
+     * @see org.apache.flex.forks.batik.transcoder.image.PNGTranscoder.WriteAdapter#writeImage(org.apache.flex.forks.batik.transcoder.image.PNGTranscoder, java.awt.image.BufferedImage, org.apache.flex.forks.batik.transcoder.TranscoderOutput)
+     */
+    public void writeImage(PNGTranscoder transcoder, BufferedImage img,
+            TranscoderOutput output) throws TranscoderException {
+
+        TranscodingHints hints = transcoder.getTranscodingHints();
+
+        int n = -1;
+        if (hints.containsKey(PNGTranscoder.KEY_INDEXED)) {
+            n=((Integer)hints.get(PNGTranscoder.KEY_INDEXED)).intValue();
+            if (n==1||n==2||n==4||n==8) 
+                //PNGEncodeParam.Palette can handle these numbers only.
+                img = IndexImage.getIndexedImage(img, 1<<n);
+        }
+
+        ImageWriter writer = ImageWriterRegistry.getInstance()
+            .getWriterFor("image/png");
+        ImageWriterParams params = new ImageWriterParams();
+
+        /* NYI!!!!!
+        PNGEncodeParam params = PNGEncodeParam.getDefaultEncodeParam(img);
+        if (params instanceof PNGEncodeParam.RGB) {
+            ((PNGEncodeParam.RGB)params).setBackgroundRGB
+                (new int [] { 255, 255, 255 });
+        }*/
+
+        // If they specify GAMMA key with a value of '0' then omit
+        // gamma chunk.  If they do not provide a GAMMA then just
+        // generate an sRGB chunk. Otherwise supress the sRGB chunk
+        // and just generate gamma and chroma chunks.
+        /* NYI!!!!!!
+        if (hints.containsKey(PNGTranscoder.KEY_GAMMA)) {
+            float gamma = ((Float)hints.get(PNGTranscoder.KEY_GAMMA)).floatValue();
+            if (gamma > 0) {
+                params.setGamma(gamma);
+            }
+            params.setChromaticity(PNGTranscoder.DEFAULT_CHROMA);
+        }  else {
+            // We generally want an sRGB chunk and our encoding intent
+            // is perceptual
+            params.setSRGBIntent(PNGEncodeParam.INTENT_PERCEPTUAL);
+        }*/
+
+
+        float PixSzMM = transcoder.getUserAgent().getPixelUnitToMillimeter();
+        int PixSzInch = (int)(25.4 / PixSzMM + 0.5);
+        params.setResolution(PixSzInch);
+
+        try {
+            OutputStream ostream = output.getOutputStream();
+            writer.writeImage(img, ostream, params);
+            ostream.flush();
+        } catch (IOException ex) {
+            throw new TranscoderException(ex);
+        }
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/TIFFTranscoderImageIOWriteAdapter.java
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/TIFFTranscoderImageIOWriteAdapter.java b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/TIFFTranscoderImageIOWriteAdapter.java
new file mode 100644
index 0000000..fecd69b
--- /dev/null
+++ b/modules/thirdparty/batik/sources-1.4/org/apache/batik/ext/awt/image/codec/imageio/TIFFTranscoderImageIOWriteAdapter.java
@@ -0,0 +1,103 @@
+/*
+
+   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.
+
+ */
+package org.apache.flex.forks.batik.ext.awt.image.codec.imageio;
+
+import java.awt.image.BufferedImage;
+import java.awt.image.DataBuffer;
+import java.awt.image.PixelInterleavedSampleModel;
+import java.awt.image.RenderedImage;
+import java.awt.image.SampleModel;
+import java.awt.image.SinglePixelPackedSampleModel;
+import java.io.IOException;
+import java.io.OutputStream;
+
+import org.apache.flex.forks.batik.ext.awt.image.GraphicsUtil;
+import org.apache.flex.forks.batik.ext.awt.image.rendered.FormatRed;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriter;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriterParams;
+import org.apache.flex.forks.batik.ext.awt.image.spi.ImageWriterRegistry;
+import org.apache.flex.forks.batik.transcoder.TranscoderException;
+import org.apache.flex.forks.batik.transcoder.TranscoderOutput;
+import org.apache.flex.forks.batik.transcoder.TranscodingHints;
+import org.apache.flex.forks.batik.transcoder.image.TIFFTranscoder;
+
+/**
+ * This class is a helper to <tt>TIFFTranscoder</tt> that writes TIFF images 
+ * through the Image I/O API.
+ *
+ * @version $Id: TIFFTranscoderImageIOWriteAdapter.java 502538 2007-02-02 08:52:56Z dvholten $
+ */
+public class TIFFTranscoderImageIOWriteAdapter 
+    implements TIFFTranscoder.WriteAdapter {
+
+    /**
+     * @throws TranscoderException 
+     * @see org.apache.flex.forks.batik.transcoder.image.TIFFTranscoder.WriteAdapter#writeImage(TIFFTranscoder, java.awt.image.BufferedImage, org.apache.flex.forks.batik.transcoder.TranscoderOutput)
+     */
+    public void writeImage(TIFFTranscoder transcoder, BufferedImage img,
+            TranscoderOutput output) throws TranscoderException {
+
+        TranscodingHints hints = transcoder.getTranscodingHints();
+
+        ImageWriter writer = ImageWriterRegistry.getInstance()
+            .getWriterFor("image/tiff");
+        ImageWriterParams params = new ImageWriterParams();
+
+        float PixSzMM = transcoder.getUserAgent().getPixelUnitToMillimeter();
+        int PixSzInch = (int)(25.4 / PixSzMM + 0.5);
+        params.setResolution(PixSzInch);
+
+        if (hints.containsKey(TIFFTranscoder.KEY_COMPRESSION_METHOD)) {
+            String method = (String)hints.get(TIFFTranscoder.KEY_COMPRESSION_METHOD);
+            //Values set here as defined in TIFFImageWriteParam of JAI Image I/O Tools
+            if ("packbits".equals(method)) {
+                params.setCompressionMethod("PackBits");
+            } else if ("deflate".equals(method)) {
+                params.setCompressionMethod("Deflate");
+            } else if ("lzw".equals(method)) {
+                params.setCompressionMethod("LZW");
+            } else if ("jpeg".equals(method)) {
+                params.setCompressionMethod("JPEG");
+            } else {
+                //nop
+            }
+        }
+
+        try {
+            OutputStream ostream = output.getOutputStream();
+            int w = img.getWidth();
+            int h = img.getHeight();
+            SinglePixelPackedSampleModel sppsm;
+            sppsm = (SinglePixelPackedSampleModel)img.getSampleModel();
+            int bands = sppsm.getNumBands();
+            int [] off = new int[bands];
+            for (int i = 0; i < bands; i++)
+                off[i] = i;
+            SampleModel sm = new PixelInterleavedSampleModel
+                (DataBuffer.TYPE_BYTE, w, h, bands, w * bands, off);
+            
+            RenderedImage rimg = new FormatRed(GraphicsUtil.wrap(img), sm);
+            writer.writeImage(rimg, ostream, params);
+            ostream.flush();
+        } catch (IOException ex) {
+            throw new TranscoderException(ex);
+        }
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources-1.4/org/apache/batik/gvt/event/AWTEventDispatcher.java
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources-1.4/org/apache/batik/gvt/event/AWTEventDispatcher.java b/modules/thirdparty/batik/sources-1.4/org/apache/batik/gvt/event/AWTEventDispatcher.java
new file mode 100644
index 0000000..ec5e43d
--- /dev/null
+++ b/modules/thirdparty/batik/sources-1.4/org/apache/batik/gvt/event/AWTEventDispatcher.java
@@ -0,0 +1,151 @@
+/*
+
+   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.
+
+ */
+package org.apache.flex.forks.batik.gvt.event;
+
+import java.awt.event.InputEvent;
+import java.awt.event.KeyEvent;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseWheelEvent;
+import java.awt.event.MouseWheelListener;
+import java.util.EventObject;
+
+import org.apache.flex.forks.batik.gvt.GraphicsNode;
+
+/**
+ * A concrete version of {@link org.apache.flex.forks.batik.gvt.event.AWTEventDispatcher}.
+ *
+ * This class is used for JDKs &gt;= 1.4, which have MouseWheelEvent
+ * support.  For JDKs &lt; 1.4, the file
+ * sources-1.3/org/apache/batik/gvt/event/AWTEventDispatcher defines a
+ * version of this class that does not support MouseWheelEvents.
+ *
+ * @author <a href="mailto:cam%40mcc%2eid%2eau">Cameron McCormack</a>
+ * @version $Id: AWTEventDispatcher.java 575202 2007-09-13 07:45:18Z cam $
+ */
+public class AWTEventDispatcher extends AbstractAWTEventDispatcher
+                                implements MouseWheelListener {
+
+    /**
+     * Dispatches the specified AWT mouse wheel event down to the GVT tree.
+     * The mouse wheel event is mutated to a GraphicsNodeMouseWheelEvent.
+     * @param evt the mouse event to propagate
+     */
+    public void mouseWheelMoved(MouseWheelEvent evt) {
+        dispatchEvent(evt);
+    }
+
+    /**
+     * Dispatches the specified AWT event.
+     * @param evt the event to dispatch
+     */
+    public void dispatchEvent(EventObject evt) {
+        if (evt instanceof MouseWheelEvent) {
+            if (root == null) // No root do not store anything.
+                return;
+            if (!eventDispatchEnabled) {
+                if (eventQueueMaxSize > 0) {
+                    eventQueue.add(evt);
+                    while (eventQueue.size() > eventQueueMaxSize)
+                        // Limit how many events we queue - don't want
+                        // user waiting forever for them to clear.
+                        eventQueue.remove(0); 
+                }
+                return;
+            }
+            dispatchMouseWheelEvent((MouseWheelEvent) evt);
+        } else {
+            super.dispatchEvent(evt);
+        }
+    }
+
+    /**
+     * Dispatches the specified AWT mouse wheel event.
+     * @param evt the mouse wheel event to dispatch
+     */
+    protected void dispatchMouseWheelEvent(MouseWheelEvent evt) {
+        if (lastHit != null) {
+            processMouseWheelEvent
+                (new GraphicsNodeMouseWheelEvent(lastHit,
+                                                 evt.getID(),
+                                                 evt.getWhen(),
+                                                 evt.getModifiersEx(),
+                                                 getCurrentLockState(),
+                                                 evt.getWheelRotation()));
+        }
+    }
+
+    /**
+     * Processes the specified event by firing the 'global' listeners
+     * attached to this event dispatcher.
+     * @param evt the event to process
+     */
+    protected void processMouseWheelEvent(GraphicsNodeMouseWheelEvent evt) {
+        if (glisteners != null) {
+            GraphicsNodeMouseWheelListener[] listeners =
+                (GraphicsNodeMouseWheelListener[])
+                getListeners(GraphicsNodeMouseWheelListener.class);
+            for (int i = 0; i < listeners.length; i++) {
+                listeners[i].mouseWheelMoved(evt);
+            }
+        }
+    }
+
+    /**
+     * Dispatches the specified AWT key event.
+     * @param evt the key event to dispatch
+     */
+    protected void dispatchKeyEvent(KeyEvent evt) {
+        currentKeyEventTarget = lastHit;
+        GraphicsNode target =
+            currentKeyEventTarget == null ? root : currentKeyEventTarget;
+        processKeyEvent
+            (new GraphicsNodeKeyEvent(target,
+                                      evt.getID(),
+                                      evt.getWhen(),
+                                      evt.getModifiersEx(),
+                                      getCurrentLockState(),
+                                      evt.getKeyCode(),
+                                      evt.getKeyChar(),
+                                      evt.getKeyLocation()));
+    }
+
+    /** 
+     * Returns the modifiers mask for this event.  This just calls
+     * {@link InputEvent#getModifiersEx()} on <code>evt</code>.
+     */
+    protected int getModifiers(InputEvent evt) {
+        return evt.getModifiersEx();
+    }
+
+    /**
+     * Returns the button whose state changed for the given event.  This just
+     * calls {@link MouseEvent#getButton()}.
+     */
+    protected int getButton(MouseEvent evt) {
+        return evt.getButton();
+    }
+
+    /**
+     * Returns whether the meta key is down according to the given modifiers
+     * bitfield.
+     */
+    protected static boolean isMetaDown(int modifiers) {
+        return (modifiers & (1 << 8)) != 0; /* META_DOWN_MASK */
+    }
+}

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/Squiggle.icns
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/Squiggle.icns b/modules/thirdparty/batik/sources/Squiggle.icns
new file mode 100644
index 0000000..b4875d6
Binary files /dev/null and b/modules/thirdparty/batik/sources/Squiggle.icns differ

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-anim.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-anim.pom.template b/modules/thirdparty/batik/sources/batik-anim.pom.template
new file mode 100644
index 0000000..b8d523f
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-anim.pom.template
@@ -0,0 +1,116 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-anim</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik animation engine</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-parser</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-svg-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis-ext</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-awt-util.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-awt-util.pom.template b/modules/thirdparty/batik/sources/batik-awt-util.pom.template
new file mode 100644
index 0000000..fb178b7
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-awt-util.pom.template
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-awt-util</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik AWT utilities</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-bridge.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-bridge.pom.template b/modules/thirdparty/batik/sources/batik-bridge.pom.template
new file mode 100644
index 0000000..70313cd
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-bridge.pom.template
@@ -0,0 +1,146 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-bridge</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik bridge classes</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-anim</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-css</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-gvt</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-parser</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-script</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-svg-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-xml</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xalan</groupId>
+      <artifactId>xalan</artifactId>
+      <version>2.6.0</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis-ext</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-browser-ext.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-browser-ext.mf b/modules/thirdparty/batik/sources/batik-browser-ext.mf
index e7d25a7..9798327 100644
--- a/modules/thirdparty/batik/sources/batik-browser-ext.mf
+++ b/modules/thirdparty/batik/sources/batik-browser-ext.mf
@@ -1,4 +1,4 @@
 Manifest-Version: 1.0
 Class-Path: ../batik-squiggle.jar \
             ../lib/batik-extension.jar
-Main-Class: org.apache.flex.forks.batik.apps.svgbrowser.Main
+Main-Class: org.apache.batik.apps.svgbrowser.Main

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-browser.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-browser.mf b/modules/thirdparty/batik/sources/batik-browser.mf
index 5046a46..a878f15 100644
--- a/modules/thirdparty/batik/sources/batik-browser.mf
+++ b/modules/thirdparty/batik/sources/batik-browser.mf
@@ -1,5 +1,5 @@
 Manifest-Version: 1.0
-Main-Class: org.apache.flex.forks.batik.apps.svgbrowser.Main
+Main-Class: org.apache.batik.apps.svgbrowser.Main
 Class-Path: lib/batik-ext.jar \
             lib/batik-dom.jar \
             lib/batik-css.jar \
@@ -9,11 +9,15 @@ Class-Path: lib/batik-ext.jar \
             lib/batik-script.jar \
             lib/batik-bridge.jar \
             lib/batik-swing.jar \
+            lib/batik-anim.jar \
             lib/batik-transcoder.jar \
             lib/batik-gui-util.jar \
             lib/batik-awt-util.jar \
+            lib/batik-codec.jar \
             lib/batik-util.jar \
             lib/batik-xml.jar \
             lib/xerces_2_5_0.jar \
+            lib/xalan-2.6.0.jar \
             lib/xml-apis.jar \
+            lib/xml-apis-ext.jar \
             lib/js.jar

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-codec.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-codec.pom.template b/modules/thirdparty/batik/sources/batik-codec.pom.template
new file mode 100644
index 0000000..802f4ee
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-codec.pom.template
@@ -0,0 +1,101 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-codec</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik image codecs</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-bridge</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-transcoder</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-css.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-css.pom.template b/modules/thirdparty/batik/sources/batik-css.pom.template
new file mode 100644
index 0000000..c3ed1e5
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-css.pom.template
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-css</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik CSS engine</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis-ext</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-dom.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-dom.pom.template b/modules/thirdparty/batik/sources/batik-dom.pom.template
new file mode 100644
index 0000000..e6d41ce
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-dom.pom.template
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-dom</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik DOM implementation</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-css</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-xml</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xalan</groupId>
+      <artifactId>xalan</artifactId>
+      <version>2.6.0</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis-ext</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-ext.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-ext.pom.template b/modules/thirdparty/batik/sources/batik-ext.pom.template
new file mode 100644
index 0000000..fad47aa
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-ext.pom.template
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-ext</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik external code</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-extension.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-extension.pom.template b/modules/thirdparty/batik/sources/batik-extension.pom.template
new file mode 100644
index 0000000..274fd82
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-extension.pom.template
@@ -0,0 +1,131 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-extension</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik extension classes</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-bridge</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-css</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-gvt</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-parser</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-svg-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis-ext</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-gui-util.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-gui-util.pom.template b/modules/thirdparty/batik/sources/batik-gui-util.pom.template
new file mode 100644
index 0000000..748a812
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-gui-util.pom.template
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-gui-util</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik GUI utility classes</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-gvt.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-gvt.pom.template b/modules/thirdparty/batik/sources/batik-gvt.pom.template
new file mode 100644
index 0000000..b80f1f2
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-gvt.pom.template
@@ -0,0 +1,96 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-gvt</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik GVT (Graphics Vector Tree)</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-bridge</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-js.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-js.pom.template b/modules/thirdparty/batik/sources/batik-js.pom.template
new file mode 100644
index 0000000..5576f22
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-js.pom.template
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-js</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik patched Rhino</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <description>
+    This is a patched version of Rhino 1.6R5 for use by Batik.  See
+    http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk/lib/README.js.txt
+    for details of the patch.
+  </description>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>Mozilla Public License version 1.1</name>
+      <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-parser.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-parser.pom.template b/modules/thirdparty/batik/sources/batik-parser.pom.template
new file mode 100644
index 0000000..aeea0d0
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-parser.pom.template
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-parser</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik SVG microsyntax parser library</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-awt-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-xml</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-pp.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-pp.mf b/modules/thirdparty/batik/sources/batik-pp.mf
index 780ed3e..61fdc20 100644
--- a/modules/thirdparty/batik/sources/batik-pp.mf
+++ b/modules/thirdparty/batik/sources/batik-pp.mf
@@ -1,9 +1,10 @@
 Manifest-Version: 1.0
-Main-Class: org.apache.flex.forks.batik.apps.svgpp.Main
+Main-Class: org.apache.batik.apps.svgpp.Main
 Class-Path: lib/batik-ext.jar \
             lib/batik-dom.jar \
             lib/batik-parser.jar \
             lib/batik-transcoder.jar \
             lib/batik-util.jar \
             lib/batik-xml.jar \
-            lib/xml-apis.jar
+            lib/xml-apis.jar \
+            lib/xml-apis-ext.jar

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-rasterizer-ext.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-rasterizer-ext.mf b/modules/thirdparty/batik/sources/batik-rasterizer-ext.mf
deleted file mode 100644
index 773ae09..0000000
--- a/modules/thirdparty/batik/sources/batik-rasterizer-ext.mf
+++ /dev/null
@@ -1,4 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: ../batik-rasterizer.jar \
-            ../lib/batik-extension.jar
-Main-Class: org.apache.flex.forks.batik.apps.rasterizer.Main

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-rasterizer.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-rasterizer.mf b/modules/thirdparty/batik/sources/batik-rasterizer.mf
deleted file mode 100644
index 64fc661..0000000
--- a/modules/thirdparty/batik/sources/batik-rasterizer.mf
+++ /dev/null
@@ -1,18 +0,0 @@
-Manifest-Version: 1.0
-Main-Class: org.apache.flex.forks.batik.apps.rasterizer.Main
-Class-Path: lib/batik-ext.jar \
-            lib/batik-dom.jar \
-            lib/batik-css.jar \
-            lib/batik-svg-dom.jar \
-            lib/batik-gvt.jar \
-            lib/batik-parser.jar \
-            lib/batik-script.jar \
-            lib/batik-bridge.jar \
-            lib/batik-transcoder.jar \
-            lib/batik-awt-util.jar \
-            lib/batik-util.jar \
-            lib/batik-xml.jar \
-            lib/xerces_2_5_0.jar \
-            lib/xml-apis.jar \
-            lib/pdf-transcoder.jar \
-            lib/js.jar

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-script.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-script.pom.template b/modules/thirdparty/batik/sources/batik-script.pom.template
new file mode 100644
index 0000000..47504ce
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-script.pom.template
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-script</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik scripting language classes</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-bridge</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-ext</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-svg-dom</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-util</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-js</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.04</version>
+    </dependency>
+  </dependencies>
+</project>

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-slideshow.mf
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-slideshow.mf b/modules/thirdparty/batik/sources/batik-slideshow.mf
deleted file mode 100644
index dfef63d..0000000
--- a/modules/thirdparty/batik/sources/batik-slideshow.mf
+++ /dev/null
@@ -1,20 +0,0 @@
-Manifest-Version: 1.0
-Class-Path: lib/batik-ext.jar \
-            lib/batik-dom.jar \
-            lib/batik-css.jar \
-            lib/batik-svg-dom.jar \
-            lib/batik-gvt.jar \
-            lib/batik-parser.jar \
-            lib/batik-script.jar \
-            lib/batik-bridge.jar \
-            lib/batik-swing.jar \
-            lib/batik-transcoder.jar \
-            lib/batik-gui-util.jar \
-            lib/batik-awt-util.jar \
-            lib/batik-util.jar \
-            lib/batik-xml.jar \
-            lib/xerces_2_5_0.jar \
-            lib/xml-apis.jar \
-            lib/js.jar
-            
-Main-Class: org.apache.flex.forks.batik.apps.slideshow.Main

http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/f690ea2f/modules/thirdparty/batik/sources/batik-squiggle-ext.pom.template
----------------------------------------------------------------------
diff --git a/modules/thirdparty/batik/sources/batik-squiggle-ext.pom.template b/modules/thirdparty/batik/sources/batik-squiggle-ext.pom.template
new file mode 100644
index 0000000..3c06a64
--- /dev/null
+++ b/modules/thirdparty/batik/sources/batik-squiggle-ext.pom.template
@@ -0,0 +1,86 @@
+<?xml version="1.0"?>
+<!--
+
+   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.
+
+-->
+
+<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/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.xmlgraphics</groupId>
+  <artifactId>batik-squiggle-ext</artifactId>
+  <version>@version@</version>
+  <packaging>jar</packaging>
+  <name>Batik SVG browser application with extensions</name>
+  <url>http://xmlgraphics.apache.org/batik/</url>
+  <inceptionYear>2000</inceptionYear>
+
+  <mailingLists>
+    <mailingList>
+      <name>Batik Users List</name>
+      <subscribe>batik-users-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-users-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-users/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Developer List</name>
+      <subscribe>batik-dev-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-dev-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Batik Commit List</name>
+      <subscribe>batik-commits-subscribe@xmlgraphics.apache.org</subscribe>
+      <unsubscribe>batik-commits-unsubscribe@xmlgraphics.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/xmlgraphics-batik-commits/</archive>
+    </mailingList>
+  </mailingLists>
+
+  <licenses>
+    <license>
+      <name>The Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+    </license>
+  </licenses>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/xmlgraphics/batik/trunk</developerConnection>
+    <url>http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/?root=Apache-SVN</url>
+  </scm>
+
+  <organization>
+    <name>Apache Software Foundation</name>
+    <url>http://www.apache.org/</url>
+  </organization>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-squiggle</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.xmlgraphics</groupId>
+      <artifactId>batik-extensions</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>