/cobigen

Code-based Incremental Generator

Primary LanguageJavaApache License 2.0Apache-2.0

CobiGen (Code-based incremental Generator)

https://maven-badges.herokuapp.com/maven-central/com.devonfw.cobigen/cobigen-maven-plugin Build Status

Usage

Installation

Architecture

Repository Organization

The CobiGen repository is organized in a one-branch-per-plugin schema. By that, we can release each plug-in continously and independently without side effects. On release the plug-in branch is merged to master branch such that you will find all the latest releases of each plug-in on the master branch.

Top-level folder Description

cobigen-cli

Contains the cobigen command line interface implementation.

cobigen-eclipse

Contains the cobigen eclipse integration. The implementation of the plug-in is driven in cobigen-eclipse/cobigen-eclipse folder.

cobigen-maven

Contains the maven integration implementation.

cobigen-templates

Contains template sets for different architectures

cobigen

Containts the code implementation of CobiGen

cobigen-plugins

core plug-in implementations

ide-settings

Contains the shared settings processed by the devonfw-ide

Build

bash build.sh (on windows use git bash)

Deploy

CobiGen deployment will be done by CI/CD only. No manual deployment.

Debugging with Maven

To debug Maven builds on any plug-in:

  1. Step into the plug-in and start a console there.

  2. Run mvnDebug clean install, it will output the port the debugger is listening to.

  3. On Eclipse, right click your project → Debug as → Debug Configurations…​

  4. Add a new Remote Java Application that connects on a socket on the port that was outputted by Maven.

  5. Hit debug and have fun!

To debug Maven tests follow this link

Contribute

License

The source code and maven bundles are released under APL 2.0

Eclipse bundles are released with respect to it’s bundled OSS software licenses