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

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

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)