Repository: servicemix-bundles Updated Branches: refs/heads/master ea01b8719 -> 76cbfc053
[SM-3373] Create OSGi bundle for json4s 3.5.2 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/76cbfc05 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/76cbfc05 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/76cbfc05 Branch: refs/heads/master Commit: 76cbfc0533943bc7871ea419a69bc7181d360a60 Parents: ea01b87 Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue May 30 15:09:22 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue May 30 15:09:22 2017 +0200 ---------------------------------------------------------------------- json4s-3.5.2/pom.xml | 204 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 7 + pom.xml | 1 + 3 files changed, 212 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/76cbfc05/json4s-3.5.2/pom.xml ---------------------------------------------------------------------- diff --git a/json4s-3.5.2/pom.xml b/json4s-3.5.2/pom.xml new file mode 100644 index 0000000..f6082c0 --- /dev/null +++ b/json4s-3.5.2/pom.xml @@ -0,0 +1,204 @@ +<?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.json4s</artifactId> + <version>3.5.2_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps json4s ${pkgVersion} jar files.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + </scm> + + <properties> + <pkgGroupId>org.json4s</pkgGroupId> + <pkgArtifactId>json4s</pkgArtifactId> + <pkgVersion>3.5.2</pkgVersion> + <servicemix.osgi.export.pkg> + org.json4s + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + *;resolution:=optional + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-core_2.10</artifactId> + <version>${pkgVersion}</version> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scalap</artifactId> + </exclusion> + <exclusion> + <groupId>com.thoughtworks.paranamer</groupId> + <artifactId>paranamer</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-ast_2.10</artifactId> + <version>${pkgVersion}</version> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-jackson_2.10</artifactId> + <version>${pkgVersion}</version> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-core_2.10</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + <optional>true</optional> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scalap</artifactId> + </exclusion> + <exclusion> + <groupId>com.thoughtworks.paranamer</groupId> + <artifactId>paranamer</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-ast_2.10</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + <optional>true</optional> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>json4s-jackson_2.10</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + <optional>true</optional> + <exclusions> + <exclusion> + <groupId>org.scala-lang</groupId> + <artifactId>scala-library</artifactId> + </exclusion> + <exclusion> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </exclusion> + </exclusions> + </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}:json4s-core_2.10</include> + <include>${pkgGroupId}:json4s-ast_2.10</include> + <include>${pkgGroupId}:json4s-jackson_2.10</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:json4s-core_2.10</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> + <filter> + <artifact>${pkgGroupId}:json4s-ast_2.10</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> + <filter> + <artifact>${pkgGroupId}:json4s-jackson_2.10</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/76cbfc05/json4s-3.5.2/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/json4s-3.5.2/src/main/resources/OSGI-INF/bundle.info b/json4s-3.5.2/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..c7fbb9b --- /dev/null +++ b/json4s-3.5.2/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,7 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + +\u001B[1mDESCRIPTION\u001B[0m + A single AST to be used by other scala json libraries +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://http://json4s.org/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/76cbfc05/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 98f1c5f..7231f7a 100644 --- a/pom.xml +++ b/pom.xml @@ -91,6 +91,7 @@ <module>bcpg-jdk15on-1.57</module> <module>gae-1.9.53</module> <module>noggit-0.8</module> + <module>json4s-3.5.2</module> </modules> </project>
