Hello,

I have a module called 'reusable-module' which I would like to reuse with a
minimal effort across different projects.
How would the configuration look like given the desired project structure
below?

project-1:
  ./pom.xml - aggregates all sub-modules
  ./reusable-module/ - identical across different projects 'project-1,2...N'
  ./project-1-module/ - project-specific contents
  ./project-1-conf/pom.xml - contains project-specific properties that
override settings in
         the 'reusable-module' and the  'project-1-module'

My concern is that there is no way for the 'project-1-conf' to override
default values in the 'reusable-module'. Also, in the case of aggregation,
the 'reusable-module' will not pick up any values from the parent; in the
case of inheritance, the module will have to be customised for each
'project-1,2...N'.

Any workarounds for this?

Regards,
Gintas

Reply via email to