diff --git a/aspectwerkz/plugin.jelly b/aspectwerkz/plugin.jelly
index 13497a5f..30462f07 100644
--- a/aspectwerkz/plugin.jelly
+++ b/aspectwerkz/plugin.jelly
@@ -24,7 +24,7 @@
classname="org.codehaus.aspectwerkz.metadata.AttributeC">
-
+
@@ -39,16 +39,14 @@
+
+
+
+
-
-
diff --git a/aspectwerkz/plugin.properties b/aspectwerkz/plugin.properties
index 54338579..f359e2a1 100644
--- a/aspectwerkz/plugin.properties
+++ b/aspectwerkz/plugin.properties
@@ -1,8 +1,9 @@
# Location of AW sources
maven.aspectwerkz.src.dir = ${basedir}/src/main
-# Location of AW XML definition file
-maven.aspectwerkz.definition.file = ${basedir}/conf/aspectwerkz.xml
+# Location of the AW XML definition file that will be created by the
+# attribute compilation (when calling ).
+maven.aspectwerkz.build.definition.file = ${maven.build.dir}/aspectwerkz.xml
# (optional). Definition file to be merged with the main definition file.
# Used by the goal.
diff --git a/aspectwerkz/project.xml b/aspectwerkz/project.xml
index 60296d87..f85004fd 100644
--- a/aspectwerkz/project.xml
+++ b/aspectwerkz/project.xml
@@ -66,6 +66,16 @@
jrexx1.1.1
+
+ piccolo
+ piccolo
+ 1.0.3
+
+
+ commons-jexl
+ commons-jexl
+ 1.0-beta-2
+ maven-changes-plugin
diff --git a/aspectwerkz/src/plugin-test/project.properties b/aspectwerkz/src/plugin-test/project.properties
index 095bc845..4f759730 100644
--- a/aspectwerkz/src/plugin-test/project.properties
+++ b/aspectwerkz/src/plugin-test/project.properties
@@ -3,3 +3,4 @@
# -------------------------------------------------------------------
maven.aspectwerkz.uuid = test
+maven.aspectwerkz.definition.merge.file = ${basedir}/conf/aspectwerkz.xml
diff --git a/aspectwerkz/xdocs/properties.xml b/aspectwerkz/xdocs/properties.xml
index 773923ac..77ef6e04 100644
--- a/aspectwerkz/xdocs/properties.xml
+++ b/aspectwerkz/xdocs/properties.xml
@@ -21,6 +21,16 @@
${basedir}/src/aspectwerkz.
+
+
maven.aspectwerkz.build.definition.file
+
Yes
+
+ Location of the AW XML definition file that will be created by the
+ attribute compilation (when calling the
+ aspectwerkz:attributeC goal). Defaults to
+ ${maven.build.dir}/aspectwerkz.xml.
+