I'm working on a very simple blog engine in Java in order to learn multiple technologies.
Tech: Spring IoC, Hibernate, jUnit, GWT, and Maven.
I created two Maven projects: a core project and a GWT project (which has a reference on the core one)
Code is accessible at https://github.com/LaurentT/BlogEngineCore
My goal is the following: I want to include Java sources and XML since my GWT project is going to need the Java sources to compile it into JavaScript.
I tried to use the following code in the <build>
element:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.java</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.*xml</include>
<include>**/*.*properties</include>
</includes>
</resource>
</resources>
My jUnit tests used to pass and finish before that add but now they are not even finishing they are hanging...
I have no clue what's going on, so I want to know if there are other ways to include Java sources or if I'm just doing it wrong.
Any clue?