well after reading along in the docs:
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
kinda solves this issue :)
(havent tested it yet but it looks good)
Jon Strayer schrieb:
On 7/10/07, ossi petz <[EMAIL PROTECTED]> wrote:
hallo
well parent poms and relative paths. a long story.
have you issued the site command from the sub-modules?
but the release is done from the parent pom?
Yes, the site is from the sub-modules, but the release is also from the sub
modules.
it seems the checkstyle plugin is not aware of that difference and is
looking at the wrong location.
i do both site and release from the the parent pom and it works this
way. but single module builds fail in my case.
Well, at least we are seeing the same thing. :-)
Jon Strayer schrieb:
> 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?
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]