Mojo's AspectJ Maven Plugin - NickWongDev Fork

Handles AspectJ usage within Maven. Functionality provided is: weaving of aspects (or existing aspects from libraries) with the test and/or main classes, weaving of pre-existing jars and ajdoc reporting.

License

License

Categories

Categories

Maven Build Tools AspectJ Development Tools Development Libraries
GroupId

GroupId

com.nickwongdev
ArtifactId

ArtifactId

aspectj-maven-plugin
Last Version

Last Version

1.12.6
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

Mojo's AspectJ Maven Plugin - NickWongDev Fork
Handles AspectJ usage within Maven. Functionality provided is: weaving of aspects (or existing aspects from libraries) with the test and/or main classes, weaving of pre-existing jars and ajdoc reporting.
Project Organization

Project Organization

MojoHaus
Source Code Management

Source Code Management

https://github.com/nickwongdev/aspectj-maven-plugin

Download aspectj-maven-plugin

How to add to project

<plugin>
    <groupId>com.nickwongdev</groupId>
    <artifactId>aspectj-maven-plugin</artifactId>
    <version>1.12.6</version>
</plugin>

Dependencies

compile (8)

Group / Artifact Type Version
org.codehaus.plexus : plexus-utils jar 3.1.0
org.apache.maven.reporting : maven-reporting-api jar 3.0
org.apache.maven : maven-plugin-api jar 3.0.5
org.apache.maven : maven-compat jar 3.0.5
org.apache.maven.doxia : doxia-sink-api jar 1.8
org.apache.maven.doxia : doxia-site-renderer jar 1.8
org.apache.maven.reporting : maven-reporting-impl jar 2.4
org.aspectj : aspectjtools jar 1.9.5

provided (3)

Group / Artifact Type Version
org.apache.maven : maven-core jar 3.0.5
org.apache.maven : maven-model jar 3.0.5
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.4

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.apache.maven.plugin-testing : maven-plugin-testing-harness jar 2.1

Project Modules

There are no modules declared in this project.

This is a fork of the aspectj-maven-plugin that has Java 11 support.

Mojohaus AspectJ-Maven-Plugin

This plugin weaves AspectJ aspects into your classes using the AspectJ compiler ("ajc"). Typically, aspects are used in one of two ways within your Maven reactors:

  • As part of a Single Project, implying aspects and code are defined within the same Maven project. This is the simplest approach to start out with; feel free to examine the "Examples: Single-project AspectJ use" to better understand single-project use.

  • As part of a Multi-module Maven Reactor where one/some project(s) contains aspects and other projects within the Maven reactor contain code using the aspects ("woven by the aspects"). This is a more complex and powerful approach, best suited when several Maven projects should be woven by a common set of aspects. The "Examples: Multi-module AspectJ use" contains a basic walkthrough of this approach.

Plugin documentation - available shortly

Versions

Version
1.12.6
1.12.1