You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Guillaume Nodet <gn...@gmail.com> on 2009/04/17 21:38:41 UTC
Re: svn commit: r765549 - in /servicemix/smx4/specs/trunk:
jsr250-1.0/ jsr250-1.0/pom.xml pom.xml
All geronimo specs are OSGi bundles already.
Those in this tree are mostly here because some OSGi specific
enhacnements required to avoid using the META-INF/services/ stuff.
On Thu, Apr 16, 2009 at 11:57, <js...@apache.org> wrote:
> Author: jstrachan
> Date: Thu Apr 16 09:57:20 2009
> New Revision: 765549
>
> URL: http://svn.apache.org/viewvc?rev=765549&view=rev
> Log:
> Added an OSGi bundle for JSR 250 (javax.annotation) - I've not managed to find one anywhere. We can delete this later if one shows up :)
>
> Added:
> servicemix/smx4/specs/trunk/jsr250-1.0/
> servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml (with props)
> Modified:
> servicemix/smx4/specs/trunk/pom.xml
>
> Added: servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml
> URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml?rev=765549&view=auto
> ==============================================================================
> --- servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml (added)
> +++ servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml Thu Apr 16 09:57:20 2009
> @@ -0,0 +1,167 @@
> +<?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/maven-v4_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.specs</groupId>
> + <artifactId>specs</artifactId>
> + <version>1.4-SNAPSHOT</version>
> + </parent>
> +
> + <groupId>org.apache.servicemix.specs</groupId>
> + <artifactId>org.apache.servicemix.specs.jsr250-1.0</artifactId>
> + <packaging>bundle</packaging>
> + <version>1.4-SNAPSHOT</version>
> + <name>Apache ServiceMix Specs :: JSR250 1.0</name>
> +
> + <dependencies>
> + <dependency>
> + <groupId>org.apache.geronimo.specs</groupId>
> + <artifactId>geronimo-annotation_1.0_spec</artifactId>
> + <version>1.0</version>
> + </dependency>
> + <dependency>
> + <groupId>org.apache.servicemix.specs</groupId>
> + <artifactId>org.apache.servicemix.specs.locator</artifactId>
> + <version>${project.version}</version>
> + </dependency>
> + </dependencies>
> +
> + <build>
> + <plugins>
> + <plugin>
> + <groupId>org.apache.felix</groupId>
> + <artifactId>maven-bundle-plugin</artifactId>
> + <configuration>
> + <instructions>
> + <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
> + <Export-Package>javax.annotation*;version=1.0;-split-package:=merge-first</Export-Package>
> + <Import-Package>*</Import-Package>
> + <Private-Package>org.apache.servicemix.specs.locator;-split-package:=merge-first</Private-Package>
> + <Bundle-Activator>org.apache.servicemix.specs.locator.Activator</Bundle-Activator>
> + <Implementation-Title>Apache ServiceMix</Implementation-Title>
> + <Implementation-Version>${project.version}</Implementation-Version>
> + </instructions>
> + <unpackBundle>true</unpackBundle>
> + </configuration>
> + </plugin>
> + <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>org.apache.geronimo.specs:geronimo-annotation_1.0_spec</include>
> + <include>org.apache.servicemix.specs:org.apache.servicemix.specs.locator</include>
> + </includes>
> + </artifactSet>
> + <filters>
> + <filter>
> + <artifact>org.apache.geronimo.specs:geronimo-annotation_1.0_spec</artifact>
> + <excludes>
> + <exclude>javax/**</exclude>
> + </excludes>
> + </filter>
> + <filter>
> + <artifact>org.apache.servicemix.specs:org.apache.servicemix.specs.locator</artifact>
> + <excludes>
> + <exclude>org/**</exclude>
> + </excludes>
> + </filter>
> + </filters>
> + <createSourcesJar>${createSourcesJar}</createSourcesJar>
> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
> + <createDependencyReducedPom>true</createDependencyReducedPom>
> + </configuration>
> + </execution>
> + </executions>
> + </plugin>
> + </plugins>
> + </build>
> +
> + <profiles>
> + <profile>
> + <id>deploy</id>
> + <properties>
> + <createSourcesJar>true</createSourcesJar>
> + </properties>
> + <build>
> + <plugins>
> + <plugin>
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-dependency-plugin</artifactId>
> + <executions>
> + <execution>
> + <id>unpack-sources</id>
> + <phase>generate-sources</phase>
> + <goals>
> + <goal>unpack</goal>
> + </goals>
> + <configuration>
> + <artifactItems>
> + <artifactItem>
> + <groupId>org.apache.geronimo.specs</groupId>
> + <artifactId>geronimo-annotation_1.0_spec</artifactId>
> + <classifier>sources</classifier>
> + </artifactItem>
> + <artifactItem>
> + <groupId>org.apache.servicemix.specs</groupId>
> + <artifactId>org.apache.servicemix.specs.locator</artifactId>
> + <classifier>sources</classifier>
> + </artifactItem>
> + </artifactItems>
> + <outputDirectory>${project.build.directory}/sources</outputDirectory>
> + </configuration>
> + </execution>
> + </executions>
> + </plugin>
> +
> + <plugin>
> + <groupId>org.apache.maven.plugins</groupId>
> + <artifactId>maven-javadoc-plugin</artifactId>
> + <executions>
> + <execution>
> + <id>package</id>
> + <phase>package</phase>
> + <goals>
> + <goal>jar</goal>
> + </goals>
> + </execution>
> + </executions>
> + <configuration>
> + <minmemory>128m</minmemory>
> + <maxmemory>512m</maxmemory>
> + <sourcepath>${project.build.directory}/sources</sourcepath>
> + </configuration>
> + </plugin>
> + </plugins>
> + </build>
> + </profile>
> + </profiles>
> +
> +</project>
>
> Propchange: servicemix/smx4/specs/trunk/jsr250-1.0/pom.xml
> ------------------------------------------------------------------------------
> svn:eol-style = native
>
> Modified: servicemix/smx4/specs/trunk/pom.xml
> URL: http://svn.apache.org/viewvc/servicemix/smx4/specs/trunk/pom.xml?rev=765549&r1=765548&r2=765549&view=diff
> ==============================================================================
> --- servicemix/smx4/specs/trunk/pom.xml (original)
> +++ servicemix/smx4/specs/trunk/pom.xml Thu Apr 16 09:57:20 2009
> @@ -46,6 +46,7 @@
> <module>jaxws-api-2.1</module>
> <module>jbi-api-1.0</module>
> <module>scripting-api-1.0</module>
> + <module>jsr250-1.0</module>
> <module>jsr311-api-0.8</module>
> <module>jsr311-api-1.0</module>
> <module>javamail-api-1.4</module>
>
>
>
--
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com