Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-539

New maven archetype for generating a template MetExtractor project

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.4
    • 1.1
    • cas-mvn-plugins
    • None

    Description

      Create a new maven archetype for allowing developers to quickly generate MetExtractor projects on their own.

      The rationale for creating this archetype is to make it simpler and quicker to write new met extractors. Writing new met extractors is pretty easy, but establishing the correct maven directory structure, pom file(s), and build cycle can be tricky. I myself often just replicate the directory structure and pom files from other projects instead of creating/writing new met extractor projects from scratch. This can however lead to human errors and also unwanted code and config. Having an archetype which generates a preferred met extractor-specific maven directory structure, pom files, and template met extractor code would make the job of creating new custom met extractors more consistent and automatic.

      The proposed capability is the following:
      1. New archetype to generate a full maven project for writing custom met extractor(s)
      2. Pre-populate generated project with template MetExtractor(s) which work out-of-the box and make it obvious WHERE developer should add their custom extraction code
      3. Ensure generated project pom allows a build of met extractor project out of the box

      To start out, I would recommend we include an extended CmdLineMetExtractor class which works out-of-the box. We can include more custom met extractors and template code later.

      Attachments

        Activity

          People

            riverma Rishi Verma
            riverma Rishi Verma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: