I have a parent pom that all my projects inherent.   It configures the
checkstyle plugin like this:

               <configuration>
                   <configLocation>
                       ../theteam/checkstyle.xml
                   </configLocation>
                   <headerLocation>
                       ../theteam/header.txt
                   </headerLocation>
               </configuration>

This works fine when I use "mvn site", but when I use "mvn release:prepare"
I get this error"


 Embedded error: Error rendering Maven report: Unable to find configuration
file location.
 Unable to find location '../theteam/checkstyle.xml' as URL, File or
Resource.


So, why can it find it for the first command but not the second?


--
Esse Quam Videre
To Be, rather than to Seem

Reply via email to