Hi Jerome, Thank you for the feedback. I'm following Jasig's sample installation guide which doesn't have a version tag for the war file. Do I have to use a specific version number, or can I use my own version scheme?
Best regards On Tuesday, June 3, 2014 11:59:54 AM UTC+1, Jérôme LELEU wrote: > > Hi, > > I don't think that it's related to CAS in fact, it's more a > misconfiguration at the Maven level. > > Reading this: > > *[WARNING] Some problems were encountered while building the effective > model for* > *com.My.cas:local-cas-webapp:war:1.0-SNAPSHOT* > *[WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-war-* > *plugin is missing. @ line 13, column 21* > > I guess that maybe you forget the <version> tag for the maven-war-plugin. > > Best regards, > > > 2014-06-03 0:52 GMT+02:00 racingyacht <racing...@gmail.com <javascript:>>: > >> I've updated my registration to the cas-user group. Can you please advise >> how to resolve the warning errors below? >> Best regards >> >> >> On Monday, June 2, 2014 1:22:11 PM UTC+1, racingyacht wrote: >>> >>> I am new to CAS and I'm in the processe of testing on a development >>> server before deploying in production. >>> >>> I built a base test package successfully, however, the following >>> warnings are in the build that I would like to resolve before moving to the >>> next stage of setting up and testing with LDAP: >>> [WARNING] >>> [WARNING] Some problems were encountered while building the effective >>> model for >>> com.My.cas:local-cas-webapp:war:1.0-SNAPSHOT >>> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins: >>> maven-war- >>> plugin is missing. @ line 13, column 21 >>> [WARNING] >>> [WARNING] It is highly recommended to fix these problems because they >>> threaten t >>> he stability of your build. >>> [WARNING] >>> [WARNING] For this reason, future Maven versions might no longer support >>> buildin >>> g such malformed projects. >>> >>> >>> Can any one help how to resolve? >>> >>> Detailed output of package below: >>> >>> >>> >mvn clean package >>> [INFO] Scanning for projects... >>> [WARNING] >>> [WARNING] Some problems were encountered while building the effective >>> model for >>> com.My.cas:local-cas-webapp:war:1.0-SNAPSHOT >>> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins: >>> maven-war- >>> plugin is missing. @ line 13, column 21 >>> [WARNING] >>> [WARNING] It is highly recommended to fix these problems because they >>> threaten t >>> he stability of your build. >>> [WARNING] >>> [WARNING] For this reason, future Maven versions might no longer support >>> buildin >>> g such malformed projects. >>> [WARNING] >>> [INFO] >>> [INFO] Using the builder org.apache.maven.lifecycle. >>> internal.builder.singlethrea >>> ded.SingleThreadedBuilder with a thread count of 1 >>> [INFO] >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] Building local-cas-webapp 1.0-SNAPSHOT >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] >>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ >>> local-cas-webapp --- >>> [INFO] Deleting C:\Users\XXX\workspace-kepler\dev-cas\target >>> [INFO] >>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ >>> local-cas- >>> webapp --- >>> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered >>> resources, >>> i.e. build is platform dependent! >>> [INFO] skip non existing resourceDirectory C:\Users\xxx\workspace-kepler\ >>> dev-ca >>> s\src\main\resources >>> [INFO] >>> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ >>> local-cas-web >>> app --- >>> [INFO] No sources to compile >>> [INFO] >>> [INFO] --- maven-resources-plugin:2.6:testResources >>> (default-testResources) @ lo >>> cal-cas-webapp --- >>> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered >>> resources, >>> i.e. build is platform dependent! >>> [INFO] skip non existing resourceDirectory C:\Users\xxxx\workspace- >>> kepler\dev-ca >>> s\src\test\resources >>> [INFO] >>> [INFO] --- maven-compiler-plugin:2.5.1:testCompile >>> (default-testCompile) @ local >>> -cas-webapp --- >>> [INFO] No sources to compile >>> [INFO] >>> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ >>> local-cas-webapp - >>> -- >>> [INFO] No tests to run. >>> [INFO] >>> [INFO] --- maven-war-plugin:2.2:war (default-war) @ local-cas-webapp --- >>> [INFO] Packaging webapp >>> [INFO] Assembling webapp [local-cas-webapp] in [C:\Users\xxxx\workspace- >>> kepler\d >>> ev-cas\target\local-cas-webapp-1.0-SNAPSHOT] >>> [INFO] Processing war project >>> [INFO] Processing overlay [ id org.jasig.cas:cas-server-webapp] >>> [INFO] Webapp assembled in [7924 msecs] >>> [INFO] Building war: C:\Users\xxxx\workspace- >>> kepler\dev-cas\target\cas.war >>> [INFO] WEB-INF\web.xml already added, skipping >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] BUILD SUCCESS >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> [INFO] Total time: 15.331 s >>> [INFO] Finished at: 2014-06-02T11:27:18+00:00 >>> [INFO] Final Memory: 10M/246M >>> [INFO] ------------------------------------------------------------ >>> ------------ >>> C:\Users\xxxx\workspace-kepler\dev-cas> >>> >> -- >> You are currently subscribed to cas-...@lists.jasig.org <javascript:> as: >> lel...@gmail.com <javascript:> >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user >> >> > > > -- > Jérôme LELEU > Founder of CAS in the cloud: www.casinthecloud.com | Twitter: @leleuj > Chairman of CAS: www.jasig.org/cas | Creator of pac4j: www.pac4j.org > > -- > You are currently subscribed to cas-...@lists.jasig.org <javascript:> as: > jasig-cas-user...@googlegroups.com <javascript:> > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to cas-user@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user