dependency type from parent pom ------------------------------- Key: MNGECLIPSE-129 URL: http://jira.codehaus.org/browse/MNGECLIPSE-129 Project: Maven 2.x Extension for Eclipse Type: Bug
Components: Dependency Resolver Versions: 0.0.9 Environment: Eclipse: 3.1.1 Reporter: Marek Biegański Assigned to: Eugene Kuleshov My pom contains dependencies like: <parent> <artifactId>xxx-parent</artifactId> <groupId>com.xxx</groupId> <version>HEAD-SNAPSHOT</version> </parent> ... <dependency> <groupId>com.xxx</groupId> <artifactId>yyy</artifactId> </dependency> xxx-parent pom contains full yyy dependency info: <dependency> <groupId>com.xxx</groupId> <artifactId>yyy</artifactId> <version>HEAD-SNAPSHOT</version> <type>ejb</type> </dependency> Problem occurs when <type>ejb</type> is declared in parent pom, and no <type> is declared in child pom. Only error message i got is: 06-05-30 15:32:49 CEST: Project build error Failed to validate POM Workaround is to redeclare <type>ejb</type> in child pom, but AFAIK if no type is declared, it should be inherited from parent -- 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