jmborer opened a new issue, #225:
URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/issues/225
Hello,
I am running on Windows 10 Maven 3.9.5, NB 25 and
```
<plugin>
<groupId>org.apache.netbeans.utilities</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<version>14.2</version>
<extensions>true</extensions>
</plugin>
```
My Maven local repository is located on a drive D: with the following
declaration in the .m2/settings.xml
` <localRepository>D:/projects/.m2/repository</localRepository>
`
And my project on C:\projects\crystal\release\....
When running the nbm-maven-plugin in debug mode I notice:
```
...
Generating Auto Update information for ch.skyguide.crystal.gui.acc
FileSet: Setup scanner in dir
C:\projects\crystal\release\4-Implementation\positions\modules\gui-acc\target\nbm\clusters\crystal
with patternSet{ includes: [config\Modules\ch-skyguide-crystal-gui-acc.xml,
**] excludes: [] }
Including files [config\Modules\ch-skyguide-crystal-gui-acc.xml,
modules\ch-skyguide-crystal-crystal-position-module-gui-acc.jar,
update_tracking\ch-skyguide-crystal-gui-acc.xml]
+Task: makenbm
Project base dir set to:
C:\projects\crystal\release\4-Implementation\positions\modules\gui-acc
Processing module attributes for locale ''
Going to open jarfile
modules/ch-skyguide-crystal-crystal-position-module-gui-acc.jar
Populating English module attributes
OpenIDE-Module is ch.skyguide.crystal.gui.acc
OpenIDE-Module-Name is gui-acc
Most recent input: 1741270268932 file: 1741268781087
Creating info.xml from module attributes for locale ''
dropping C:\D from path as it doesn't exist
dropping
C:\projects\.m2\repository\org\netbeans\external\updater\RELEASE220\updater-RELEASE220.jar
from path as it doesn't exist
Resource org/netbeans/updater/resources/autoupdate-info-2_4.dtd loaded from
parent loader
+Task: jar
...
```
Near the end of the log above, it seems that the ant task wrongly interprets
the fact that the local repository is on D: drive ( dropping C:\D from path as
it doesn't exist) and tries to use the drive where the project is located (C:).
If I replace th C: in the line in log above by D:, then the location is
correct and it can find the updater-RELEASE220.jar. Somehow,
netbeans/nbbuild/antsrc/org/netbeans/nbbuild
/MakeNBM.java gets confused with its Path
(ant/src/main/org/apache/tools/ant/types
/Path.java).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists