symbols should be generated. This is important for users that rely on the -emacssym ajc command line option. Specifically, the AspectJ emacs minor mode uses these symbols (which is a very cool mode btw). I've simply added a property called maven.aspectj.ajc.option.emacssym which defaults to 'off' so there is no change in previous behavior of the plugin. However, if you set this option to 'on', the aspectj compile goal will generate the appropriate symbol information. Documentation has been updated to reflect the change. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113443 13f79535-47bb-0310-9956-ffa450edef68
123 lines
3.7 KiB
XML
123 lines
3.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<document>
|
|
|
|
<properties>
|
|
<title>Maven AspectJ Plugin Properties</title>
|
|
<author email="dion@multitask.com.au">dIon Gillard</author>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="Maven AspectJ Plugin Settings">
|
|
<table>
|
|
<tr>
|
|
<th>Property name</th>
|
|
<th>Optional?</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.aspectj.ajc.option.emacssym</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
When set to <code>on</code>, instructs the AspectJ compiler
|
|
to generate emacs symbols. Users taking advantage of the
|
|
AspectJ-emacs minor mode will want to specify this option.
|
|
The default value is <code>off</code>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.compile.debug</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Specifies whether to include debugging information in the
|
|
compiled class files; the default value is <code>on</code>.
|
|
Used by the "java:compile" goal.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.compile.deprecation</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Specifies whether source should be compiled with deprecation
|
|
information; the default value is <code>off</code>. Used by
|
|
the "java:compile" goal.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.compile.optimize</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Specifies whether source should be compiled with optimization; the
|
|
default value is <code>off</code>.
|
|
Used by the "java:compile" goal.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.compile.src.set</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
The source directories maven uses to compile java code.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>pom.build.sourceModifications</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
This property is the list of the
|
|
<source><![CDATA[
|
|
<build>
|
|
<sourceModification>
|
|
<sourceModification>
|
|
<className></className>
|
|
<excludes>
|
|
<exclude></exclude>
|
|
</excludes>
|
|
</sourceModification>
|
|
</sourceModification>
|
|
</build>
|
|
]]></source>
|
|
source modifications in your
|
|
<a href="http://maven.apache.org/reference/project-descriptor.html">
|
|
project descriptor</a>. This property is used during compilation to exclude or
|
|
include classes from compilation depending on whether a named class is available
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
<section name="Other properties used">
|
|
<table>
|
|
<tr>
|
|
<th>Property name</th>
|
|
<th>Optional?</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
<tr>
|
|
<td>sourcesPresent</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
This property is set by Maven to indicate the presence of
|
|
Java source code for compilation. The plugin only attempts
|
|
to compile AspectJ code if there is java source present.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.build.dest</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
The destination directory for compiled code
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.dependency.classpath</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
This property holds the Ant <code>path</code> of all the dependent jar
|
|
files listed in the <code>dependencies</code> block of your
|
|
<a href="http://maven.apache.org/reference/project-descriptor.html">
|
|
project descriptor</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
</body>
|
|
</document>
|