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
- Host: GitHub
- URL: https://github.com/abertschi/aspectj-archive-maven-plugin
- Owner: abertschi
- License: mit
- Created: 2015-04-15T17:35:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-09T08:32:26.000Z (almost 10 years ago)
- Last Synced: 2025-02-01T09:22:54.057Z (4 months ago)
- Language: Java
- Size: 199 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.