I have 4 projects: A,B,C And Common.
A,B,C uses both some java files and some XSD/XML files in Common. A,B,C shouldn't know about each other, but only Common. I need to find the Common files(both java an non-java) in each project when testing for example. How do i link them so i can find the files in eg. A when writing code accessing files?
Here is the POM from A and Common:
Common:
<groupId>dk.myCompany.sa</groupId>
<artifactId>common</artifactId>
<version>0.0.3-SNAPSHOT</version>
<packaging>jar</packaging>
<name>common</name>
<url>http://maven.apache.org</url>
A
<groupId>dk.myCompany.sa</groupId>
<artifactId>A</artifactId>
<version>0.0.2-SNAPSHOT</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>dk.myCompany.sa</groupId>
<artifactId>common</artifactId>
<version>0.0.3-SNAPSHOT</version>
</dependency>
</dependencies>