You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2011/01/18 17:02:19 UTC
svn commit: r1060429 - /uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml
Author: schor
Date: Tue Jan 18 16:02:19 2011
New Revision: 1060429
URL: http://svn.apache.org/viewvc?rev=1060429&view=rev
Log:
[UIMA-2007] Fix uima-as-osgi packaging.
Modified:
uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml
Modified: uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml?rev=1060429&r1=1060428&r2=1060429&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml (original)
+++ uima/uima-as/trunk/uimaj-as-osgi-runtime/pom.xml Tue Jan 18 16:02:19 2011
@@ -1,183 +1,198 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- 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.
--->
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
<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">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.uima</groupId>
- <artifactId>uima-as-parent</artifactId>
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uima-as-parent</artifactId>
<version>2.3.2-SNAPSHOT</version>
- <relativePath>../uima-as-parent/pom.xml</relativePath>
- </parent>
-
- <artifactId>uimaj-as-osgi-runtime</artifactId>
- <packaging>jar</packaging>
+ <relativePath>../uima-as-parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>uimaj-as-osgi-runtime</artifactId>
+ <packaging>jar</packaging>
<version>2.3.2-SNAPSHOT</version>
- <name>UIMA AS: ${project.artifactId}</name>
- <description>Apache UIMA AS runtime code packaged for osgi use</description>
- <url>${uimaWebsiteUrl}</url>
-
- <!-- Special inheritance note
- even though the <scm> element that follows is exactly the
- same as those in super poms, it cannot be inherited because
- there is some special code that computes the connection elements
- from the chain of parent poms, if this is omitted.
-
- Keeping this a bit factored allows cutting/pasting the <scm>
- element, and just changing the following two properties -->
- <scm>
- <connection>
+ <name>UIMA AS: ${project.artifactId}</name>
+ <description>Apache UIMA AS runtime code packaged for osgi use</description>
+ <url>${uimaWebsiteUrl}</url>
+
+ <!-- Special inheritance note
+ even though the <scm> element that follows is exactly the
+ same as those in super poms, it cannot be inherited because
+ there is some special code that incorrectly computes the
+ connection elements from the chain of parent poms, if this is omitted.
+
+ Keeping this a bit factored allows cutting/pasting the <scm>
+ element, and just changing the following two properties -->
+ <scm>
+ <connection>
scm:svn:http://svn.apache.org/repos/asf/uima/uima-as/trunk/uimaj-as-osgi-runtime
- </connection>
- <developerConnection>
+ </connection>
+ <developerConnection>
scm:svn:https://svn.apache.org/repos/asf/uima/uima-as/trunk/uimaj-as-osgi-runtime
- </developerConnection>
- <url>
+ </developerConnection>
+ <url>
http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-osgi-runtime
- </url>
- </scm>
-
- <properties>
- <uimaScmProject>${project.artifactId}</uimaScmProject>
- </properties>
-
- <!-- These dependencies should just be all the jars that
- need to be included in the library plugin -->
- <dependencies>
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-core</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-cpe</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-tools</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-examples</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-adapter-vinci</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>jVinci</artifactId>
- <version>${uimajDependencyVersion}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-as-core</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-as-jms</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
- <groupId>org.apache.uima</groupId>
- <artifactId>uimaj-as-activemq</artifactId>
- <version>${project.version}</version>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>org.apache.uima.runtime.uimaas_${parsedVersion.osgiVersion}</finalName>
-
- <plugins>
+ </url>
+ </scm>
+
+ <properties>
+ <uimaScmProject>${project.artifactId}</uimaScmProject>
+ </properties>
+
+ <!-- These dependencies should just be all the jars that
+ need to be included in the library plugin -->
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-core</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-cpe</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-tools</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-examples</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-adapter-vinci</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>jVinci</artifactId>
+ <version>${uimajDependencyVersion}</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-as-core</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-as-jms</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.uima</groupId>
+ <artifactId>uimaj-as-activemq</artifactId>
+ <version>${project.version}</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <finalName>org.apache.uima.runtime.uimaas_${parsedVersion.osgiVersion}</finalName>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>uima-bundle</id>
+ <configuration>
+ <instructions>
+ <!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->
+ <_nouses>true</_nouses>
+ <!-- export contents because we don't want the actual
+ java code included (although we could... as an
+ alternative to the jars - but might have a
+ versioning / control issue -->
+ <_exportcontents>org.apache.uima.aae,org.apache.uima.aae.client,
+ org.apache.uima.aae.controller,
+ org.apache.uima.aae.delegate,
+ org.apache.uima.aae.deploymentDescriptor,
+ org.apache.uima.aae.error,
+ org.apache.uima.aae.error.handler,
+ org.apache.uima.aae.handler,
+ org.apache.uima.aae.handler.input,
+ org.apache.uima.aae.jms_adapter,
+ org.apache.uima.aae.jmx,org.apache.uima.aae.jmx.monitor,
+ org.apache.uima.aae.message,
+ org.apache.uima.aae.monitor,
+ org.apache.uima.aae.monitor.statistics,
+ org.apache.uima.aae.spi.transport,
+ org.apache.uima.aae.spi.transport.vm,
+ org.apache.uima.adapter.jms,
+ org.apache.uima.adapter.jms.activemq,
+ org.apache.uima.adapter.jms.client,
+ org.apache.uima.adapter.jms.message,
+ org.apache.uima.adapter.jms.service,
+ org.apache.uima.examples.as,
+ org.apache.uima.jms.error.handler
+ </_exportcontents>
+
+ <Import-Package>org.apache.log4j;resolution:=optional,*
+ </Import-Package>
+ <Embed-Dependency>*;scope=compile;inline=true</Embed-Dependency>
+ <Bundle-SymbolicName>org.apache.uima.runtime.fragments.uimaas;singleton:=true</Bundle-SymbolicName>
+ <Fragment-Host>org.apache.uima.runtime</Fragment-Host>
+ <Eclipse-RegisterBuddy>org.apache.uima.runtime</Eclipse-RegisterBuddy>
+ </instructions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
+ <artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
- <id>uima-bundle</id>
+ <id>unpackDependentJars</id>
+ <goals><goal>unpack-dependencies</goal></goals>
<configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->
- <_nouses>true</_nouses>
- <!-- export contents because we don't want the actual
- java code included (although we could... as an
- alternative to the jars - but might have a
- versioning / control issue -->
- <_exportcontents>org.apache.uima.aae,org.apache.uima.aae.client,
- org.apache.uima.aae.controller,
- org.apache.uima.aae.delegate,
- org.apache.uima.aae.deploymentDescriptor,
- org.apache.uima.aae.error,
- org.apache.uima.aae.error.handler,
- org.apache.uima.aae.handler,
- org.apache.uima.aae.handler.input,
- org.apache.uima.aae.jms_adapter,
- org.apache.uima.aae.jmx,org.apache.uima.aae.jmx.monitor,
- org.apache.uima.aae.message,
- org.apache.uima.aae.monitor,
- org.apache.uima.aae.monitor.statistics,
- org.apache.uima.aae.spi.transport,
- org.apache.uima.aae.spi.transport.vm,
- org.apache.uima.adapter.jms,
- org.apache.uima.adapter.jms.activemq,
- org.apache.uima.adapter.jms.client,
- org.apache.uima.adapter.jms.message,
- org.apache.uima.adapter.jms.service,
- org.apache.uima.examples.as,
- org.apache.uima.jms.error.handler
- </_exportcontents>
-
- <Import-Package>org.apache.log4j;resolution:=optional,*
- </Import-Package>
- <Embed-Dependency>*;scope=compile;inline=true</Embed-Dependency>
- <Fragement-Host>org.apache.uima.runtime</Fragement-Host>
- <Eclipse-RegisterBuddy>org.apache.uima.runtime</Eclipse-RegisterBuddy>
- </instructions>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <excludeTransitive>true</excludeTransitive>
+ <includeArtifactIds>uimaj-as-core,uimaj-as-jms,uimaj-as-activemq</includeArtifactIds>
</configuration>
</execution>
</executions>
- </plugin>
- </plugins>
- </build>
+ </plugin>
+ </plugins>
+ </build>
</project>
\ No newline at end of file