Repository: servicemix-bundles Updated Branches: refs/heads/master c4bd9b614 -> e82fa4f84
[SM-3491] Create OSGi bundle for guice 4.1.0 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/e82fa4f8 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/e82fa4f8 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/e82fa4f8 Branch: refs/heads/master Commit: e82fa4f846b0890ac3943f3d84acf9fb8e310880 Parents: c4bd9b6 Author: Jean-Baptiste Onofré <[email protected]> Authored: Mon Sep 4 07:45:48 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Mon Sep 4 07:45:48 2017 +0200 ---------------------------------------------------------------------- guice-4.0/pom.xml | 109 ------------------- .../src/main/resources/OSGI-INF/bundle.info | 34 ------ guice-4.1.0/pom.xml | 108 ++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 34 ++++++ pom.xml | 1 + 5 files changed, 143 insertions(+), 143 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/e82fa4f8/guice-4.0/pom.xml ---------------------------------------------------------------------- diff --git a/guice-4.0/pom.xml b/guice-4.0/pom.xml deleted file mode 100644 index ceeffba..0000000 --- a/guice-4.0/pom.xml +++ /dev/null @@ -1,109 +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>12</version> - <relativePath>../bundles-pom/pom.xml</relativePath> - </parent> - - <groupId>org.apache.servicemix.bundles</groupId> - <artifactId>org.apache.servicemix.bundles.guice</artifactId> - <version>4.0_2-SNAPSHOT</version> - <packaging>bundle</packaging> - <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> - <description>This OSGi bundle wraps guice ${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>com.google.inject</pkgGroupId> - <pkgArtifactId>guice</pkgArtifactId> - <pkgVersion>4.0</pkgVersion> - <servicemix.osgi.export.pkg> - com.google.inject - </servicemix.osgi.export.pkg> - <servicemix.osgi.import.pkg> - javax.inject, - org.aopalliance*;version="[1.0,2)", - com.google.common*, - com.google.inject.internal.asm.util;resolution:=optional - </servicemix.osgi.import.pkg> - </properties> - - <dependencies> - <dependency> - <groupId>${pkgGroupId}</groupId> - <artifactId>${pkgArtifactId}</artifactId> - <version>${pkgVersion}</version> - </dependency> - - <!-- sources --> - <dependency> - <groupId>${pkgGroupId}</groupId> - <artifactId>${pkgArtifactId}</artifactId> - <version>${pkgVersion}</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> - </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/e82fa4f8/guice-4.0/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/guice-4.0/src/main/resources/OSGI-INF/bundle.info b/guice-4.0/src/main/resources/OSGI-INF/bundle.info deleted file mode 100644 index e4e11dc..0000000 --- a/guice-4.0/src/main/resources/OSGI-INF/bundle.info +++ /dev/null @@ -1,34 +0,0 @@ -\u001B[1mSYNOPSIS\u001B[0m - ${project.description} - - Original Maven URL: - \u001B[33mmvn:http://guiceyfruit.googlecode.com/svn/repo/releases:${pkgGroupId}/guiceyfruit-core/${pkgVersion}\u001B[0m - \u001B[33mmvn:http://guiceyfruit.googlecode.com/svn/repo/releases:${pkgGroupId}/guice-all/${pkgVersion}\u001B[0m - -\u001B[1mDESCRIPTION\u001B[0m - Put simply, Guice alleviates the need for factories and the use of new - in your Java code. Think of Guice's @Inject as the new new. You will - still need to write factories in some cases, but your code will not depend - directly on them. Your code will be easier to change, unit test and reuse in - other contexts. - - Guice embraces Java's type safe nature, especially when it comes to features - introduced in Java 5 such as generics and annotations. You might think of - Guice as filling in missing features for core Java. Ideally, the language - itself would provide most of the same features, but until such a language - comes along, we have Guice. - - Guice helps you design better APIs, and the Guice API itself sets a good - example. Guice is not a kitchen sink. We justify each feature with at least - three use cases. When in doubt, we leave it out. We build general functionality - which enables you to extend Guice rather than adding every feature to the core - framework. - - Guice aims to make development and debugging easier and faster, not harder and - slower. In that vein, Guice steers clear of surprises and magic. You should be - able to understand code with or without tools, though tools can make things even - easier. When errors do occur, Guice goes the extra mile to generate helpful - messages. - -\u001B[1mSEE ALSO\u001B[0m - \u001B[36mhttp://code.google.com/p/google-guice/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/e82fa4f8/guice-4.1.0/pom.xml ---------------------------------------------------------------------- diff --git a/guice-4.1.0/pom.xml b/guice-4.1.0/pom.xml new file mode 100644 index 0000000..952bca2 --- /dev/null +++ b/guice-4.1.0/pom.xml @@ -0,0 +1,108 @@ +<?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.guice</artifactId> + <version>4.1.0_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps guice ${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>com.google.inject</pkgGroupId> + <pkgArtifactId>guice</pkgArtifactId> + <pkgVersion>4.1.0</pkgVersion> + <servicemix.osgi.export.pkg> + com.google.inject + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + javax.inject, + org.aopalliance*;version="[1.0,2)", + com.google.common*, + com.google.inject.internal.asm.util;resolution:=optional + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</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> + </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/e82fa4f8/guice-4.1.0/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/guice-4.1.0/src/main/resources/OSGI-INF/bundle.info b/guice-4.1.0/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..e4e11dc --- /dev/null +++ b/guice-4.1.0/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,34 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:http://guiceyfruit.googlecode.com/svn/repo/releases:${pkgGroupId}/guiceyfruit-core/${pkgVersion}\u001B[0m + \u001B[33mmvn:http://guiceyfruit.googlecode.com/svn/repo/releases:${pkgGroupId}/guice-all/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Put simply, Guice alleviates the need for factories and the use of new + in your Java code. Think of Guice's @Inject as the new new. You will + still need to write factories in some cases, but your code will not depend + directly on them. Your code will be easier to change, unit test and reuse in + other contexts. + + Guice embraces Java's type safe nature, especially when it comes to features + introduced in Java 5 such as generics and annotations. You might think of + Guice as filling in missing features for core Java. Ideally, the language + itself would provide most of the same features, but until such a language + comes along, we have Guice. + + Guice helps you design better APIs, and the Guice API itself sets a good + example. Guice is not a kitchen sink. We justify each feature with at least + three use cases. When in doubt, we leave it out. We build general functionality + which enables you to extend Guice rather than adding every feature to the core + framework. + + Guice aims to make development and debugging easier and faster, not harder and + slower. In that vein, Guice steers clear of surprises and magic. You should be + able to understand code with or without tools, though tools can make things even + easier. When errors do occur, Guice goes the extra mile to generate helpful + messages. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://code.google.com/p/google-guice/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/e82fa4f8/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 08eb5b7..db53766 100644 --- a/pom.xml +++ b/pom.xml @@ -76,6 +76,7 @@ <module>saxon-9.8.0-4</module> <module>bcprov-jdk15on-1.58</module> <module>spring-data-commons-1.13.6.RELEASE</module> + <module>guice-4.1.0</module> </modules> </project>
