Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Using Multiproject

When using multiproject to build subprojects, resources are not included in my artifacts. Why?
Use ${basedir} in your subproject's POM resource section:

                        
                                           <resources>
                                               <resource>
                                                   <directory>${basedir}/src/java</directory>
                                                   <includes>
                                                       <include>**/*.properties</include>
                                                   </includes>
                                               </resource>
                                           </resources>
                                   
                    

The resources won't be included if you just specify "src/java" as directory unless maven is started from within the subproject directory.