This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Artifact uses property in artifact name - netbeans internal pom representation is unable to resolve it | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Danek <musilt2> |
Component: | Maven | Assignee: | Tomas Stupka <tstupka> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2014-12-18 08:29:56 UTC
could not reproduce 1 parent project "parent" with 3 modules - A, B, P all of them declare "parent" as a parent P has a dep on A A has a dep on B A/pom.xml ... <dependency> <artifactId>project${b}</artifactId> ... B/pom.xml ... <artifactId>project${b}</artifactId> ... P/pom.xml <dependency> <artifactId>projectA</artifactId> parent/pom.xml ... <properties> <b>B</b> am i missing something? what version of maven do you use? any chance to provide a sample setup? regarding B/pom.xml: maven was complaining about the prop in the projects artifactId [WARNING] Some problems were encountered while building the effective model for com.mycompany:projectB:jar:1.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ com.mycompany:project${b}:1.0-SNAPSHOT ... [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. 'artifactId' contains an expression but should be a constant, but maybe that's not how you use it and you got the prop only in the dep of project A (or somewhere else?), which btw worked for me as well. need more info so incomplete for now, but of course, feel free to reopen ... P.S.: the pleasure is ours ... |