com.mattunderscore.code.generation.specky:specky-maven-plugin

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.mattunderscore.code.generation.specky
ArtifactId

ArtifactId

specky-maven-plugin
Last Version

Last Version

0.8.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/

Download specky-maven-plugin

How to add to project

<plugin>
    <groupId>com.mattunderscore.code.generation.specky</groupId>
    <artifactId>specky-maven-plugin</artifactId>
    <version>0.8.0</version>
</plugin>

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
com.mattunderscore.code.generation.specky : generator jar 0.8.0
org.apache.maven.shared : file-management jar 3.0.0

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

Project Modules

There are no modules declared in this project.

Specky

Build Status

A generator for value types from a DSL.

####Example Spec

author "Matt Champion"

package com.mattunderscore.readme

type Person "Description of a person."
    properties
        String name "Persons name."
        long birthTimestamp "Timestamp of persons birth."

bean PersonBean : Person "Bean implementation of {@link Person}."

value PersonValue : Person "Value implementation of {@link Person}."
    options
        immutable builder

Provided licence names

Several licences can be included in the generated source code by name.

BSD 3 clause can be included by the names:

  • BSD-3-Clause
  • BSD3Clause
  • BSD3

BSD 2 clause can be included by the names:

  • BSD-2-Clause
  • BSD2Clause
  • BSD2

MIT can be included by the names:

  • MIT

Apache 2 can be included by the names:

  • Apache-2
  • Apache2

GPL 3 can be included by the names:

  • GPL-3
  • GPL3

GPL 2 can be included by the names:

  • GPL-2
  • GPL2

Versions

Version
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0