https://github.com/dbeaudoinfortin/m2emavenaarplugin
An Eclipse M2E Plugin for the Maven AAR Unpack Plugin
https://github.com/dbeaudoinfortin/m2emavenaarplugin
aar android android-library eclipse eclipse-plugin java m2e maven maven-plugin
Last synced: 29 days ago
JSON representation
An Eclipse M2E Plugin for the Maven AAR Unpack Plugin
- Host: GitHub
- URL: https://github.com/dbeaudoinfortin/m2emavenaarplugin
- Owner: dbeaudoinfortin
- License: mit
- Created: 2025-03-03T02:07:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-03T02:09:32.000Z (over 1 year ago)
- Last Synced: 2025-03-03T03:21:00.022Z (over 1 year ago)
- Topics: aar, android, android-library, eclipse, eclipse-plugin, java, m2e, maven, maven-plugin
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# M2EMavenAARPlugin 
This is the accompanying Eclipse M2E Plugin (M2E Connector) for my [Maven AAR Unpack Plugin](https://github.com/dbeaudoinfortin/MavenAARUnpackPlugin). The Maven AAR Unpack Plugin allows you to use Android Archive Library (AAR) files directly within your Maven Java project. Without this companion Eclipse plugin, you can still manually run Maven to compile your project, but Eclipse will always show build errors since it doesn't know how to add AAR dependencies to the project classpath.
> [!TIP]
> You can manually download this plugin from the [releases section](https://github.com/dbeaudoinfortin/M2EMavenAARPlugin/releases) but you may find it easier to [install it from a site](#how-to-install) in Eclipse.
## How to install
This plugin is published on [GitHub Pages](https://dbeaudoinfortin.github.io/M2EMavenAARPlugin/), which is deployed directly from the [/docs](https://github.com/dbeaudoinfortin/M2EMavenAARPlugin/tree/main/docs) directory of this GitHub repository. The easiest way to install the plugin is via the menu option `Help -> Install New Software...`, then clicking the `Add...` button, entering the site `https://dbeaudoinfortin.github.io/M2EMavenAARPlugin/` in the `Location` box and clicking the `Add` button to add a new software installation site.






## How it works
The Eclipse plugin acts as an Eclipse build participant in order to dynamically invoke the [Maven AAR Unpack Plugin](https://github.com/dbeaudoinfortin/MavenAARUnpackPlugin) during the build process. The Maven plugin scans the project for AAR dependencies, automatically resolves them, and unpacks them into the project target directory. The `classes.jar` JAR files from the extracted AAR files are then automatically added to the project's Java build path (classpath).
For more details, see the [Maven AAR Unpack Plugin](https://github.com/dbeaudoinfortin/MavenAARUnpackPlugin).
## Requirements
- Requires Java 8 or later.
- Requires Eclipse 2024-12 (version 4.34) or later
## Legal Stuff
Copyright (c) 2025 David Fortin
This software is provided by David Fortin under the MIT License, meaning you are free to use it however you want, as long as you include the original copyright notice (above) and license notice in any copy you make. You just can't hold me liable in case something goes wrong. License details can be read [here](https://github.com/dbeaudoinfortin/M2EMavenAARPlugin?tab=MIT-1-ov-file)