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.

Bug 255949

Summary: Parent pom.xml property <netbeans.hint.licensePath> not inherited by child poms
Product: projects Reporter: desmond_kirrane <desmond_kirrane>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: RESOLVED INVALID    
Severity: normal CC: desmond_kirrane
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description desmond_kirrane 2015-10-15 12:00:20 UTC
When I add this pom property to the parents pom.xml

<netbeans.hint.licensePath>${project.basedir}/licenseheader.txt</netbeans.hint.licensePath>

The child poms projects do not pick it up and use the parents license header.
Comment 1 Tomas Stupka 2016-06-23 09:49:12 UTC
the property is honored and resolved by maven in the scope of the particular child module
${project.basedir} points then to {child.module.basedir}

try instead ${project.parent.basedir}