A very similar question was asked on the list some weeks ago. You need to lock down the (specify) the version of maven-compiler-plugin. You do that in the pluginManagement section. An example is here: http://maven.apache.org/pom.html#Plugin_Management (Note: You don't need to specify any executions though.)
/Anders On Fri, Feb 4, 2011 at 06:16, Jonthan DeMaagd <[email protected]> wrote: > [INFO] Scanning for projects... > > [WARNING] > > [WARNING] Some problems were encountered while building the effective model > for org.sonatype.mavenbook.custom:simple-weather:jar:1.0 > > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 69, > column > 12 > > [WARNING] > > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > > [WARNING] > > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > > [WARNING] > > .. > > .. > > > > Project builds and runs fine. > > But I really want to take care of these WARNINGS! > > > > Have not had much luck with tutorial, "Maven by Example" or online > resources. > > Went to this as last resource! > > > > Thanks much! > > > >
