Repository: servicemix-bundles Updated Branches: refs/heads/master c2c67f1de -> 5a00154fc
[SM-3409] Create OSGi bundle for oscore 2.2.6 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/5a00154f Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/5a00154f Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/5a00154f Branch: refs/heads/master Commit: 5a00154fc29c85ff381ec7f1bb03002ad6a195b0 Parents: c2c67f1 Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Jul 3 22:00:38 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Jul 3 22:00:38 2017 +0200 ---------------------------------------------------------------------- oscore-2.2.4/pom.xml | 120 ------------------ .../src/main/resources/OSGI-INF/bundle.info | 26 ---- oscore-2.2.6/pom.xml | 126 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 26 ++++ pom.xml | 1 + 5 files changed, 153 insertions(+), 146 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5a00154f/oscore-2.2.4/pom.xml ---------------------------------------------------------------------- diff --git a/oscore-2.2.4/pom.xml b/oscore-2.2.4/pom.xml deleted file mode 100644 index 092aa6e..0000000 --- a/oscore-2.2.4/pom.xml +++ /dev/null @@ -1,120 +0,0 @@ -<?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>9-SNAPSHOT</version> - <relativePath>../bundles-pom/pom.xml</relativePath> - </parent> - - <groupId>org.apache.servicemix.bundles</groupId> - <artifactId>org.apache.servicemix.bundles.oscore</artifactId> - <version>2.2.4_6-SNAPSHOT</version> - <packaging>bundle</packaging> - <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> - <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> - - <properties> - <pkgGroupId>opensymphony</pkgGroupId> - <pkgArtifactId>oscore</pkgArtifactId> - <pkgVersion>2.2.4</pkgVersion> - <servicemix.osgi.import.pkg> - javax.ejb*;resolution:=optional;version="[2,3)", - javax.mail*;resolution:=optional;version="[1.2,2)", - javax.naming*;resolution:=optional, - javax.rmi*;resolution:=optional, - javax.servlet*;resolution:=optional;version="[2.1,3)", - ognl*;resolution:=optional;version="[2.6,3)", - org.apache.commons.logging*;resolution:=optional;version="[1.1,2)", - org.apache.log4j*;resolution:=optional;version="[1.2.8,2)", - org.apache.xalan.serialize*;resolution:=optional;version="[2.4,3)", - org.apache.xpath*;resolution:=optional;version="[2.4,3)", - javax.xml.parsers, - javax.xml.transform, - javax.xml.transform.dom, - javax.xml.transform.stream, - org.w3c.dom, - org.xml.sax, - org.xml.sax.helpers - </servicemix.osgi.import.pkg> - <servicemix.osgi.export.pkg> - com.opensymphony - </servicemix.osgi.export.pkg> - </properties> - - <dependencies> - <dependency> - <groupId>${pkgGroupId}</groupId> - <artifactId>${pkgArtifactId}</artifactId> - <version>${pkgVersion}</version> - <optional>true</optional> - </dependency> - - <!-- sources --> - <!-- Not available - <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> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5a00154f/oscore-2.2.4/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/oscore-2.2.4/src/main/resources/OSGI-INF/bundle.info b/oscore-2.2.4/src/main/resources/OSGI-INF/bundle.info deleted file mode 100644 index f69ec39..0000000 --- a/oscore-2.2.4/src/main/resources/OSGI-INF/bundle.info +++ /dev/null @@ -1,26 +0,0 @@ -\u001B[1mSYNOPSIS\u001B[0m - ${project.description} - - Original Maven URL: - \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m - -\u001B[1mDESCRIPTION\u001B[0m - OSCore is a set of utility-classes that are common to the other components of OpenSymphony. Contains essential - functionality for any J2EE application. - - * TextUtils - useful functions for manipulating Strings. Examples include: extracting primitive types, verifying - e-mail addresses, splitting and joining, escaping characters, hyperlinking text, indentation, etc. - * XMLUtils - common XML functions such as parsing and printing DOM documents, performing XSL transformations and - selecting nodes using XPATH. - * EJBUtils - common EJB and JNDI based functions such as looking up and narrowing home interfaces and looking up - entity-beans directly. - * BeanUtils - useful methods for accessing values of objects using reflection. - * MultipartException - a special type of Exception designed to be subclassed for holding many child Exceptions. - Useful if validation can throw many Exceptions and they all need to be wrapped up into and report (for example). - * Data - an Object wrapper for binary data. - * OrderedMap - a java.util.Map implementation that retains the order items were added in. - * DataUtil - a small class that helps convert Objects to their primitive types. - * DateUtil - a small class for handling ISO 8601 International Date formats. - -\u001B[1mSEE ALSO\u001B[0m - \u001B[36mhttp://www.opensymphony.com/oscore/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5a00154f/oscore-2.2.6/pom.xml ---------------------------------------------------------------------- diff --git a/oscore-2.2.6/pom.xml b/oscore-2.2.6/pom.xml new file mode 100644 index 0000000..b7375c2 --- /dev/null +++ b/oscore-2.2.6/pom.xml @@ -0,0 +1,126 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>13</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.oscore</artifactId> + <version>2.2.6_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + </scm> + + <properties> + <pkgGroupId>opensymphony</pkgGroupId> + <pkgArtifactId>oscore</pkgArtifactId> + <pkgVersion>2.2.6</pkgVersion> + <servicemix.osgi.import.pkg> + javax.ejb*;resolution:=optional;version="[2,3)", + javax.mail*;resolution:=optional;version="[1.2,2)", + javax.naming*;resolution:=optional, + javax.rmi*;resolution:=optional, + javax.servlet*;resolution:=optional;version="[2.1,3)", + ognl*;resolution:=optional;version="[2.6,3)", + org.apache.commons.logging*;resolution:=optional;version="[1.1,2)", + org.apache.log4j*;resolution:=optional;version="[1.2.8,2)", + org.apache.xalan.serialize*;resolution:=optional;version="[2.4,3)", + org.apache.xpath*;resolution:=optional;version="[2.4,3)", + javax.xml.parsers, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.stream, + org.w3c.dom, + org.xml.sax, + org.xml.sax.helpers + </servicemix.osgi.import.pkg> + <servicemix.osgi.export.pkg> + com.opensymphony + </servicemix.osgi.export.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <optional>true</optional> + </dependency> + + <!-- sources --> + <!-- Not available + <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> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5a00154f/oscore-2.2.6/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/oscore-2.2.6/src/main/resources/OSGI-INF/bundle.info b/oscore-2.2.6/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..f69ec39 --- /dev/null +++ b/oscore-2.2.6/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,26 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + OSCore is a set of utility-classes that are common to the other components of OpenSymphony. Contains essential + functionality for any J2EE application. + + * TextUtils - useful functions for manipulating Strings. Examples include: extracting primitive types, verifying + e-mail addresses, splitting and joining, escaping characters, hyperlinking text, indentation, etc. + * XMLUtils - common XML functions such as parsing and printing DOM documents, performing XSL transformations and + selecting nodes using XPATH. + * EJBUtils - common EJB and JNDI based functions such as looking up and narrowing home interfaces and looking up + entity-beans directly. + * BeanUtils - useful methods for accessing values of objects using reflection. + * MultipartException - a special type of Exception designed to be subclassed for holding many child Exceptions. + Useful if validation can throw many Exceptions and they all need to be wrapped up into and report (for example). + * Data - an Object wrapper for binary data. + * OrderedMap - a java.util.Map implementation that retains the order items were added in. + * DataUtil - a small class that helps convert Objects to their primitive types. + * DateUtil - a small class for handling ISO 8601 International Date formats. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://www.opensymphony.com/oscore/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/5a00154f/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index e2b0d28..a03b980 100644 --- a/pom.xml +++ b/pom.xml @@ -99,6 +99,7 @@ <module>lucene-queryparser-6.6.0</module> <module>lucene-sandbox-6.6.0</module> <module>saxon-9.8.0-2</module> + <module>oscore-2.2.6</module> </modules> </project>
