Warnings shouldn't be preventing it from building so you should be able to ignore them.
That said, if you open a JIRA issue for it, we'll update our poms :-) Thanks Scott On Fri, Mar 18, 2011 at 4:28 PM, Rob Chevalier <[email protected]> wrote: > > I'm trying to build a fresh CAS 3.4.6 baseline war file using Maven 3.0.3 > and Sun Java 1.6 on RHEL6. > When building (with the tests suppressed) using the unmodified pom.xml in > the CAS distribution, I'm getting lots of warnings about plugin version > numbers. > Here a sample: > > [WARNING] Some problems were encountered while building the effective model > for org.jasig.cas:cas-server-core:jar:3.4.6 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-compiler-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 107, column 12 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-surefire-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 95, > column 12 > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-enforcer-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 38, > column 12 > [WARNING] 'reporting.plugins.plugin.version' for > org.apache.maven.plugins:maven-checkstyle-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 546, column 12 > [WARNING] 'reporting.plugins.plugin.version' for > org.apache.maven.plugins:maven-jxr-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 560, column 12 > [WARNING] 'reporting.plugins.plugin.version' for > org.apache.maven.plugins:maven-pmd-plugin is missing. @ > org.jasig.cas:cas-server:3.4.6, /root/src/cas-server-3.4.6/pom.xml, line > 564, column 12 > > > Some questions: > 1) should I update pom.xml as follows... > > > > > 3.0.3 > > > 1.6 > > > > > 1.5 > > (and all other references to 1.5?) > ...or will leaving the default pom.xml settings be fine for Maven 3.0.3 and > java 1.6? (java 1.5 is not installed) > > 2) Should I modify pom.xml to specify the various plugin versions to get > rid > of the warnings or can I safely ignore them? > > The documentation is really unclear to me as to how to resolve the build > warnings. > > Thanks!, > > Rob Chevalier > > > -- > View this message in context: > http://jasig.275507.n4.nabble.com/CAS-Build-Warning-with-Maven-3-0-3-tp3388373p3388373.html > Sent from the CAS Users mailing list archive at Nabble.com. > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
