diff --git a/aspectj/plugin.jelly b/aspectj/plugin.jelly index 098dd396..09a912a6 100644 --- a/aspectj/plugin.jelly +++ b/aspectj/plugin.jelly @@ -50,6 +50,7 @@ incremental="${maven.aspectj.incremental}" XnoWeave="${maven.aspectj.noweave}" Xlint="${maven.aspectj.lint}" + failonerror="${maven.aspectj.failonerror}" destDir="${destDir}" sourceRootCopyFilter="${maven.aspectj.sourceRootCopyFilter}" debug="${maven.aspectj.debug}" diff --git a/aspectj/plugin.properties b/aspectj/plugin.properties index 166aa43b..ef4740b3 100644 --- a/aspectj/plugin.properties +++ b/aspectj/plugin.properties @@ -69,4 +69,5 @@ maven.aspectj.noweave=false # Level of language usage messages. Possible values are error, warning and ignore maven.aspectj.lint=warning - +# If true, throw BuildException to halt build if there are any compiler errors. +maven.aspectj.failonerror=true diff --git a/aspectj/xdocs/changes.xml b/aspectj/xdocs/changes.xml index 949b4394..8f06d02c 100644 --- a/aspectj/xdocs/changes.xml +++ b/aspectj/xdocs/changes.xml @@ -27,7 +27,10 @@ Carlos Sanchez - + + + Added maven.aspectj.failonerror property. + Add support for iajc's messageHolderClass attribute and added maven.dependency.classpath to the diff --git a/aspectj/xdocs/properties.xml b/aspectj/xdocs/properties.xml index 3fc96e91..eb1ba412 100644 --- a/aspectj/xdocs/properties.xml +++ b/aspectj/xdocs/properties.xml @@ -176,6 +176,16 @@ interface and having a public no-argument constructor. + + + maven.aspectj.failonerror + Yes + + If true, throw BuildException to halt build if there are any compiler errors. + If false, continue notwithstanding compile errors. + Defaults to true. + +