> Now my goal is to read first env.properties file and find environment name. > > Using this name I want to load all properties of given sub-env(e.g. > 245SolarisMachine.properties > in this case) and do a token replace in some XML file. > > But it seems this is too much programatic and cannot be done using Maven.
If you cannot find a way to do it with core Maven and existing plugins, then you will need to write your own plugin to do this specific functionality that you require. You could even use the source code from the replace plugin as the basis for your work. Wayne
