Check the project's effective pom. mvn help:effective-pom Most likely what you think should be inherited isn't. How is m-compiler-p declared in the parent?
/Anders On Mon, Dec 20, 2010 at 14:50, Piotr Skawinski < piotr.skawinski.ma...@gmail.com> wrote: > Hi, > > I'm having problems using release:prepare plugin on a project that inherits > from a parent project. It seems that it cannot see the plugins from the > parent project and fails on compiling java vesion 1.6 classes claiming that > 1.3 version does not support annotations. It works fine with clean install. > The maven-compiler-plugin is defined in the parent project. What can be the > problem? > > thanks in advance, > > Piotr >