rionda / compile-switches-maven-plugin

A maven plugin which generates a java class containing static final boolean fields which can be used for conditional compilation in Java.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile-switches-maven-plugin

Maven plugin to support some kind of conditional compilation in Java Maven projects

Please see this blog post on how this works and how it can be used in a project.

How to use

The plugin is available on maven central to be included in your project's pom file:

<dependency>
  <groupId>de.renebergelt.maven.plugins</groupId>
  <artifactId>compile-switches-maven-plugin</artifactId>
  <version>1.0.0</version>
  <type>maven-plugin</type>
</dependency>

About

A maven plugin which generates a java class containing static final boolean fields which can be used for conditional compilation in Java.

License:MIT License


Languages

Language:Java 100.0%