You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@opennlp.apache.org by Daniel Mouritsen <da...@gmail.com> on 2012/08/02 17:31:19 UTC

maven dependency error

adding a dependency to opennlp-tools gives me error about a missing
dependency for jwnl 1.3.3 , its not on repo1.maven.org. Two questions,

I've googled around and found a jwnl-1.3.3 jar, and I could install this
into my local maven repo manually. But it made me wonder if there might be
other dependencies that I would be lacking further down the road, and the
whole reason I use maven is so that I don't need to worry about these
things really :P

So my question is, does some opennlp specific maven repo exist which I
should add? (and if so, shouldn't this be put on the opennlp page? instead
of underlining that everything is on repo1.maven.org? ;P )

Re: maven dependency error

Posted by Lance Norskog <go...@gmail.com>.
I had to get this from sourceforge. The maven repos have a different
version, "1.4_rc3". The base Opennlp tools will run with this version
of the jar; they do not actually use the methods. Apparently, jwnl is
only used in the new 'coreference' package. I do not know if the jwnl
library is backwards-compatible. You would have to run the Coref code
to find out.

Jörn Kottmann is the coref dude.

On Sat, Aug 4, 2012 at 9:50 PM, William Colen <wi...@gmail.com> wrote:
> Hi, Daniel,
>
> I could not reproduce the issue, even after deleting my local Maven
> repository. Maybe it is something in particular with your build?
>
> The library jwnl is in our old repository located at SourceForge:
> http://opennlp.sourceforge.net/maven2
>
> but I think Maven should download it for you because the repository
> location is declared at opennlp-tools/pom.xml. Maybe the SF repo was
> offline while you tried building your project.
>
> Regards
> William
>
> On Thu, Aug 2, 2012 at 12:31 PM, Daniel Mouritsen <
> daniel.mouritsen@gmail.com> wrote:
>
>> adding a dependency to opennlp-tools gives me error about a missing
>> dependency for jwnl 1.3.3 , its not on repo1.maven.org. Two questions,
>>
>> I've googled around and found a jwnl-1.3.3 jar, and I could install this
>> into my local maven repo manually. But it made me wonder if there might be
>> other dependencies that I would be lacking further down the road, and the
>> whole reason I use maven is so that I don't need to worry about these
>> things really :P
>>
>> So my question is, does some opennlp specific maven repo exist which I
>> should add? (and if so, shouldn't this be put on the opennlp page? instead
>> of underlining that everything is on repo1.maven.org? ;P )
>>



-- 
Lance Norskog
goksron@gmail.com

Re: maven dependency error

Posted by William Colen <wi...@gmail.com>.
Hi, Daniel,

I could not reproduce the issue, even after deleting my local Maven
repository. Maybe it is something in particular with your build?

The library jwnl is in our old repository located at SourceForge:
http://opennlp.sourceforge.net/maven2

but I think Maven should download it for you because the repository
location is declared at opennlp-tools/pom.xml. Maybe the SF repo was
offline while you tried building your project.

Regards
William

On Thu, Aug 2, 2012 at 12:31 PM, Daniel Mouritsen <
daniel.mouritsen@gmail.com> wrote:

> adding a dependency to opennlp-tools gives me error about a missing
> dependency for jwnl 1.3.3 , its not on repo1.maven.org. Two questions,
>
> I've googled around and found a jwnl-1.3.3 jar, and I could install this
> into my local maven repo manually. But it made me wonder if there might be
> other dependencies that I would be lacking further down the road, and the
> whole reason I use maven is so that I don't need to worry about these
> things really :P
>
> So my question is, does some opennlp specific maven repo exist which I
> should add? (and if so, shouldn't this be put on the opennlp page? instead
> of underlining that everything is on repo1.maven.org? ;P )
>