An open API service indexing awesome lists of open source software.

https://github.com/abertschi/aspectj-archive-maven-plugin

Compile-time weave complete Java EARs or WARs
https://github.com/abertschi/aspectj-archive-maven-plugin

Last synced: about 2 months ago
JSON representation

Compile-time weave complete Java EARs or WARs

Awesome Lists containing this project

README

        

# aspectj-archive-maven-plugin

> Compile-time weave (CTW) your Java EARs and WARs

This is a simple wrapper around the `aspecj-maven-plugin` by `org.codehaus.mojo`
that is capable of compile-time-weaving (CTW) complete EARs or WARs.

## Usage
Add the artifact below to your plugin section.

```xml

ch.abertschi
aspectj-archive-maven-plugin
0.0.1-SNAPSHOT

```

## Goal archive-weave
The goal `archive-weave` imports an existing EAR or WAR
and applies compile-time-weaving on every specified `weaveDependency`
using the given `aspectLibraries`. The output is a new archive
containing the `weaveDependencies` replaced by their new compile-time-weaved equivalents.

```xml

ch.abertschi
aspectj-archive-maven-plugin
0.0.1-SNAPSHOT



package

archive-weave




../other-maven-module/my-production-artifact.ear


com.my.company
my-apsects




com.my.compay
lib-to-weave-with-aspects


```

### Configuration
For configurations that are not listed here shall the plugin documentation of
the `aspecj-maven-plugin` by `org.codehaus.mojo` be considered.

#### archiveImport

Source artifact to import, type EAR or WAR.

#### archiveExport

Export artifact containing the weaved dependencies.

#### mavenConf

Location of the maven settings.xml

## Restriction
This Mojo requires Maven >= 3.1

## License
This project is released under the MIT License (MIT). See LICENSE file.

## Contributing
Help is always welcome. Contribute to the project by forking and submitting a pull request.