idea:module fails on project:type of ejb
----------------------------------------
Key: MPIDEA-49
URL: http://jira.codehaus.org/browse/MPIDEA-49
Project: maven-idea-plugin
Issue Type: Bug
Affects Versions: 1.6
Environment: Maven 1.0.2
maven-multiproject-plugin-1.5.jar
maven-idea-plugin-1.6.jar
Reporter: Jimmy Wan
My general project structure is something like this:
Toplevel project with no artifacts.
Tier 2 children of toplevel project are subprojects that inherit from the
toplevel project and are of 2 types (jar or ejb).
Tier 3 children of tier 2 projects are subprojects of tier 2 projects and are
all of type jar.
The idea:multiproject task fails and generates a truncated module file as seen
below. v1.5 of the IDEA plugin does not have this problem, but fails in other
ways that also makes it unsuitable for me.
Output:
[CUT-REMOVED ARTIFACT DOWNLOAD OUTPUT]
[echo] DEPRECATED: the use of dependency-handle is deprecated. Please use
maven:get/set to modify properties of the multiproject plugin
build:start:
idea:init:
war:load:
[echo] DEPRECATED: war:load is deprecated, please use maven:get tags
idea:module:
[echo] Creating
c:\repo\Products\Wolverine\WorkflowServices/WolverineWorkflowServices.iml ...
BUILD FAILED
File...... C:\Documents and
Settings\jwan.21TECHNOLOGIES\.maven\cache\maven-idea-plugin-1.6\plugin.jelly
Element... j:import
Line...... 78
Column.... 79
file:/C:/Documents and
Settings/jwan.21TECHNOLOGIES/.maven/cache/maven-idea-plugin-1.6/plugin-resources/templates/v4/module.jelly:41:106:
<maven:makeRelativePath> You must define an attribute called 'path' for this
tag.
Total time: 3 seconds
Finished at: Fri Oct 06 11:42:00 CDT 2006
Generated Module file:
<?xml version="1.0" encoding="UTF-8"?>
<module version="4" relativePaths="true" type="J2EE_EJB_MODULE">
<component name="EjbModuleBuildComponent">
<setting name="EXPLODED_URL" value="file://">
</setting>
<setting name="EXPLODED_ENABLED" value="false">
</setting>
<setting name="JAR_URL" value="file://$MODULE_DIR$/target/<IRRELEVANT
INFO>.jar">
</setting>
<setting name="JAR_ENABLED" value="true">
</setting>
</component>
<component name="EjbModuleProperties">
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira