xml - Shared property -


i have few plugins maven use same list of elements.

it looks like:

<configuration>   <sourcedirectory>/path/to/source</sourcedirectory>   <outputdirectory>/path/to/output</outputdirectory>   <basepackage>com.example</basepackage>   <imports>     <import>some/file/location</import>     <import>another/file/location</import>     <import>and/another/file</import>     <import>and/another/file</import>     <import>and/another/file</import>     <import>and/another/file</import>     <import>and/another/file</import>     <import>and/another/file</import>     <import>and/another/file</import>   </imports>    </configuration> 

i want each configuration have different src/output , base package, share same list of imports.

is there way share xml properties across configurations?


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -