title: org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2 error
body: <p>I have the following Maven project structure:</p>
  
  <pre><code>xyz
    |
    -props
    |  |
    |  - root.properties
    |
    -module_a
    |  |
    |  -pom.xml
    |
    -pom.xml
  </code></pre>
  
  <p>My root artifact defines a child module (module_a) and this is referencing the parent artifact.
  In the root pom.xml I am reading a property file from the common props folder using the 
  <strong>org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2</strong> plugin.</p>
  
  <p>When I issue the
      <strong>mvn clean package</strong>
  command I get the following putput:</p>
  
  <pre><code>[INFO] ------------------------------------------------------------------------
  [INFO] Reactor Build Order:
  [INFO]
  [INFO] my_artifact
  [INFO] module_a
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building my_artifact 1.0.0
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ my_artifact ---
  [INFO]
  [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ my_artifact ---
  [INFO]
  [INFO] ------------------------------------------------------------------------
  [INFO] Building module_a 1.0.0
  [INFO] ------------------------------------------------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ module_a ---
  [INFO]
  [INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default) @ module_a ---
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO]
  [INFO] my_artifact ....................................... SUCCESS [0.234s]
  [INFO] module_a .......................................... FAILURE [0.000s]
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 0.344s
  [INFO] Finished at: Thu Aug 09 15:37:46 CEST 2012
  [INFO] Final Memory: 2M/5M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project module_a: Properties file not found: G:\java\xyz\module_a\props\root.properties -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  [ERROR]
  [ERROR] After correcting the problems, you can resume the build with the command
  [ERROR]   mvn &lt;goals&gt; -rf :module_a
  </code></pre>
  
  <p>In the child module Maven tries to read the property file from an inexistetnt subfolder. Can anybody help me solve this?
  Thank you</p>