codes.rafael.structuraltype:structural-type-maven-plugin

This project aims to create a structural representation of similar nominal Java classes. A structural type is represented by an interface that contains property accessors for all properties that are defined by those classes. For each class, a projection class is generated that implements that interface for delegation to the nominal classes for which the structure was created. Additionally, a template implementation is created that implements the structural interface as a Java bean.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

codes.rafael.structuraltype
ArtifactId

ArtifactId

structural-type-maven-plugin
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

This project aims to create a structural representation of similar nominal Java classes. A structural type is represented by an interface that contains property accessors for all properties that are defined by those classes. For each class, a projection class is generated that implements that interface for delegation to the nominal classes for which the structure was created. Additionally, a template implementation is created that implements the structural interface as a Java bean.
Source Code Management

Source Code Management

http://github.com/raphw/skatteprosessen-structural-type/tree/master/structural-type-maven-plugin

Download structural-type-maven-plugin

How to add to project

<plugin>
    <groupId>codes.rafael.structuraltype</groupId>
    <artifactId>structural-type-maven-plugin</artifactId>
    <version>1.2</version>
</plugin>

Dependencies

compile (4)

Group / Artifact Type Version
codes.rafael.structuraltype : structural-type-generator jar 1.2
io.github.classgraph : classgraph jar 4.8.134
org.apache.maven : maven-plugin-api jar 3.8.4
org.apache.maven : maven-core jar 3.8.4

provided (1)

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

test (6)

Group / Artifact Type Version
junit : junit jar 4.13.2
org.assertj : assertj-core jar 3.21.0
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 3.3.0
org.apache.maven : maven-aether-provider jar 3.3.9
org.apache.maven : maven-compat jar 3.8.4
org.slf4j : slf4j-simple jar 1.7.32

Project Modules

There are no modules declared in this project.

Versions

Version
1.2
1.1
1.0