Post Processor Defaults

A project that provides some predefined implementations of PProcessor which can be executed by the PPPlugin.

License

License

GroupId

GroupId

com.github.randomcodeorg.ppplugin
ArtifactId

ArtifactId

ppdefaults
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Post Processor Defaults
A project that provides some predefined implementations of PProcessor which can be executed by the PPPlugin.
Project URL

Project URL

https://github.com/RandomCodeOrg/PPDefaults
Source Code Management

Source Code Management

https://github.com/RandomCodeOrg/PPPlugin.git

Download ppdefaults

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.randomcodeorg.ppplugin/ppdefaults/ -->
<dependency>
    <groupId>com.github.randomcodeorg.ppplugin</groupId>
    <artifactId>ppdefaults</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.randomcodeorg.ppplugin/ppdefaults/
implementation 'com.github.randomcodeorg.ppplugin:ppdefaults:0.0.3'
// https://jarcasting.com/artifacts/com.github.randomcodeorg.ppplugin/ppdefaults/
implementation ("com.github.randomcodeorg.ppplugin:ppdefaults:0.0.3")
'com.github.randomcodeorg.ppplugin:ppdefaults:jar:0.0.3'
<dependency org="com.github.randomcodeorg.ppplugin" name="ppdefaults" rev="0.0.3">
  <artifact name="ppdefaults" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.randomcodeorg.ppplugin', module='ppdefaults', version='0.0.3')
)
libraryDependencies += "com.github.randomcodeorg.ppplugin" % "ppdefaults" % "0.0.3"
[com.github.randomcodeorg.ppplugin/ppdefaults "0.0.3"]

Dependencies

compile (2)

Group / Artifact Type Version
com.github.randomcodeorg.ppplugin : ppplugin jar 0.2.0
org.javassist : javassist jar 3.20.0-GA

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

PPPlugin License

A maven plugin that executes one or multiple user defined processors that can be used to transform or modify the compilation result.

Getting started

###1. Executing the plugin To run the PPPlugin insert the following snippet into the <build><plugins>-section of your pom.xml:

<plugin>
  <groupId>com.github.randomcodeorg.ppplugin</groupId>
  <artifactId>ppplugin</artifactId>
  <version>0.1.0</version>
  <executions>
    <execution>
    <phase>process-classes</phase>
      <goals>
        <goal>postprocess</goal>
      </goals>
    </execution>
  </executions>
</plugin>

To define a custom processor you also have to include

<dependency>
    <groupId>com.github.randomcodeorg.ppplugin</groupId>
    <artifactId>ppplugin</artifactId>
    <version>0.1.0</version>
</dependency>

in your pom's <dependencies>-section. ###2. Creating a processor The plugin will search the compiled classes for implementations of the PProcessor interface. Every implementation (you want to be executed) must be non-abstract and provide a public default constructor in order to be instantiated.

You may take a look at the PPDefaults project to see some default processor implementations.

com.github.randomcodeorg.ppplugin

Versions

Version
0.0.3
0.0.2
0.0.1