Revision: 20239
          http://sourceforge.net/p/gate/code/20239
Author:   ian_roberts
Date:     2017-06-23 16:32:55 +0000 (Fri, 23 Jun 2017)
Log Message:
-----------
Now we have dependencies that aren't just gate-core, we need to use Ivy in 
creole.xml to resolve them.  But then we don't want a dependency from Ivy on 
gate-core as it's already there when running as a plugin.  So created a 
separate Ivy file for this purpose which excludes gate-core and the other 
dependencies we know we already have.

Modified Paths:
--------------
    mimir/trunk/mimir-client/creole.xml.template

Added Paths:
-----------
    mimir/trunk/mimir-client/build/ivy-plugin.xml

Copied: mimir/trunk/mimir-client/build/ivy-plugin.xml (from rev 20238, 
mimir/trunk/mimir-client/build/ivy.xml)
===================================================================
--- mimir/trunk/mimir-client/build/ivy-plugin.xml                               
(rev 0)
+++ mimir/trunk/mimir-client/build/ivy-plugin.xml       2017-06-23 16:32:55 UTC 
(rev 20239)
@@ -0,0 +1,30 @@
+<ivy-module version="2.0">
+
+  <info
+    organisation="uk.ac.gate"
+    module="mimir-client"
+    revision="5.5-SNAPSHOT">
+    <description homepage="http://gate.ac.uk/mimir"; />
+  </info>
+
+  <configurations>
+    <conf name="default" />
+  </configurations>
+
+  <publications>
+    <artifact type="pom" ext="pom" conf="default" />
+    <artifact type="jar" ext="jar" conf="default" />
+  </publications>
+
+  <dependencies defaultconf="*->master(default),runtime(default)" >
+    <dependency name="mimir-core" org="uk.ac.gate" rev="5.5-SNAPSHOT">
+      <!-- Exclude the transitive dependency on gate-core when running as a
+      GATE plugin -->
+      <exclude org="uk.ac.gate" module="gate-core" />
+      <exclude org="org.apache.tika" name="tika-core" />
+      <exclude org="org.apache.tika" name="tika-parsers" />
+    </dependency>
+    <dependency org="org.apache.httpcomponents" name="httpcore" rev="4.4.6"/>
+    <dependency org="org.apache.httpcomponents" name="httpclient" rev="4.5.3"/>
+  </dependencies>
+</ivy-module>

Modified: mimir/trunk/mimir-client/creole.xml.template
===================================================================
--- mimir/trunk/mimir-client/creole.xml.template        2017-06-20 14:04:08 UTC 
(rev 20238)
+++ mimir/trunk/mimir-client/creole.xml.template        2017-06-23 16:32:55 UTC 
(rev 20239)
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <CREOLE-DIRECTORY>
   <JAR scan="true">@jar@</JAR>
+  <IVY>build/ivy-plugin.xml</IVY>
 </CREOLE-DIRECTORY>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to