You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by to...@apache.org on 2010/10/22 09:50:48 UTC

svn commit: r1026231 - in /uima/sandbox/trunk/sandbox-osgi-runtime: ./ cfe/pom.xml pom.xml

Author: tommaso
Date: Fri Oct 22 07:50:48 2010
New Revision: 1026231

URL: http://svn.apache.org/viewvc?rev=1026231&view=rev
Log:
[UIMA-1845] - removed dependency from (wrong) parent for easier POM debug, fixed deploy of CFE in OSGi environment

Modified:
    uima/sandbox/trunk/sandbox-osgi-runtime/   (props changed)
    uima/sandbox/trunk/sandbox-osgi-runtime/cfe/pom.xml
    uima/sandbox/trunk/sandbox-osgi-runtime/pom.xml

Propchange: uima/sandbox/trunk/sandbox-osgi-runtime/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Oct 22 07:50:48 2010
@@ -1 +1,3 @@
 .settings
+
+*.iml

Modified: uima/sandbox/trunk/sandbox-osgi-runtime/cfe/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/sandbox-osgi-runtime/cfe/pom.xml?rev=1026231&r1=1026230&r2=1026231&view=diff
==============================================================================
--- uima/sandbox/trunk/sandbox-osgi-runtime/cfe/pom.xml (original)
+++ uima/sandbox/trunk/sandbox-osgi-runtime/cfe/pom.xml Fri Oct 22 07:50:48 2010
@@ -1,6 +1,6 @@
 <project
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-  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"
+        xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
@@ -79,7 +79,16 @@
       <artifactId>geronimo-stax-api_1.0_spec</artifactId>
       <version>1.0.1</version>
     </dependency>
-
+    <dependency>
+      <groupId>jdom</groupId>
+      <artifactId>jdom</artifactId>
+      <version>1.0</version>
+    </dependency>
+    <dependency>
+      <groupId>xerces</groupId>
+      <artifactId>xercesImpl</artifactId>
+      <version>2.8.1</version>
+    </dependency>
     <dependency>
       <groupId>org.eclipse.emf.ecore</groupId>
       <artifactId>xmi</artifactId>
@@ -121,7 +130,10 @@
         <artifactId>maven-bundle-plugin</artifactId>
         <configuration>
           <instructions>
-            <Export-Package>org.apache.uima.tools.cfe.*</Export-Package>
+            <Import-Package>sun.*;org.jaxen.*;oracle.*;com.sun.*;javax.servlet.*;org.apache.log4j;org.apache.log;org.apache.tools.ant.*;org.eclipse.*;resolution:=optional,*</Import-Package>
+            <Export-Package>org.apache.uima.tools.cfe*</Export-Package>
+            <Embed-Transitive>false</Embed-Transitive>
+            <Embed-Dependency>*;scope=compile</Embed-Dependency>
             <Bundle-SymbolicName>org.apache.uima.tools.cfe;${singleton}</Bundle-SymbolicName>
           </instructions>
         </configuration>

Modified: uima/sandbox/trunk/sandbox-osgi-runtime/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/sandbox-osgi-runtime/pom.xml?rev=1026231&r1=1026230&r2=1026231&view=diff
==============================================================================
--- uima/sandbox/trunk/sandbox-osgi-runtime/pom.xml (original)
+++ uima/sandbox/trunk/sandbox-osgi-runtime/pom.xml Fri Oct 22 07:50:48 2010
@@ -19,11 +19,6 @@
    under the License.
 -->
   <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <artifactId>aggregate-uimaj-eclipse-plugins</artifactId>
-    <groupId>org.apache.uima</groupId>
-    <version>2.3.1-SNAPSHOT</version>
-  </parent>
   <groupId>org.apache.uima</groupId>
   <artifactId>sandbox-osgi-runtime</artifactId>
   <packaging>pom</packaging>
@@ -60,15 +55,13 @@
         <plugin>
           <groupId>org.apache.felix</groupId>
           <artifactId>maven-bundle-plugin</artifactId>
+          <version>2.1.0</version>
+          <extensions>true</extensions>
           <configuration>
             <manifestLocation>META-INF</manifestLocation>
             <instructions>
-              <_nouses>true</_nouses>
-              <Embed-Dependency>*</Embed-Dependency>
-              <Embed-Transitive>true</Embed-Transitive>
+              <Embed-Dependency>*;inline=true</Embed-Dependency>
               <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
-              <Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI>
-              <Eclipse-BuddyPolicy>registered</Eclipse-BuddyPolicy>
             </instructions>
           </configuration>
         </plugin>