You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Jakub Liska <li...@gmail.com> on 2011/03/22 20:52:14 UTC
server-bindings as war package
Hey,
I'm wondering how should be chemistry-opencmis-server-bindings and
chemistry-opencmis-server-jcr used in Local binding scenario.
We already implemented AtomPub and WS client, but we would also want
to be able to connect a JCR repository via Local binding, within a JVM
process.
Afaik we just need to set up cmis session with JcrServiceFactory. But
there is only war packaging of the maven artifact, not jar, so that we
cannot include it as maven dependency. It's like if the
chemistry-opencmis-server-jcr wasn't designated for local binding as
it is for atomPub & WS.
Re: server-bindings as war package
Posted by Michael Dürig <md...@adobe.com>.
Jakub,
Yes I guess that should work. I never tested local bindings though, only
AtomPub.
Michael
On 22.3.11 21:29, Jakub Liska wrote:
> Thank you Micheal,
>
> if you were willing to check this proposition out, I'd really
> appreciate that. If there isn't a problem that I don't see. Liferay
> team just implemented CMIS support for connecting third party
> repositories into LR document library.
>
> And I proposed this :
> http://www.liferay.com/community/forums/-/message_boards/message/7972853
>
>
> King regards, Jakub
>
> On Tue, Mar 22, 2011 at 9:00 PM, Michael Dürig<md...@apache.org> wrote:
>> Hi,
>>
>> You can use the classes classifier if you need a dependency to
>> chemistry-opencmis-server-jcr:
>>
>> <dependency>
>> <groupId>org.apache.chemistry.opencmis</groupId>
>> <artifactId>chemistry-opencmis-server-jcr</artifactId>
>> <classifier>classes</classifier>
>> </dependency>
>>
>> Michael
>>
>> On 22.3.11 20:52, Jakub Liska wrote:
>>>
>>> Hey,
>>>
>>> I'm wondering how should be chemistry-opencmis-server-bindings and
>>> chemistry-opencmis-server-jcr used in Local binding scenario.
>>>
>>> We already implemented AtomPub and WS client, but we would also want
>>> to be able to connect a JCR repository via Local binding, within a JVM
>>> process.
>>>
>>> Afaik we just need to set up cmis session with JcrServiceFactory. But
>>> there is only war packaging of the maven artifact, not jar, so that we
>>> cannot include it as maven dependency. It's like if the
>>> chemistry-opencmis-server-jcr wasn't designated for local binding as
>>> it is for atomPub& WS.
>>
Re: server-bindings as war package
Posted by Jakub Liska <li...@gmail.com>.
Thank you Micheal,
if you were willing to check this proposition out, I'd really
appreciate that. If there isn't a problem that I don't see. Liferay
team just implemented CMIS support for connecting third party
repositories into LR document library.
And I proposed this :
http://www.liferay.com/community/forums/-/message_boards/message/7972853
King regards, Jakub
On Tue, Mar 22, 2011 at 9:00 PM, Michael Dürig <md...@apache.org> wrote:
> Hi,
>
> You can use the classes classifier if you need a dependency to
> chemistry-opencmis-server-jcr:
>
> <dependency>
> <groupId>org.apache.chemistry.opencmis</groupId>
> <artifactId>chemistry-opencmis-server-jcr</artifactId>
> <classifier>classes</classifier>
> </dependency>
>
> Michael
>
> On 22.3.11 20:52, Jakub Liska wrote:
>>
>> Hey,
>>
>> I'm wondering how should be chemistry-opencmis-server-bindings and
>> chemistry-opencmis-server-jcr used in Local binding scenario.
>>
>> We already implemented AtomPub and WS client, but we would also want
>> to be able to connect a JCR repository via Local binding, within a JVM
>> process.
>>
>> Afaik we just need to set up cmis session with JcrServiceFactory. But
>> there is only war packaging of the maven artifact, not jar, so that we
>> cannot include it as maven dependency. It's like if the
>> chemistry-opencmis-server-jcr wasn't designated for local binding as
>> it is for atomPub& WS.
>
Re: server-bindings as war package
Posted by Michael Dürig <md...@apache.org>.
Hi,
You can use the classes classifier if you need a dependency to
chemistry-opencmis-server-jcr:
<dependency>
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-server-jcr</artifactId>
<classifier>classes</classifier>
</dependency>
Michael
On 22.3.11 20:52, Jakub Liska wrote:
> Hey,
>
> I'm wondering how should be chemistry-opencmis-server-bindings and
> chemistry-opencmis-server-jcr used in Local binding scenario.
>
> We already implemented AtomPub and WS client, but we would also want
> to be able to connect a JCR repository via Local binding, within a JVM
> process.
>
> Afaik we just need to set up cmis session with JcrServiceFactory. But
> there is only war packaging of the maven artifact, not jar, so that we
> cannot include it as maven dependency. It's like if the
> chemistry-opencmis-server-jcr wasn't designated for local binding as
> it is for atomPub& WS.