You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use properties-maven-plugin to load the configuration file through ReadPropertiesMojo in the pom to skip some plugins, but I need to use SetSystemPropertiesMojo to change the value of the property in the subproject without skipping.
I found that ReadPropertiesMojo writes properties to project.setProperties, but SetSystemPropertiesMojo writes properties to System.setProperties.
This leads to <skip>${xxxx}</skip> not being able to get properties correctly in the pom of the subproject.
So after verification, I wonder if the following Mojo can make this process more reasonable:
(My English is not good, the above is translated by machine, please understand)
I use
properties-maven-plugin
to load the configuration file throughReadPropertiesMojo
in the pom to skip some plugins, but I need to useSetSystemPropertiesMojo
to change the value of the property in the subproject without skipping.I found that
ReadPropertiesMojo
writes properties toproject.setProperties
, butSetSystemPropertiesMojo
writes properties toSystem.setProperties
.This leads to
<skip>${xxxx}</skip>
not being able to get properties correctly in the pom of the subproject.So after verification, I wonder if the following Mojo can make this process more reasonable:
(My English is not good, the above is translated by machine, please understand)
The text was updated successfully, but these errors were encountered: