LegStar Core Maven Plugin

Produces XML Schemas and java classes for a set of COBOL copybooks

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.legsem.legstar
ArtifactId

ArtifactId

legstar-maven-plugin
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

LegStar Core Maven Plugin
Produces XML Schemas and java classes for a set of COBOL copybooks
Project Organization

Project Organization

LegSem

Download legstar-maven-plugin

How to add to project

<plugin>
    <groupId>com.legsem.legstar</groupId>
    <artifactId>legstar-maven-plugin</artifactId>
    <version>2.1.0</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
com.legsem.legstar : legstar-base-generator jar 2.1.0
com.legsem.legstar : legstar-jaxb-generator jar 2.1.0
commons-io : commons-io jar 2.7
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-log4j12 jar 1.7.30

provided (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0
org.apache.maven : maven-core jar 3.6.3

test (3)

Group / Artifact Type Version
junit : junit jar 4.13.2
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-compat jar 3.6.3

Project Modules

There are no modules declared in this project.

legstar core V2

A COBOL to Java conversion framework.

A new take on the original legstar project

Objectives

  • Provide conversion capabilities for data described by COBOL copybooks

  • Provide a faster alternative to legstar for use cases that require massive conversions (Hadoop, ETL, ...)

  • Provide a simpler API than legstar, using java generics, explicit thread safety and use Builder pattern/Fluent interfaces

  • Extract out dependency on JAXB. While still supporting JAXB, the API should be usable in environments that has no JAXB at all

  • Provide a validation API that allows checking preemptively that host data is compatible with a given COBOL copybook

Non objectives

  • Backward compatibility with legstar. The API V2 is not compatible.

  • Complete functional equivalence to legstar. Rarely used legstar features will not be ported to V2.

  • Recognizes the IBM COBOL for z/OS syntax only. It may or may not work for other COBOL compilers.

Requirements

  • Java JDK 6 and above (It is important that this is a JDK not a simple JRE)

  • Maven 3 (If you build from sources)

  • Ant 1.9.x (To run samples)

Build from sources

  1. Clone the GIT repository

  2. From a command window, while located in the folder where you cloned the repo, type:

mvn clean install

Run the base sample

If you built the project from sources, you will find the distribution zip file under legstar-core2/legstar-base-generator/target.

Otherwise you can get the latest released zip here.

Unzip the zip file in a location of your choice.

Go to the samples folder and type:

ant

Run the JAXB sample

If you built the project from sources, you will find the distribution zip file under legstar-core2/legstar-jaxb-generator/target.

Otherwise you can get the latest released zip here.

Unzip the zip file in a location of your choice.

Go to the samples folder and type:

ant

Versions

Version
2.1.0
2.0.4