You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2015/06/17 15:32:00 UTC

[jira] [Comment Edited] (OLINGO-694) Refactor samples structure and add tutorials

    [ https://issues.apache.org/jira/browse/OLINGO-694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14589760#comment-14589760 ] 

Michael Bolz edited comment on OLINGO-694 at 6/17/15 1:31 PM:
--------------------------------------------------------------

Sampel pom.xml

{code}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <artifactId>odata-samples</artifactId>
  <packaging>pom</packaging>
  <name>${project.artifactId}</name>

  <parent>
    <groupId>org.apache.olingo</groupId>
    <artifactId>odata-parent</artifactId>
    <version>4.0.0-SNAPSHOT</version>
    <relativePath>..</relativePath>
  </parent>

  <modules>
    <module>server</module>
  </modules>

  <profiles>
    <profile>
      <id>samples</id>
      <modules>
        <module>client</module>
      </modules>
    </profile>
  </profiles>
</project>
{code}


was (Author: mirbo):
Sampel pom.xml

{code}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>

  <artifactId>odata-samples</artifactId>
  <packaging>pom</packaging>
  <name>${project.artifactId}</name>

  <parent>
    <groupId>org.apache.olingo</groupId>
    <artifactId>odata-parent</artifactId>
    <version>4.0.0-SNAPSHOT</version>
    <relativePath>..</relativePath>
  </parent>

  <modules>
    <module>server</module>
  </modules>

  <profiles>
    <profile>
      <id>samples</id>
    </profile>
  </profiles>
</project>
{code}

> Refactor samples structure and add tutorials
> --------------------------------------------
>
>                 Key: OLINGO-694
>                 URL: https://issues.apache.org/jira/browse/OLINGO-694
>             Project: Olingo
>          Issue Type: Task
>          Components: odata4-samples
>    Affects Versions: (Java) V4 4.0.0-beta-03
>            Reporter: Michael Bolz
>            Assignee: Michael Bolz
>            Priority: Minor
>             Fix For: (Java) V4 4.0.0
>
>
> Put samples in Olingo git within the *samples* folder (e.g. _“samples/tutorials/read”; “samples/tutorials/write”; “…”_)
> and *do not include* the samples folder into the project pom for the common build process (e.g. build samples only “on demand / manual” via a maven profile setting -> see example below).
> This is based on [discussion|http://mail-archives.apache.org/mod_mbox/olingo-dev/201505.mbox/%3C8AD22C3C-F806-4FCA-82F4-9DF8B374B4F7%40sap.com%3E] and [decision|http://mail-archives.apache.org/mod_mbox/olingo-dev/201505.mbox/%3CF6085B2A-6582-4AE0-ACC6-E87E3EAD55C5%40sap.com%3E] on Olingo dev mailing list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)