I am using maven's dependency-management to import the POM into my project Y as below:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.abc</groupId>
<artifactId>X</artifactId>
<version>1.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
And my artifact X has following properties which I want to access in POM of project Y:
<properties>
<property1>value1</property1>
<property2>value2</property2>
</properties>
I am not able to access properties defined in X into Project Y. I understand that using above approach I can't make use of plugin-management but I was unable to find anything related to properties on web.
Also please note I can't use the artifact X as parent as we have project level parent already defined.
Could you please guide on the same.