-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Affected version
1.0.3
Bug description
In a multi-module project, e.g.
├── module-1
│ ├── src
│ └── pom.xml
├──module-2
│ ├── src
│ └── pom.xml
└── pom.xml
after the first (per mvnd instance) build is run (from the root of the project), e.g.
mvnd package
the (multi-module) parent pom seems to be persistently cached by mvnd. Changes to the parent pom are simply ignored until the mvnd is restarted.
Be it
mvnd package
or even
mvnd clean package
will re-use the parent pom that was initially loaded.
If any of the modules pom files are changed though, that is picked up by mvnd. But the project parent pom seems to never be refreshed/reloaded. Doing
mvnd --stop
followed by
mvnd package
will pick up the changed parent pom.
In a non multi-module project no such issue occurs.
If I use mvn I have no such issue.
My mvnd command is aliased to this (not sure if relevant):
mvnd -ntp \
-s path/to/maven/settings.xml \
-Dmaven.repo.local=path/to/local/repo \
-Daether.dependencyCollector.impl=bf
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working