Add depencies on ejb or war modules (quick fix) -----------------------------------------------
Key: MPIDEA-27 URL: http://jira.codehaus.org/browse/MPIDEA-27 Project: maven-idea-plugin Type: Bug Versions: 1.5 Reporter: Geoffrey Priority: Minor Fix For: 1.6 When the current project A depends on an ejb project B, the dependency isn't configured in IDEA because only jar dependencies are added in the module (iml) configuration file. By simply removing 2 lines it's fixed. <j:forEach var="lib" items="${pom.artifacts}"> <j:set var="dep" value="${lib.dependency}"/> <j:if test="${dep.type=='jar'}"><!-- Remove this line --> <j:choose> <j:when test="${dep.groupId == pom.groupId}" > <orderEntry type="module" module-name="${dep.artifactId}" /> </j:when> <j:otherwise> <orderEntry type="module-library"> <library name="${dep.artifactId}"> <CLASSES> <root url="jar://${lib.path}!/"/> </CLASSES> <JAVADOC/> <SOURCES/> </library> </orderEntry> </j:otherwise> </j:choose> </j:if><!-- Remove this line --> </j:forEach> </j:forEach> -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]