I have created one Class in a Maven project suppose project1 and also written "binding" file for that class and complied by Jibx maven plugin . I have created another project suppose project2 and extending that class into this project class such as
project1.CalssTwo extends project2.ClassOne
and added maven dependencies of Project1.
I have written binding file for the ClassTwo and in that i am calling the binding file of ClassOne which is present into the project1 as
<import path="project1/src/java/resource/binding.xml" precompield="true"/>
<import path="project1/src/java/resource/binding.xml" />
now when i compeld it through maven plugin it is showing BUILD ERROR because of it cant't write into the project1.jar and jira error is showing.
I am not understanding why it wants to write into the Jar and also when it has already written(binding) into that jar cant it read and work as like Java inheritance.