I am using SpringSource Tool Suite (Eclipse + Spring Tools) to develop and deploy.
I got the following projects:
parent
Code:
<groupId>com.j</groupId>
<artifactId>j</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>J Master</name>
...
<modules>
<module>j.business</module>
<module>j.web</module>
</modules>
web
Code:
<parent>
<artifactId>j</artifactId>
<groupId>com.j</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.j</groupId>
<artifactId>j.web</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<dependencies>
<dependency>
<artifactId>j.business</artifactId>
<groupId>com.j</groupId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
business
Code:
<parent>
<artifactId>j</artifactId>
<groupId>com.j</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.j</groupId>
<artifactId>j.business</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
The JAR is deployed in webapps/j.web/WEB-INF/lib
However, it's contents are a bit bizarre. When opening it, I see it contains the following:
Code:
\com (yes, including the backslash in the name of the directory)
com
main
META-INF
test
application-context.xml
Any idea what causes this to happen ?
Any help is much appreciated.
Thank you.