From: Marin N. <mar...@on...> - 2010-09-30 12:41:19
|
Hi Julien, Apparently, two of the long list of dependencies of GATE were not available in the public repositories. Testing did not catch this probably because the tester didn't clean his local maven repository when validating the build. We will move net.didion#jwnl and nl.mpi#lookup to repository/public ASAP. However, two other issues remain a mystery. com.sun.tools is the tools.jar in your Sun JDK . It's a <scope>system</> dependency in the POM which means that Maven looks for it in the filesystem. I basically followed the Maven's documentation on dealing with tools.jar - http://maven.apache.org/general.html#tools-jar-dependency . I guess that doesn't suit Ivy. Finally, gate-core should not be affected by the two issues above as all 3 dependencies are marked as optional in its POM. I haven't tested the build with Ivy. Do you know whether Ivy supports the <optional> attribute? I'll try to investigate myself too. Best, Marin > -------- Original Message -------- > Subject: [gate-users] Using GATE with Maven > Date: Thu, 30 Sep 2010 12:54:39 +0100 > From: Julien Nioche <lis...@gm...> > To: gate <gat...@li...> > > > > Hi guys, > > Did anyone managed to use the Maven repository on > http://maven.ontotext.com/archiva/repository/public [see section 2.5.1 > of the user guide]? > > I already use IVY for Behemoth so I added the following to my > ivysettings.xml > > /<ibiblio name="gate-ontototext" > root="http://maven.ontotext.com/archiva/repository/public" > > pattern="[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" > m2compatible="true" />/ > > but am getting the following errors when specifying > > *gate (6.0-snapshot and 5.2.1) */ > > in ivy.xml => <dependency org="gate" name="gate" rev="6.0-SNAPSHOT">/ > > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: net.didion#jwnl;1.3: not found > [ivy:retrieve] :: nl.mpi#lookup;4.0: not found > [ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::* > * > *gate-core ** **(6.0-snapshot and 5.2.1)* > > /ivy.xml => <dependency org="gate" name="gate-core" rev="6.0-SNAPSHOT">/ > > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > [ivy:retrieve] :: com.sun#tools;1.5.0: not found > [ivy:retrieve] :: net.didion#jwnl;1.3: not found > [ivy:retrieve] :: nl.mpi#lookup;4.0: not found > [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > > (Note : this is strange. I'd have expected gate-core to have less > dependencies) > > I tried doing the same with Maven with the config found in the manual > and although gate-core seems to be fine for both 5.2.1 and 6.0* > * > *gate ** (6.0-snapshot and 5.2.1)* > crashes because of missing /net.didion:jwnl:jar:1.3/, probably did not > even try to go any further > > Confusing, isn't it? > > Who looks after the repo @ Ontotext? Marin Nozhchev? > > Thanks, > > Julien > > -- > * > *Open Source Solutions for Text Engineering > > http://digitalpebble.blogspot.com/ > http://www.digitalpebble.com > |