ASF Bugzilla – Attachment 34336 Details for
Bug 57857
Provide an OSGi bundle
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ServiceMix patch
servicemix.diff (text/plain), 21.58 KB, created by
Andreas Beeker
on 2016-10-08 17:20:05 UTC
(
hide
)
Description:
ServiceMix patch
Filename:
MIME Type:
Creator:
Andreas Beeker
Created:
2016-10-08 17:20:05 UTC
Size:
21.58 KB
patch
obsolete
>diff --git a/commons-collections4-4.1/pom.xml b/commons-collections4-4.1/pom.xml >new file mode 100644 >index 0000000..803b20d >--- /dev/null >+++ b/commons-collections4-4.1/pom.xml >@@ -0,0 +1,102 @@ >+<?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>12</version> >+ <relativePath>../bundles-pom/pom.xml</relativePath> >+ </parent> >+ >+ <groupId>org.apache.servicemix.bundles</groupId> >+ <artifactId>org.apache.servicemix.bundles.commons-collections4</artifactId> >+ <version>4.1-SNAPSHOT</version> >+ <packaging>bundle</packaging> >+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> >+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> >+ >+ <properties> >+ <pkgGroupId>org.apache.commons</pkgGroupId> >+ <pkgArtifactId>commons-collections4</pkgArtifactId> >+ <pkgVersion>4.1</pkgVersion> >+ <servicemix.osgi.export.pkg> >+ org.apache.commons.collections4 >+ </servicemix.osgi.export.pkg> >+ <servicemix.osgi.import.pkg> >+ org.w3c.dom >+ </servicemix.osgi.import.pkg> >+ </properties> >+ >+ <dependencies> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>${pkgArtifactId}</artifactId> >+ <version>${pkgVersion}</version> >+ <optional>true</optional> >+ </dependency> >+ >+ <!-- sources --> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>${pkgArtifactId}</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}:${pkgArtifactId}</include> >+ </includes> >+ </artifactSet> >+ <filters> >+ <filter> >+ <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> >+ <excludes> >+ <exclude>**</exclude> >+ </excludes> >+ </filter> >+ </filters> >+ <promoteTransitiveDependencies>true</promoteTransitiveDependencies> >+ <createDependencyReducedPom>true</createDependencyReducedPom> >+ </configuration> >+ </execution> >+ </executions> >+ </plugin> >+ </plugins> >+ </build> >+ >+</project> >diff --git a/commons-collections4-4.1/src/main/resources/OSGI-INF/bundle.info b/commons-collections4-4.1/src/main/resources/OSGI-INF/bundle.info >new file mode 100644 >index 0000000..4958b8b >--- /dev/null >+++ b/commons-collections4-4.1/src/main/resources/OSGI-INF/bundle.info >@@ -0,0 +1,31 @@ >+\u001B[1mSYNOPSIS\u001B[0m >+ ${project.description} >+ >+ Original Maven URL: >+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m >+ >+\u001B[1mDESCRIPTION\u001B[0m >+ The Java Collections Framework was a major addition in JDK 1.2. It added many powerful data structures that >+ accelerate development of most significant Java applications. Since that time it has become the recognised >+ standard for collection handling in Java. >+ >+ Commons-Collections seek to build upon the JDK classes by providing new interfaces, implementations and >+ utilities. There are many features, including: >+ >+ * Bag interface for collections that have a number of copies of each object >+ * Buffer interface for collections that have a well defined removal order, like FIFOs >+ * BidiMap interface for maps that can be looked up from value to key as well and key to value >+ * MapIterator interface to provide simple and quick iteration over maps >+ * Type checking decorators to ensure that only instances of a certain type can be added >+ * Transforming decorators that alter each object as it is added to the collection >+ * Composite collections that make multiple collections look like one >+ * Ordered maps and sets that retain the order elements are added in, including an LRU based map >+ * Identity map that compares objects based on their identity (==) instead of the equals method >+ * Reference map that allows keys and/or values to be garbage collected under close control >+ * Many comparator implementations >+ * Many iterator implementations >+ * Adapter classes from array and enumerations to collections >+ * Utilities to test or create typical set-theory properties of collections such as union, intersection, and closure >+ >+\u001B[1mSEE ALSO\u001B[0m >+ \u001B[36mhttp://commons.apache.org/collections/\u001B[0m >diff --git a/poi-3.15/pom.xml b/poi-3.15/pom.xml >new file mode 100644 >index 0000000..7290d4c >--- /dev/null >+++ b/poi-3.15/pom.xml >@@ -0,0 +1,266 @@ >+<?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>12</version> >+ <relativePath>../bundles-pom/pom.xml</relativePath> >+ </parent> >+ >+ <groupId>org.apache.servicemix.bundles</groupId> >+ <artifactId>org.apache.servicemix.bundles.poi</artifactId> >+ <version>3.15-SNAPSHOT</version> >+ <packaging>bundle</packaging> >+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> >+ <description> >+ This OSGi bundle wraps poi, poi-contrib, poi-ooxml, ooxml-schemas and poi-scratchpad ${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> >+ <tag>HEAD</tag> >+ </scm> >+ >+ <properties> >+ <pkgGroupId>org.apache.poi</pkgGroupId> >+ <pkgArtifactId>poi</pkgArtifactId> >+ <pkgVersion>3.15-beta4</pkgVersion> >+ <ooxmlVersion>1.3</ooxmlVersion> >+ <secVersion>1.1</secVersion> >+ <servicemix.osgi.export.pkg> >+ org.openxmlformats.schemas.drawingml.x2006*;version=${ooxmlVersion};-split-package:=merge-first, >+ org.openxmlformats.schemas.officeDocument.x2006*;version=${ooxmlVersion};-split-package:=merge-first, >+ org.openxmlformats.schemas.presentationml.x2006.main;version=${ooxmlVersion};-split-package:=merge-first, >+ org.openxmlformats.schemas.spreadsheetml.x2006.main;version=${ooxmlVersion};-split-package:=merge-first, >+ org.openxmlformats.schemas.wordprocessingml.x2006.main;version=${ooxmlVersion};-split-package:=merge-first, >+ org.openxmlformats.schemas.xpackage.x2006*;version=${secVersion};-split-package:=merge-first, >+ com.microsoft.schemas.office.excel;version=${ooxmlVersion};-split-package:=merge-first, >+ com.microsoft.schemas.office.office;version=${ooxmlVersion};-split-package:=merge-first, >+ com.microsoft.schemas.office.visio*;version=${ooxmlVersion};-split-package:=merge-first, >+ com.microsoft.schemas.vml*;version=${ooxmlVersion};-split-package:=merge-first, >+ org.etsi.uri.x01903*;version=${secVersion};-split-package:=merge-first, >+ org.w3.x2000.x09.xmldsig*;version=${secVersion};-split-package:=merge-first, >+ com.microsoft.schemas.office.x2006*;version=${secVersion};-split-package:=merge-first, >+ org.apache.poi* >+ </servicemix.osgi.export.pkg> >+ <servicemix.osgi.import.pkg> >+ org.apache.commons.codec*;resolution:=optional, >+ org.apache.commons.collections4*;resolution:=optional, >+ com.sun.javadoc;resolution:=optional, >+ com.sun.tools.javadoc;resolution:=optional, >+ junit.framework;resolution:=optional, >+ org.apache.crimson.*;resolution:=optional, >+ org.apache.tools.ant*;resolution:=optional, >+ org.bouncycastle.*;resolution:=optional, >+ org.junit.*;resolution:=optional, >+ org.openxmlformats*;resolution:=optional, >+ repackage;resolution:=optional, >+ org.apache.jcp.xml.dsig.internal.dom;resolution:=optional, >+ org.apache.xml.resolver;resolution:=optional, >+ org.apache.xml.resolver.tools;resolution:=optional, >+ org.apache.xml.security;resolution:=optional, >+ org.apache.xml.security.c14n;resolution:=optional, >+ org.apache.xml.security.utils;resolution:=optional, >+ com.graphbuilder.curve;resolution:=optional, >+ com.graphbuilder.geom;resolution:=optional, >+ com.microsoft.schemas.vml;resolution:=optional, >+ org.etsi.uri.x01903*;resolution:=optional, >+ com.microsoft.schemas.office.powerpoint;resolution:=optional, >+ com.microsoft.schemas.office.word;resolution:=optional, >+ org.openxmlformats.schemas.schemaLibrary.x2006.main;resolution:=optional, >+ * >+ </servicemix.osgi.import.pkg> >+ <servicemix.osgi.private.pkg> >+ org.apache.xmlbeans.*;-split-package:=merge-first >+ </servicemix.osgi.private.pkg> >+ </properties> >+ >+ <dependencies> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>${pkgArtifactId}</artifactId> >+ <version>${pkgVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-contrib</artifactId> >+ <version>3.6</version> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-scratchpad</artifactId> >+ <version>${pkgVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-ooxml</artifactId> >+ <version>${pkgVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ <!-- lite/combined schema --> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-ooxml-schemas</artifactId> >+ <version>${pkgVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ <!-- ... or full schemas --> >+ <!-- >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>ooxml-schemas</artifactId> >+ <version>${ooxmlVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>ooxml-security</artifactId> >+ <version>${secVersion}</version> >+ <optional>false</optional> >+ </dependency> >+ --> >+ <dependency> >+ <groupId>org.apache.xmlbeans</groupId> >+ <artifactId>xmlbeans</artifactId> >+ <version>2.6.0</version> >+ </dependency> >+ >+ <!-- sources --> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>${pkgArtifactId}</artifactId> >+ <version>${pkgVersion}</version> >+ <classifier>sources</classifier> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-contrib</artifactId> >+ <version>3.6</version> >+ <classifier>sources</classifier> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-scratchpad</artifactId> >+ <version>${pkgVersion}</version> >+ <classifier>sources</classifier> >+ <optional>false</optional> >+ </dependency> >+ <dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>poi-ooxml</artifactId> >+ <version>${pkgVersion}</version> >+ <classifier>sources</classifier> >+ <optional>false</optional> >+ </dependency> >+ <!--dependency> >+ <groupId>${pkgGroupId}</groupId> >+ <artifactId>ooxml-security</artifactId> >+ <version>1.1</version> >+ <classifier>sources</classifier> >+ <optional>false</optional> >+ </dependency--> >+ >+ <!-- Sources not available --> >+ <!--<dependency>--> >+ <!--<groupId>${pkgGroupId}</groupId>--> >+ <!--<artifactId>poi-ooxml-schemas</artifactId>--> >+ <!--<version>${pkgVersion}</version>--> >+ <!--<classifier>sources</classifier>--> >+ <!--<optional>false</optional>--> >+ <!--</dependency>--> >+ <!--<dependency>--> >+ <!--<groupId>org.apache.xmlbeans</groupId>--> >+ <!--<artifactId>xmlbeans</artifactId>--> >+ <!--<version>2.6.0</version>--> >+ <!--<classifier>sources</classifier>--> >+ <!--</dependency>--> >+ >+ </dependencies> >+ >+ <build> >+ <plugins> >+ <plugin> >+ <groupId>org.apache.maven.plugins</groupId> >+ <artifactId>maven-shade-plugin</artifactId> >+ <executions> >+ <execution> >+ <phase>package</phase> >+ <goals> >+ <goal>shade</goal> >+ </goals> >+ <configuration> >+ <artifactSet> >+ <includes> >+ <include>${pkgGroupId}:${pkgArtifactId}</include> >+ <include>${pkgGroupId}:poi-contrib</include> >+ <include>${pkgGroupId}:poi-scratchpad</include> >+ <include>${pkgGroupId}:poi-ooxml</include> >+ <include>${pkgGroupId}:poi-ooxml-schemas</include> >+ <!--include>${pkgGroupId}:ooxml-security</include--> >+ <include>dom4j:dom4j</include> >+ <include>org.apache.xmlbeans:xmlbeans</include> >+ </includes> >+ </artifactSet> >+ <filters> >+ <filter> >+ <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> >+ <excludes> >+ <exclude>**</exclude> >+ </excludes> >+ </filter> >+ <filter> >+ <artifact>${pkgGroupId}:poi-contrib</artifact> >+ <excludes> >+ <exclude>**</exclude> >+ </excludes> >+ </filter> >+ <filter> >+ <artifact>${pkgGroupId}:poi-scratchpad</artifact> >+ <excludes> >+ <exclude>**</exclude> >+ </excludes> >+ </filter> >+ <filter> >+ <artifact>${pkgGroupId}:poi-ooxml</artifact> >+ <includes> >+ <include>**/*.xml</include> >+ </includes> >+ </filter> >+ </filters> >+ <promoteTransitiveDependencies>true</promoteTransitiveDependencies> >+ <createDependencyReducedPom>true</createDependencyReducedPom> >+ </configuration> >+ </execution> >+ </executions> >+ </plugin> >+ </plugins> >+ </build> >+</project> >diff --git a/poi-3.15/src/main/resources/OSGI-INF/bundle.info b/poi-3.15/src/main/resources/OSGI-INF/bundle.info >new file mode 100644 >index 0000000..a54e95e >--- /dev/null >+++ b/poi-3.15/src/main/resources/OSGI-INF/bundle.info >@@ -0,0 +1,38 @@ >+\u001B[1mSYNOPSIS\u001B[0m >+ ${project.description} >+ >+ Original Maven URLs: >+ \u001B[33mmvn:${pkgGroupId}/poi/${pkgVersion}\u001B[0m >+ \u001B[33mmvn:${pkgGroupId}/poi-contrib/${pkgVersion}\u001B[0m >+ \u001B[33mmvn:${pkgGroupId}/poi-scratchpad/${pkgVersion}\u001B[0m >+ >+\u001B[1mDESCRIPTION\u001B[0m >+ The Apache POI Project's mission is to create and maintain Java APIs for manipulating various file formats based >+ upon the Office Open XML standards (OOXML) and Microsoft's OLE 2 Compound Document format (OLE2). In short, you can >+ read and write MS Excel files using Java. In addition, you can read and write MS Word and MS PowerPoint files using >+ Java. Apache POI is your Java Excel solution (for Excel 97-2008). We have a complete API for porting other OOXML and >+ OLE2 formats and welcome others to participate. >+ >+ OLE2 files include most Microsoft Office files such as XLS, DOC, and PPT as well as MFC serialization API based file >+ formats. The project provides APIs for the OLE2 Filesystem (POIFS) and OLE2 Document Properties (HPSF). >+ >+ Office OpenXML Format is the new standards based XML file format found in Microsoft Office 2007 and 2008. This >+ includes XLSX, DOCX and PPTX. The project provides a low level API to support the Open Packaging Conventions using >+ openxml4j. >+ >+ For each MS Office application there exists a component module that attempts to provide a common high level Java api >+ to both OLE2 and OOXML document formats. This is most developed for Excel workbooks (SS=HSSF+XSSF). Work is >+ progressing for Word documents (HWPF+XWPF) and PowerPoint presentations (HSLF+XSLF). >+ >+ The project has recently added support for Outlook (HSMF). Microsoft opened the specifications to this format in >+ October 2007. We would welcome contributions. >+ >+ There are also projects for Visio (HDGF), TNEF (HMEF), and Publisher (HPBF). >+ >+ As a general policy we collaborate as much as possible with other projects to provide this functionality. >+ Examples include: Cocoon for which there are serializers for HSSF; Open Office.org with whom we collaborate in >+ documenting the XLS format; and Tika / Lucene, for which we provide format interpretors. >+ When practical, we donate components directly to those projects for POI-enabling them. >+ >+\u001B[1mSEE ALSO\u001B[0m >+ \u001B[36mhttp://poi.apache.org/\u001B[0m
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57857
:
32736
| 34336