Compile Switches

Maven plugin to support a certain kind of conditional compilation in Java Maven projects

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

de.renebergelt.maven.plugins
ArtifactId

ArtifactId

compile-switches-maven-plugin
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Compile Switches
Maven plugin to support a certain kind of conditional compilation in Java Maven projects
Project URL

Project URL

https://github.com/renber/compile-switches-maven-plugin
Source Code Management

Source Code Management

https://github.com/renber/compile-switches-maven-plugin

Download compile-switches-maven-plugin

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.5.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.5
org.apache.maven : maven-project jar 2.2.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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>

Versions

Version
1.0.0