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 257491 - Maven localRepository points to the incorrect location after reading it from settings.xml
Summary: Maven localRepository points to the incorrect location after reading it from ...
Status: RESOLVED INCOMPLETE
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.2
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-08 21:27 UTC by billdacat
Modified: 2016-06-20 12:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description billdacat 2016-01-08 21:27:46 UTC
The path in my settings.xml is ${maven.home}.repository

what shows up in the project settings for my local repo is :


c:\program files\Netbeans 8.1\$maven.home}\respository


My settings.xml is in my home\.m2 folder.. Whatever I put in the settings.xml is prepended with the Netbeans install path
Comment 1 billdacat 2016-01-08 22:51:03 UTC
Had a couple of typos in the original.


Settings.xml:
${maven.home}\repository


NetBeans listed path to local repo:
c:\program files\Netbeans 8.1\${maven.home}\respository


I was able to work around it, but the path being expanded to include the path to the netbeans is install folder did not come from anything in my environment settings.
Comment 2 Tomas Stupka 2016-01-11 13:20:02 UTC
could you please attach a sample settings.xml file?

thanks
Comment 3 Tomas Stupka 2016-06-20 12:40:31 UTC
any update on this?