2011/1/19 Jörn Kottmann <[email protected]>:
> On 1/19/11 10:48 PM, Olivier Grisel wrote:
>>
>> It would also appreciate it very much if the binary model could be
>> packaged as (versioned) maven artifiacts, maybe one artifact by
>> language and by type of model.
>>
>
> How would then someone get the models ? Via adding
> the model as a dependency to the project ?

Yes.

> The models currently do not have a real version, but they contain
> the opennlp tools version for compatibility checking. Anyway
> adding such a version could be done easily.

You just need to write a very short pom.xml file to build a versioned
jar that holds the model (the .bin.gz file in folder
src/main/resource/opennlp/ for instance). Then you can use mvn deploy
to deploy the jar as usual to a maven repo server when doing the
opennlp release.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

Reply via email to