You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Stephan Klevenz (JIRA)" <ji...@apache.org> on 2013/10/25 14:31:34 UTC

[jira] [Closed] (OLINGO-29) Avoid server only inclusions for client side code

     [ https://issues.apache.org/jira/browse/OLINGO-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephan Klevenz closed OLINGO-29.
---------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 1.1.0)

Keep workaround for OData2. Consider for later release e.g. OData4. 

> Avoid server only inclusions for client side code
> -------------------------------------------------
>
>                 Key: OLINGO-29
>                 URL: https://issues.apache.org/jira/browse/OLINGO-29
>             Project: Olingo
>          Issue Type: Improvement
>          Components: odata2-core
>    Affects Versions: 0.0.0
>            Reporter: Stephan Klevenz
>            Assignee: Stephan Klevenz
>
> The odata-code module has currently a dependency to CXF and HTTP Servlet API which is not necessarily wanted for a client implementation.
> As workaround a client app can exclude CXF from the odata-core dependency: 
>         <dependency>
>             <groupId>com.sap.core.odata</groupId>
>             <artifactId>com.sap.core.odata.core</artifactId>
>             <version>${version.sap.odata}</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>org.apache.cxf</groupId>
>                     <artifactId>cxf-rt-frontend-jaxrs</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
> A better solution would be to have a server only module that collects all server side dependencies:
> module dependencies | purpose             | intended use
> -------------------------------------------------------------
> api                 | no dependencies     | server and client
> core                | gson, commons-codec | server and client
> core-server         | servlet, jax-rs     | only server 



--
This message was sent by Atlassian JIRA
(v6.1#6144)