From bbeefb6ca82be7c4acd6f2bac54087f291c3da26 Mon Sep 17 00:00:00 2001 From: carlos Date: Mon, 19 Dec 2005 14:29:41 +0000 Subject: [PATCH] Added maven.aspectj.failonerror property. Submitted By: Shinobu Kawai PR: MPASPECTJ-24 git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@357694 13f79535-47bb-0310-9956-ffa450edef68 --- aspectj/plugin.jelly | 1 + aspectj/plugin.properties | 3 ++- aspectj/xdocs/changes.xml | 5 ++++- aspectj/xdocs/properties.xml | 10 ++++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) 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. + +