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 2010/08/09 17:05:38 UTC

svn commit: r983673 - /uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml

Author: schor
Date: Mon Aug  9 15:05:38 2010
New Revision: 983673

URL: http://svn.apache.org/viewvc?rev=983673&view=rev
Log:
[UIMA-1854] removing executions - not needed, reduce clutter.   Outdent the <Require-Bundle> entries.  Cleanup: Remove negated patterns in the <Import-Package> that don't match anything, to remove those warnings.  Add a negation for org.eclipse.core.runtime that was missing (and is now required with later versions of the Bundle plugin, for it to work properly.)

Modified:
    uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml

Modified: uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml?rev=983673&r1=983672&r2=983673&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml (original)
+++ uima/uima-as/trunk/uimaj-ep-deployeditor/pom.xml Mon Aug  9 15:05:38 2010
@@ -215,101 +215,94 @@
       <plugin>
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>uima-bundle</id>
-            <configuration>
-              <manifestLocation>META-INF</manifestLocation>
-              <instructions>
-                <!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->
-                <_nouses>true</_nouses>
-                <Export-Package>
-                  org.apache.uima.dde.internal,
-                  org.apache.uima.dde.internal.details,
-                  org.apache.uima.dde.internal.hover,
-                  org.apache.uima.dde.internal.page,
-                  org.apache.uima.dde.internal.provider,
-                  org.apache.uima.dde.internal.wizards,
-                  org.apache.uima.editors.dde.internal,
-                  org.apache.uima.tools.images.internal,
-                  org.apache.uima.tools.internal.cde.uima.util,
-                  org.apache.uima.tools.internal.ui.forms,
-                  org.apache.uima.tools.internal.uima.util
-                </Export-Package>
-    
-                <!-- handle split packages in Eclipse.
-                  We do this by using Require-Bundle, and excluding from the Import-Package those
-                    split packages covered by those bundles - this is required by OSGi.
-                                   
-                   There are 4 packages in org.eclipse.jface.* that are "split" between bundles 
-                      org.eclipse.jface.text and org.eclipse.text.
-                     Packages:
-                      org.eclipse.jface.text
-                      org.eclipse.jface.text.link
-                      org.eclipse.jface.text.source
-                      org.eclipse.jface.text.templates 
-                   org.eclipse.ui.texteditor is split between 
-                     org.eclipse.ui.editors and org.eclipse.ui.workbench.texteditor.
-                     Packages: 
-                      org.eclipse.ui.texteditor
-                   There are 5 packages in org.eclipse.ui.*  that are split between 
-                     org.eclipse.ui.ide and org.eclipse.ui.workbench.  
-                     The Notes say not to require org.eclipse.ui.workbench, but instead just require
-                        org.eclipse.ui (which imports and reexports org.eclipse.ui.workbench packages).
-                     Packages:
-                      org.eclipse.ui
-                      org.eclipse.ui.actions
-                      org.eclipse.ui.dialogs
-                      org.eclipse.ui.model
-                      org.eclipse.ui.part
-                   org.eclipse.core.runtime has combined apis (that were split in later 
-                     point releases of 3.x)
-                -->
-                <Require-Bundle>
-                  org.eclipse.jface.text,
-                  org.eclipse.text,
-                  org.eclipse.ui.editors,
-                  org.eclipse.ui.workbench.texteditor,
-                  org.eclipse.ui.ide,
-                  org.eclipse.ui,
-                  org.eclipse.ui.workbench,
-                  org.eclipse.core.runtime
-                </Require-Bundle>
-                <Import-Package>
-                  !org.eclipse.jface.text,
-                  !org.eclipse.jface.text.link,
-                  !org.eclipse.jface.text.source,
-                  !org.eclipse.jface.text.templates,
-                  !org.eclipse.ui.texteditor,
-                  !org.eclipse.ui,
-                  !org.eclipse.ui.actions,
-                  !org.eclipse.ui.dialogs,
-                  !org.eclipse.ui.model,
-                  !org.eclipse.ui.part, 
-                  *,
-                  org.apache.uima.taeconfigurator.editors.ui.dialogs,
-                  org.apache.uima.taeconfigurator.files,
-                  org.apache.uima.application.util
-                </Import-Package>
-    
-                <!--Import-Package>*,
-                  org.eclipse.core.runtime,
-                  org.eclipse.core.runtime.jobs,
-                  org.eclipse.core.commands.common,
-                  org.eclipse.jface.operation,
-                  org.eclipse.jface.window,
-                  org.eclipse.jdt.launching,
-                  org.apache.uima.taeconfigurator.editors.ui.dialogs
-                </Import-Package-->
-    
-                <Bundle-Activator>org.apache.uima.editors.dde.internal.Activator</Bundle-Activator>
-                <Bundle-SymbolicName>org.apache.uima.deployeditor;singleton:=true</Bundle-SymbolicName>
-    
-                <Eclipse-LazyStart>true</Eclipse-LazyStart>
-              </instructions>
-            </configuration>
-          </execution>
-        </executions>
+        <configuration>
+          <manifestLocation>META-INF</manifestLocation>
+          <instructions>
+            <!-- turn off "uses" generation because Eclipse 3.2.x doesn't work with them -->
+            <_nouses>true</_nouses>
+            <Export-Package>
+              org.apache.uima.dde.internal,
+              org.apache.uima.dde.internal.details,
+              org.apache.uima.dde.internal.hover,
+              org.apache.uima.dde.internal.page,
+              org.apache.uima.dde.internal.provider,
+              org.apache.uima.dde.internal.wizards,
+              org.apache.uima.editors.dde.internal,
+              org.apache.uima.tools.images.internal,
+              org.apache.uima.tools.internal.cde.uima.util,
+              org.apache.uima.tools.internal.ui.forms,
+              org.apache.uima.tools.internal.uima.util
+            </Export-Package>
+
+            <!-- handle split packages in Eclipse.
+              We do this by using Require-Bundle, and excluding from the Import-Package those
+                split packages covered by those bundles - this is required by OSGi.
+                               
+               There are 4 packages in org.eclipse.jface.* that are "split" between bundles 
+                  org.eclipse.jface.text and org.eclipse.text.
+                 Packages:
+                  org.eclipse.jface.text
+                  org.eclipse.jface.text.link
+                  org.eclipse.jface.text.source
+                  org.eclipse.jface.text.templates 
+               org.eclipse.ui.texteditor is split between 
+                 org.eclipse.ui.editors and org.eclipse.ui.workbench.texteditor.
+                 Packages: 
+                  org.eclipse.ui.texteditor
+               There are 5 packages in org.eclipse.ui.*  that are split between 
+                 org.eclipse.ui.ide and org.eclipse.ui.workbench.  
+                 The Notes say not to require org.eclipse.ui.workbench, but instead just require
+                    org.eclipse.ui (which imports and reexports org.eclipse.ui.workbench packages).
+                 Packages:
+                  org.eclipse.ui
+                  org.eclipse.ui.actions
+                  org.eclipse.ui.dialogs
+                  org.eclipse.ui.model
+                  org.eclipse.ui.part
+               org.eclipse.core.runtime has combined apis (that were split in later 
+                 point releases of 3.x)
+            -->
+            <!-- NOTE: ANY CONTINUATION LINES for Require-Bundle MUST START IN Col1 else manifest is potentially wrong -->            
+            <Require-Bundle>
+org.eclipse.jface.text,
+org.eclipse.text,
+org.eclipse.ui.editors,
+org.eclipse.ui.workbench.texteditor,
+org.eclipse.ui.ide,
+org.eclipse.ui,
+org.eclipse.ui.workbench,
+org.eclipse.core.runtime
+            </Require-Bundle>
+            <Import-Package>
+              !org.eclipse.jface.text,
+              !org.eclipse.ui.texteditor,
+              !org.eclipse.ui,
+              !org.eclipse.ui.dialogs,
+              !org.eclipse.ui.model,
+              !org.eclipse.ui.part, 
+              !org.eclipse.core.runtime,
+              *,
+              org.apache.uima.taeconfigurator.editors.ui.dialogs,
+              org.apache.uima.taeconfigurator.files,
+              org.apache.uima.application.util
+            </Import-Package>
+
+            <!--Import-Package>*,
+              org.eclipse.core.runtime,
+              org.eclipse.core.runtime.jobs,
+              org.eclipse.core.commands.common,
+              org.eclipse.jface.operation,
+              org.eclipse.jface.window,
+              org.eclipse.jdt.launching,
+              org.apache.uima.taeconfigurator.editors.ui.dialogs
+            </Import-Package-->
+
+            <Bundle-Activator>org.apache.uima.editors.dde.internal.Activator</Bundle-Activator>
+            <Bundle-SymbolicName>org.apache.uima.deployeditor;singleton:=true</Bundle-SymbolicName>
+
+            <Eclipse-LazyStart>true</Eclipse-LazyStart>
+          </instructions>
+        </configuration>
       </plugin>
 
     </plugins>