Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.5
-
Fix Version/s: 1.6
-
Labels:None
-
Number of attachments :
Description
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="$
"/>
<j:if test="$
"><!-- Remove this line -->
<j:choose>
<j:when test="$
" >
<orderEntry type="module" module-name="$
</j:when>
<j:otherwise>
<orderEntry type="module-library">
<library name="${dep.artifactId}
">
<CLASSES>
<root url="jar://$
!/"/>
</CLASSES>
<JAVADOC/>
<SOURCES/>
</library>
</orderEntry>
</j:otherwise>
</j:choose>
</j:if><!-- Remove this line -->
</j:forEach>
</j:forEach>