From 5584f4a81cda01c2a4c67404981fe52fa117b00a Mon Sep 17 00:00:00 2001 From: brett Date: Mon, 7 Jun 2004 12:09:40 +0000 Subject: [PATCH] PR: MPIDEA-5 Submitted By: Severin Voisin (with modifications) match module type to artifact type git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115435 13f79535-47bb-0310-9956-ffa450edef68 --- idea/plugin.jelly | 5 +- idea/project.xml | 4 +- .../templates/v4/module.jelly | 169 +++++++++++++----- idea/xdocs/changes.xml | 3 + 4 files changed, 136 insertions(+), 45 deletions(-) diff --git a/idea/plugin.jelly b/idea/plugin.jelly index ddff23e6..c06c11b5 100644 --- a/idea/plugin.jelly +++ b/idea/plugin.jelly @@ -60,7 +60,6 @@ - @@ -68,9 +67,11 @@ + + prereqs="idea:init,war:load"> Creating ${basedir}/${pom.artifactId}.iml ... diff --git a/idea/project.xml b/idea/project.xml index f831506a..c9ee5717 100644 --- a/idea/project.xml +++ b/idea/project.xml @@ -23,9 +23,9 @@ 3 maven-idea-plugin Maven IDEA Plug-in - 1.4 + 1.5-SNAPSHOT IDEA Plugin for Maven - IDEA Plugin for Maven. Requires Maven 1.0 RC2. + IDEA Plugin for Maven. Requires Maven 1.0 RC3. http://maven.apache.org/reference/plugins/idea/ http://jira.codehaus.org/BrowseProject.jspa?id=10350 /www/maven.apache.org/reference/plugins/idea/ diff --git a/idea/src/plugin-resources/templates/v4/module.jelly b/idea/src/plugin-resources/templates/v4/module.jelly index 319cd8f0..ddecc006 100644 --- a/idea/src/plugin-resources/templates/v4/module.jelly +++ b/idea/src/plugin-resources/templates/v4/module.jelly @@ -19,46 +19,133 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + ${url} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${url} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/idea/xdocs/changes.xml b/idea/xdocs/changes.xml index 6ee77b6a..c6d8bfc5 100644 --- a/idea/xdocs/changes.xml +++ b/idea/xdocs/changes.xml @@ -24,6 +24,9 @@ Michal Maczka + + match module type to artifact type + Default to project version 4. Use a multiproject dependency handle so that you can use multiproject properties in idea:multiproject.