Add -X (—debug) and -e (—errors) to the compile.pl arguments to have maven give extra details on whats going on here. I think if you edit opennms-webapp/pom.xml and add <verbose>true</verbose> to the <configuration> block in the jspc profile, that should also provide extra detail on what the jspc plugin is doing.
That its logging something about the target and source being 1.5, almost sounds like there’s a custom maven profile replacing the OpenNMS settings. Check ~/.m2/setings.xml and/or ~/.opennms-buildrc Ron > On Feb 3, 2016, at 4:04 PM, Gurman Grewal <ggre...@datavalet.com> wrote: > > Hi > > I have OpenNMS 1.10 and I am pulling upstream master. But compile.pl is > failing because of the following error: > > > [INFO] --- jetty-jspc-maven-plugin:8.1.10.v20130312:jspc (jspc) @ > opennms-webapp --- > [INFO] Compiling > element/index.jsp,element/rescan.jsp,element/bridgenode.jsp,element/routeipnode.jsp,element/interface.jsp,element/node.jsp,element/snmpinterface.jsp,element/availability.jsp,element/linkednode.jsp,alarm/advsearch.jsp,alarm/severity.jsp,WEB-INF/flows/report/database/batchReport/deliveryOptions.jsp,WEB-INF/flows/report/database/batchReport/reportRunning.jsp,WEB-INF/flows/report/database/batchReport/reportParameters.jsp,WEB-INF/flows/report/database/batchReport/reportScheduled.jsp,WEB-INF/flows/report/database/batchReport/cronExpression.jsp,WEB-INF/flows/report/database/batchReport/reportError.jsp,WEB-INF/jsp/element/errorPageService.jsp,WEB-INF/jsp/element/nodeList.jsp,WEB-INF/jsp/element/service.jsp,WEB-INF/jsp/element/errorPageOneKeyService.jsp,WEB-INF/jsp/alarm/list.jsp,WEB-INF/jsp/alarm/index.jsp,WEB-INF/jsp/alarm/detail.jsp,WEB-INF/jsp/alarm/summary-box.jsp,WEB-INF/jsp/KSC/index.jsp,WEB-INF/jsp/KSC/customView.jsp,WEB-INF/jsp/KSC/customGraphChooseResource.jsp,WEB-INF/jsp/KSC/include-box.jsp,WEB-INF/jsp/KSC/customGraphEditDetails.jsp,WEB-INF/jsp/KSC/customReport.jsp,WEB-INF/jsp/distributedStatusDetails.jsp,WEB-INF/jsp/maps.jsp,WEB-INF/jsp/siteStatus.jsp,WEB-INF/jsp/dashboards.jsp,WEB-INF/jsp/inventory/rancidList.jsp,WEB-INF/jsp/inventory/rancidViewVc.jsp,WEB-INF/jsp/inventory/rancidReport.jsp,WEB-INF/jsp/inventory/invnode.jsp,WEB-INF/jsp/inventory/rancid.jsp,WEB-INF/jsp/inventory/rancidReportExec.jsp,WEB-INF/jsp/event/list.jsp,WEB-INF/jsp/event/index.jsp,WEB-INF/jsp/event/detail.jsp,WEB-INF/jsp/support/index.jsp,WEB-INF/jsp/includes/serviceApplication-box.jsp,WEB-INF/jsp/includes/nodeCategory-box.jsp,WEB-INF/jsp/admin/rancid/rancidAdmin.jsp,WEB-INF/jsp/admin/categories.jsp,WEB-INF/jsp/admin/editApplication.jsp,WEB-INF/jsp/admin/showCategory.jsp,WEB-INF/jsp/admin/editProvisioningGroup.jsp,WEB-INF/jsp/admin/editServiceApplications.jsp,WEB-INF/jsp/admin/node/add.jsp,WEB-INF/jsp/admin/userGroupView/groups/list.jsp,WEB-INF/jsp/admin/userGroupView/groups/groupDetail.jsp,WEB-INF/jsp/admin/userGroupView/groups/modifyGroup.jsp,WEB-INF/jsp/admin/userGroupView/groups/newGroup.jsp,WEB-INF/jsp/admin/support/systemReport.jsp,WEB-INF/jsp/admin/support/systemReportList.jsp,WEB-INF/jsp/admin/thresholds/list.jsp,WEB-INF/jsp/admin/thresholds/editThreshold.jsp,WEB-INF/jsp/admin/thresholds/editExpression.jsp,WEB-INF/jsp/admin/thresholds/editGroup.jsp,WEB-INF/jsp/admin/provisioningGroups.jsp,WEB-INF/jsp/admin/notification/noticeWizard/eventNotices.jsp,WEB-INF/jsp/admin/notification/noticeWizard/chooseUeis.jsp,WEB-INF/jsp/admin/sendevent.jsp,WEB-INF/jsp/admin/editCategory.jsp,WEB-INF/jsp/admin/editNodeCategories.jsp,WEB-INF/jsp/admin/editForeignSource.jsp,WEB-INF/jsp/admin/applications.jsp,WEB-INF/jsp/admin/showApplication.jsp,WEB-INF/jsp/admin/storage/storageAdmin.jsp,WEB-INF/jsp/distributedStatusHistory.jsp,WEB-INF/jsp/distributedStatusSummary.jsp,WEB-INF/jsp/surveillanceViewError.jsp,WEB-INF/jsp/notification/list.jsp,WEB-INF/jsp/progressBar.jsp,WEB-INF/jsp/distributedStatusSummaryError.jsp,WEB-INF/jsp/distributed/error.jsp,WEB-INF/jsp/distributed/locationMonitorList.jsp,WEB-INF/jsp/distributed/locationMonitorDetails.jsp,WEB-INF/jsp/report/database/index.jsp,WEB-INF/jsp/report/database/manage.jsp,WEB-INF/jsp/report/database/manageSchedule.jsp,WEB-INF/jsp/report/database/onlineReport.jsp,WEB-INF/jsp/report/database/reportList.jsp,WEB-INF/jsp/statisticsReports/index.jsp,WEB-INF/jsp/statisticsReports/report.jsp,WEB-INF/jsp/graph/chooseresource.jsp,WEB-INF/jsp/graph/results.jsp,WEB-INF/jsp/outage/list.jsp,WEB-INF/jsp/outage/serviceOutages-box.jsp,WEB-INF/jsp/outage/servicesdown-box.jsp,WEB-INF/jsp/outage/detail.jsp,WEB-INF/jsp/outage/nodeOutages-box.jsp,WEB-INF/jsp/outage/interfaceOutages-box.jsp,WEB-INF/jsp/siteStatusError.jsp,WEB-INF/jsp/surveillanceView.jsp,KSC/index.jsp,logoff.jsp,pathOutage/index.jsp,pathOutage/showNodes.jsp,heatmap/index.jsp,heatmap/heatmap-box.jsp,frontPage.jsp,index.jsp,help/index.jsp,help/about.jsp,event/advsearch.jsp,event/severity.jsp,dashboard.jsp,surveillance-view.jsp,support/about.jsp,surveillance-box.jsp,includes/timeControl.jsp,includes/eventlist.jsp,includes/serviceAvailability-box.jsp,includes/categories-box.jsp,includes/footnote1.jsp,includes/bootstrap.jsp,includes/distStatusLegend.jsp,includes/key.jsp,includes/notification-box.jsp,includes/dateControl.jsp,includes/resultsIndexNoCount.jsp,includes/nodeStatus-box.jsp,includes/surveillance-key.jsp,includes/interfaceAvailability-box.jsp,includes/alarm-advquerypanel.jsp,includes/resultsIndex.jsp,includes/resourceGraphs-box.jsp,includes/mobile-app-promo.jsp,includes/legendInfo-box.jsp,includes/nodeAvailability-box.jsp,includes/quicksearch-box.jsp,includes/bootstrap-footer.jsp,includes/header.jsp,includes/search-constraints-box.jsp,includes/footer.jsp,includes/grafana-box.jsp,includes/event-querypanel.jsp,includes/event-advquerypanel.jsp,includes/alarm-querypanel.jsp,admin/nodelabel.jsp,admin/snmpselect.jsp,admin/ng-requisitions/app/basehref.jsp,admin/ng-requisitions/app/index.jsp,admin/interfaceDeleted.jsp,admin/index.jsp,admin/newInterface.jsp,admin/snmpConfig.jsp,admin/userGroupView/index.jsp,admin/userGroupView/users/list.jsp,admin/userGroupView/users/userDetail.jsp,admin/userGroupView/users/newPassword.jsp,admin/userGroupView/users/newUser.jsp,admin/userGroupView/users/modifyUser.jsp,admin/userGroupView/roles/list.jsp,admin/userGroupView/roles/view.jsp,admin/userGroupView/roles/editSpecific.jsp,admin/userGroupView/roles/editDetails.jsp,admin/postevent.jsp,admin/sysconfig.jsp,admin/sched-outages/editoutage.jsp,admin/sched-outages/index.jsp,admin/sched-outages/jsonIpInterfaces.jsp,admin/sched-outages/jsonNodes.jsp,admin/thresholds/index.jsp,admin/discovery/add-url.jsp,admin/discovery/index.jsp,admin/discovery/edit-config.jsp,admin/discovery/add-er.jsp,admin/discovery/add-specific.jsp,admin/discovery/add-ir.jsp,admin/mibCompiler.jsp,admin/updateSnmp.jsp,admin/interfaceAdded.jsp,admin/wallboardConfig.jsp,admin/manageEvents.jsp,admin/manage.jsp,admin/manageSnmpCollections.jsp,admin/deleteNodesFinish.jsp,admin/notification/index.jsp,admin/notification/chooseCommands.jsp,admin/notification/destinationPaths.jsp,admin/notification/groupIntervals.jsp,admin/notification/pathOutline.jsp,admin/notification/chooseTargets.jsp,admin/notification/noticeWizard/buildRule.jsp,admin/notification/noticeWizard/buildPathOutage.jsp,admin/notification/noticeWizard/choosePath.jsp,admin/notification/noticeWizard/notifsForUEI.jsp,admin/notification/noticeWizard/validateRule.jsp,admin/notification/noticeWizard/validatePathOutage.jsp,admin/jmxConfigGenerator.jsp,admin/surveillanceViewsConfig.jsp,admin/serviceDeleted.jsp,admin/manageNodesFinish.jsp,admin/nodemanagement/instrumentationLogReader.jsp,admin/nodemanagement/managenode.jsp,admin/nodemanagement/index.jsp,admin/nodemanagement/setPathOutage.jsp,admin/nodemanagement/deletenode.jsp,admin/snmpmanage.jsp,admin/asset/index.jsp,admin/asset/import.jsp,admin/delete.jsp,admin/nodelabelProvisioned.jsp,locations/index.jsp,account/selfService/index.jsp,account/selfService/passwordChanged.jsp,account/selfService/newPassword.jsp,rss.jsp,notification/index.jsp,notification/indexNew.jsp,notification/detail.jsp,errors/alarmidnotfound.jsp,errors/noticeidnotfound.jsp,errors/nomanagedinterfaces.jsp,errors/elementnotfound.jsp,errors/sealingviolation.jsp,errors/unknownexception.jsp,errors/categorynotfound.jsp,errors/eventidnotfound.jsp,errors/pagenotfound.jsp,errors/outageidnotfound.jsp,errors/elementidnotfound.jsp,errors/missingparam.jsp,errors/connectexception.jsp,errors/statisticsreportidnotfound.jsp,errors/eventproxyexception.jsp,minion/index.jsp,test/testProgressBar.jsp,accessDenied.jsp,roles/list.jsp,roles/view.jsp,report/index.jsp,graph/index.jsp,graph/adhoc2.jsp,graph/adhoc3.jsp,graph/adhoc4.jsp,login.jsp,rtc/index.jsp,rtc/category.jsp,rtc/fullscreen-categories-box.jsp,outage/index.jsp,outage/current.jsp,hardware/list.jsp,charts/index.jsp,asset/modify.jsp,asset/index.jsp,asset/nodelist.jsp > [INFO] Includes=**/*.jsp, **/*.jspx > [INFO] Excludes=null > > Failed to execute goal > org.mortbay.jetty:jetty-jspc-maven-plugin:8.1.10.v20130312:jspc (jspc) on > project opennms-webapp: Failure processing jsps: PWC6033: Error in Javac > compilation for JSP > [ERROR] > [ERROR] PWC6199: Generated servlet error: > [ERROR] source value 1.5 is obsolete and will be removed in a future release > [ERROR] > [ERROR] PWC6199: Generated servlet error: > [ERROR] target value 1.5 is obsolete and will be removed in a future release > [ERROR] > [ERROR] PWC6199: Generated servlet error: > [ERROR] To suppress warnings about obsolete options, use -Xlint:-options. > [ERROR] > [ERROR] PWC6199: Generated servlet error: > [ERROR] ';' expected > [ERROR] -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > -------------------------------------------------------------------------------------------------------------- > > I tried explicitly setting the source and target to 1.8 but didn't help. I > can't figure out which jsp/jsp's are problematic. Any suggestions? > > Thanks in advance > Gurman Grewal > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________ > > <http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140_______________________________________________> > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > <http://www.opennms.org/index.php/Mailing_List_FAQ> > > opennms-devel mailing list > > To *unsubscribe* or change your subscription options, see the bottom of this > page: > https://lists.sourceforge.net/lists/listinfo/opennms-devel > <https://lists.sourceforge.net/lists/listinfo/opennms-devel>
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel