Table of Contents

Search

  1. Preface
  2. Introduction to Edge Data Streaming Custom Entity Types
  3. Managing Custom Entity Types
  4. Custom Entities from Maven Archetypes
  5. REST APIs
  6. HTTP Request and Response Parameters
  7. Sample JSON Requests and Responses
  8. Glossary

Developer Guide

Developer Guide

Step 5: Create a Maven Project

Step 5: Create a Maven Project

Create a Maven project to use the archetypes.
  1. On the Eclipse Workbench window, click
    File
    and select
    New
    Maven Project
    .
    The
    Select project name and location
    page of the
    New Maven Project
    wizard appears.
    The following image shows the
    New Maven Project
    wizard:
    The image shows the New Maven project wizard with Use default Workspace location selected.
    Do not select
    Create a simple project (skip archetype selection)
    .
  2. Click
    Next
    .
    The
    Select an Archetype
    page appears.
  3. Select
    Local <USER_HOME>/.m2/archetype-catalog.xml
    from the
    Catalog
    list.
  4. Filter the archetypes using keyword
    vds
    because the Artifact ID of the EDS archetypes begin with
    vds
    .
  5. Select the archetype from the list.
    The following image shows the
    vds-template-source-archetype
    archetype selection:
    The image shows the Select an Archetype page. The Catalog field has the value Local Archetype Catalog. The Filter has the value vds.
  6. Click
    Next
    .
    The
    Specify Archetype parameters
    page appears.
  7. Enter the following values:
    Field
    Value
    Group Id
    Group ID that identifies the project.
    Example:
    com.mycompany.vds.sources
    Artifact Id
    Name of the jar file without the version.
    Example:
    sample-vds-source
    Version
    Version number of the artifact.
    Example:
    1.0
    Package
    Name of Java package where the source service, target service, and transformation classes are created.
    Example:
    com.mycompany.vds.sources
    The following image shows the
    Archetype parameters
    :
    The image shows the Archetype parameters page with paramters specified.
  8. Click
    Finish
    .
    To view the progress of the background operations, click
    Progress
    view.
    The
    sample-vds-source project
    is created under your current workspace.
    The following image shows the sample project:
    The image shows the Project Explorer with the sample project created under the workspace.

0 COMMENTS

We’d like to hear from you!