Absolute paths stored in .iml
Hi
I'm using a maven multimodule project with JavaEE Application Facet, and the .iml generated looks like this
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="javaeeApplication" name="JavaEE">
<configuration>
<descriptors>
<deploymentDescriptor name="application.xml" url="file://C:\Daten\workspace\foo\bar\bar-ear/src/main/application/META-INF/application.xml" />
</descriptors>
</configuration>
</facet>
</component>
... and so forth
</module>
As you can see there is an absolute path there and thus I can't check this into VCS. Can you help me how I can generate a relative path, relative to project or even better module dir?
Alternatively, can you tell me how I can disable the generation of this deployment descriptor? Whenever I re-sync with Maven it pops up again - very annoying!
Regards
Florian
请先登录再写评论。
FYI: I tried solving this with path variables, but no such luck. I followed:
https://www.jetbrains.com/help/idea/2016.3/path-variables-2.html
I've defined the following variable:
But the .IML contents still contain the same descriptor as written above...