diff --git a/idea/.cvsignore b/idea/.cvsignore
index e5e33942..f3c0630f 100644
--- a/idea/.cvsignore
+++ b/idea/.cvsignore
@@ -1,3 +1,4 @@
target
velocity.log
maven.log
+*.iml
diff --git a/idea/plugin.jelly b/idea/plugin.jelly
index e9af47fd..9f895836 100644
--- a/idea/plugin.jelly
+++ b/idea/plugin.jelly
@@ -1,39 +1,114 @@
-
+
-
-
-
-
+
+
+
+
-
+
+
+
-
- Creating ${basedir}/${pom.artifactId}.ipr ...
+
+ Creating ${basedir}/${pom.artifactId}.ipr ...
-
-
-
+
+
+
- Creating ${basedir}/${pom.artifactId}.iws ...
+
-
-
-
-
- Creating ${basedir}/${pom.artifactId}.iml ...
+
+ Creating ${basedir}/${pom.artifactId}.iws ...
-
-
-
-
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+ Creating ${basedir}/${pom.artifactId}.iml ...
+
+
+
+
+
+
+
+
+
+
+
+
+ WARNING: This goal should be used only with IDEA 4.
+ Property 'maven.idea.project.version' is set to '3'
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Creating ${basedir}/${pom.artifactId}.ipr ...
+
+
+
+
+
diff --git a/idea/project.xml b/idea/project.xml
index 2108b404..e2e0e508 100644
--- a/idea/project.xml
+++ b/idea/project.xml
@@ -5,7 +5,7 @@
3
maven-idea-plugin
Maven IDEA Plug-in
- 1.2
+ 1.3-SNAPSHOT
IDEA Plugin for Maven
http://maven.apache.org/reference/plugins/idea/
/www/maven.apache.org/reference/plugins/idea/
@@ -42,5 +42,14 @@
Java Developer
+
+ Michal Maczka
+ michal
+ michal.maczka@dimatics.com
+ Dimatics
+
+ Java Developer
+
+
diff --git a/idea/src/plugin-resources/templates/v4/multiproject.jelly b/idea/src/plugin-resources/templates/v4/multiproject.jelly
new file mode 100644
index 00000000..bc4032b4
--- /dev/null
+++ b/idea/src/plugin-resources/templates/v4/multiproject.jelly
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/idea/xdocs/changes.xml b/idea/xdocs/changes.xml
new file mode 100644
index 00000000..3c7afaa9
--- /dev/null
+++ b/idea/xdocs/changes.xml
@@ -0,0 +1,18 @@
+
+
+
+ Changes
+ Michal Maczka
+
+
+
+
+
+
+ Added idea:multiproject goal. Other goals were decomposed.
+
+
+
+
+
+
diff --git a/idea/xdocs/goals.xml b/idea/xdocs/goals.xml
index 709a9bb9..e6e496d9 100644
--- a/idea/xdocs/goals.xml
+++ b/idea/xdocs/goals.xml
@@ -15,9 +15,31 @@
- idea:generate-project
+ idea:project
- Generate IDEA .ipr and .iws project files from the POM
+ Generate IDEA .ipr project files
+
+
+
+ idea:workspace
+
+ Generate IDEA .ipw project files
+
+
+
+ idea:workspace
+
+ Generate IDEA .ipw project files
+ (IDEA 4 only)
+
+
+
+
+
+ idea:multiproject
+
+ Generate IDEA .ipr and .iws project files and appends module which are created via reactor.
+ (IDEA 4 only).
diff --git a/idea/xdocs/properties.xml b/idea/xdocs/properties.xml
index 905a680a..d889c461 100644
--- a/idea/xdocs/properties.xml
+++ b/idea/xdocs/properties.xml
@@ -5,11 +5,16 @@
IDEA Properties
Kurt Schrader
Emmanuel Venisse
+ Michal Maczka
-
-
+
+
+ Property name
+ Optional?
+ Description
+
maven.cvs.client.exe
Yes
@@ -17,7 +22,40 @@
Specifies the cvs path.
-
+
+ maven.idea.project.multiproject.includes
+ Yet
+
+ This is the list of file specifications to be
+ included when searching for projects to be processed
+ by the plugin.
+
+ Default value is ${maven.multiproject.includes}
+ (see multiproject )
+ It means that mutiproject setup is used when no value is provided.
+
+
+
+
+ maven.idea.project.multiproject.excludes
+ Yet
+
+ This is the list of file specifications to be excluded
+ when idea:multiproject goal is executed
+
+ Default value is ${maven.multiproject.excludes}
+
+
+
+ maven.idea.project.multiproject.basdir
+ No
+
+ This is the base directory that the plugin will use for idea:multiproject goal is executed
+
+ Default value is ${maven.multiproject.basdir}
+
+
+