You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Richard Eckart de Castilho <ec...@tk.informatik.tu-darmstadt.de> on 2011/08/03 16:23:52 UTC

Re: binary builds in addons

>>> For uploading to Maven repository: the main Jar is uploaded, the source-release
>>> is uploaded, and it would seem to make sense to upload the PEAR and the OSGi
>>> zips, too. So the only thing not uploaded would be the single-project zip/tar.
>> Why would the PEARs go into Maven? As far as I know, it's not possible to add them as a dependency and use them in a Java project?
> 
> Thinking off the top of my head (so this may be a little off ...).
> 
> You can use various maven plugins to "access" the PEAR artifact, and have a
> build which "downloads" a particular version from a maven repo and "installs" it
> on the local machine, after which it could be added to a pipeline, etc.
> 
> This has also been discussed somewhat here:
> http://uima.markmail.org/thread/ijq7adeiic6hpfta

Sure, you can use Maven to resolve a GAV to a PEAR artifact and then install that. But the point is that you have to install it - it cannot work out-of-the-box. I think having the PEARs on Maven Central causes more confusion than it does good when people start searching for UIMA artifacts, e.g. using tooling like m2eclipse. On the other hand, I doubt that any serious build process would download PEARs and install them - a deploy process might.

Unless somebody steps forward with a use-case in which PEARs are really resolved from a Maven Repository, I'd opt against uploading PEARs.

Cheers,

Richard

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckartde@tk.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 





Re: binary builds in addons

Posted by Richard Eckart de Castilho <ec...@tk.informatik.tu-darmstadt.de>.
>> Unless somebody steps forward with a use-case in which PEARs are really resolved from a Maven Repository, I'd opt against uploading PEARs.
> 
> Hmmm, not uploading PEARs would break users who are using the technique
> described in the above thread (
> 
> http://uima.markmail.org/thread/ijq7adeiic6hpfta )  which seems might be worse than the confusion.

Maybe we could ask Greg if he actually did end up using the approach hinted at in this thread. If I understand the progress of the thread correctly, Greg wanted a zero-install approach and the discussion drifted towards OSGi after that. I can't see that the idea of downloading PEARs from a Maven Repository ended up in a success story.

-- Richard

-- 
------------------------------------------------------------------- 
Richard Eckart de Castilho
Technical Lead
Ubiquitous Knowledge Processing Lab 
FB 20 Computer Science Department      
Technische Universität Darmstadt 
Hochschulstr. 10, D-64289 Darmstadt, Germany 
phone [+49] (0)6151 16-7477, fax -5455, room S2/02/B117
eckartde@tk.informatik.tu-darmstadt.de 
www.ukp.tu-darmstadt.de 
Web Research at TU Darmstadt (WeRC) www.werc.tu-darmstadt.de
------------------------------------------------------------------- 





Re: binary builds in addons

Posted by Marshall Schor <ms...@schor.com>.

On 8/3/2011 10:23 AM, Richard Eckart de Castilho wrote:
>>>> For uploading to Maven repository: the main Jar is uploaded, the source-release
>>>> is uploaded, and it would seem to make sense to upload the PEAR and the OSGi
>>>> zips, too. So the only thing not uploaded would be the single-project zip/tar.
>>> Why would the PEARs go into Maven? As far as I know, it's not possible to add them as a dependency and use them in a Java project?
>> Thinking off the top of my head (so this may be a little off ...).
>>
>> You can use various maven plugins to "access" the PEAR artifact, and have a
>> build which "downloads" a particular version from a maven repo and "installs" it
>> on the local machine, after which it could be added to a pipeline, etc.
>>
>> This has also been discussed somewhat here:
>> http://uima.markmail.org/thread/ijq7adeiic6hpfta
> Sure, you can use Maven to resolve a GAV to a PEAR artifact and then install that. But the point is that you have to install it - it cannot work out-of-the-box. I think having the PEARs on Maven Central causes more confusion than it does good when people start searching for UIMA artifacts, e.g. using tooling like m2eclipse. On the other hand, I doubt that any serious build process would download PEARs and install them - a deploy process might.
>
> Unless somebody steps forward with a use-case in which PEARs are really resolved from a Maven Repository, I'd opt against uploading PEARs.

Hmmm, not uploading PEARs would break users who are using the technique
described in the above thread (

http://uima.markmail.org/thread/ijq7adeiic6hpfta )  which seems might be worse than the confusion.

-Marshall

<http://uima.markmail.org/thread/ijq7adeiic6hpfta>

>
> Cheers,
>
> Richard
>