From: wisberg Date: Mon, 17 May 2004 14:26:22 +0000 (+0000) Subject: removed Maven section that is out of date with current Maven, which supports 1.2... X-Git-Tag: V1_2_0~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7638feeab612cf4965cbbaacead58caf481d6239;p=aspectj.git removed Maven section that is out of date with current Maven, which supports 1.2 directly --- diff --git a/docs/devGuideDB/antsupport.xml b/docs/devGuideDB/antsupport.xml index 92e8f888d..52fb4e0a7 100644 --- a/docs/devGuideDB/antsupport.xml +++ b/docs/devGuideDB/antsupport.xml @@ -1405,212 +1405,6 @@ - - - Maven support - - Maven is a project-based build system used by Apache and others - to integrate many open-source projects. They have a plugin to - support AspectJ 1.0, and we plan to help them support AspectJ 1.1. - In the meantime, this describes how to upgrade an existing - Maven environment to use the AspectJ 1.1 compiler. - It was verified on a 1.0-beta10-SNAPSHOT release. - For more information on Maven, see - http://maven.apache.org. - - - Sample Maven plugin - - To integrate AspectJ requires writing a Maven plugin and - installing the AspectJ libraries in the local Maven - repositories directory. - - - The Maven plugin defines an "aspectj" goal; - given a project with directories "src" and "aspectsrc", - the plugin will compile everything using AspectJ. - To use the plugin, request the aspectj goal - in your project: - - - - - - The plugin is mainly a Jelly script that specifies - Ant scriptlets to run when building with AspectJ. - To create your own, start with the files from - the Maven support for AspectJ 1.0. - (Unfortunately, their plugin version is 1.1. - If you want to continue using the old version, - copy the files and - use a different version number than 1.1 in the - examples below.) - - - - - - Below is a plugin.jelly - script that defines the - Ant calls. The script uses XML namespace prefixes, - so find the start of the Ant compiler call - at <ant:iajc .... - Note that it uses the existing rule for defining - aspectSourcesPresent. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]> - - - In this example, no special options - are supported, but nicely enough the script can read the - library jars from the plugin dependency path: - - - -]]> - - - The plugin dependency path and the filenames of the library - jars are defined in the plugin - project.xml file. - Below are the relevant definitions: - - - - ${basedir}/../project.xml - 3 - maven-aspectj-plugin - - ... - - - - aspectj:aspectjtools - 1.1 - - root - - - - aspectj:aspectjrt - 1.1 - - root - - - - - ... - - -]]> - - - So the actual paths are calculated from the dependencies, - which resolve to the local repository directory of your - Maven installation. After you update the Jelly script, - manually rename and copy the AspectJ 1.1 libraries to your - directory: - - - - - - That should be it. Remember to go through the files - for any version or library jar name changes. - Again, long-term, we hope to the Maven folks can - have an official - version of the AspectJ plugin which supports - both AspectJ 1.0 and 1.1. - -