Short answer is that the value for root.dir contains spaces, so the simple 
solution is to not use a path with spaces.

Ron

-----Original Message-----
From: Maysam Shirazi [mailto:shirazi.may...@gmail.com] 
Sent: Friday, April 01, 2011 6:16 AM
To: OpenNMS Developer List
Subject: [opennms-devel] 1.9.7 build error

hi
I got this Error when I'd build the opennms 1.9.7 source:

------------------------------------------------------------------------------------------------------------------------------------------
D:\Applications\Network Management\opennms>compile.pl -e [INFO] JAVA_HOME = 
E:\Program Files\Java\jdk1.6.0\ 'D:/Applications/Network' is not recognized as 
an internal or external command, operable program or batch file.
[INFO] MAVEN_OPTS = -XX:PermSize=512m -XX:MaxPermSize=512m -Xmx512m [INFO] 
running: D:/Applications/Network Management/opennms/maven/bin/mvn 
-Droot.dir=D:/Applications/Network Management/opennms -Djava.awt.headless=true 
-Dmaven.test.skip.exec=true -e install [INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
.
.
.

[INFO]
------------------------------------------------------------------------
[INFO] Building OpenNMS Daemon 1.9.7-SNAPSHOT [INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ 
opennms-daemon --- [INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
opennms-daemon --- [INFO] Nothing to compile - all classes are up to date 
[INFO] [INFO] --- maven-resources-plugin:2.3:testResources
(default-testResources) @ opennms-daemon --- [INFO] Using 'UTF-8' encoding to 
copy filtered resources.
[INFO] skip non existing resourceDirectory D:\Applications\Network 
Management\opennms\opennms-daemon\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ 
opennms-daemon --- [INFO] Compiling 2 source files to D:\Applications\Network 
Management\opennms\opennms-daemon\target\test-classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[17,40]
package org.opennms.netmgt.
config.service does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[18,46]
package org.opennms.netmgt.
config.service.types does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[19,32]
package org.opennms.netmgt.
dao.db does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[105,12]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[174,36]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[27,4]
cannot find symbol
symbol: class OpenNMSConfigurationExecutionListener
     OpenNMSConfigurationExecutionListener.class,
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[43,26]
cannot find symbol
symbol  : variable InvokeAtType
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[56,26]
cannot find symbol
symbol  : variable InvokeAtType
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[69,26]
cannot find symbol
symbol  : variable InvokeAtType
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[81,12]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[81,49]
cannot access org.opennms.n
etmgt.config.service.Service
class file for org.opennms.netmgt.config.service.Service not found
             Service service = iservice.getService(); [ERROR] 
\Applications\Network 
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[87,44]
cannot access org.opennms.n
etmgt.config.service.types.InvokeAtType
class file for org.opennms.netmgt.config.service.types.InvokeAtType not found
         System.err.println(invoker.getAtType().toString() + ": got " +
results.size() + " results");
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[106,13]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[106,50]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[108,24]
cannot find symbol
symbol  : variable Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[113,24]
cannot find symbol
symbol  : variable Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[139,24]
cannot find symbol
symbol  : variable Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[162,39]
cannot find symbol
symbol  : class Service
location: class org.opennms.netmgt.vmmgr.InvokerTest
[INFO] 18 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenNMS ........................................... SUCCESS [2.016s] 
[INFO] OpenNMS Complex Dependencies ...................... SUCCESS [0.141s] 
[INFO] OpenNMS Castor Dependencies ....................... SUCCESS [0.281s] 
[INFO] OpenNMS JAXB Dependencies ......................... SUCCESS [0.125s] 
[INFO] OpenNMS Drools Dependencies ....................... SUCCESS [0.109s] 
[INFO] OpenNMS Hibernate Dependencies .................... SUCCESS [0.141s] 
[INFO] OpenNMS Spring Dependencies ....................... SUCCESS [0.141s] 
[INFO] OpenNMS Spring Web Dependencies ................... SUCCESS [0.109s] 
[INFO] OpenNMS Spring Security Dependencies .............. SUCCESS [0.125s] 
[INFO] OpenNMS Jasper Report Dependencies ................ SUCCESS [0.094s] 
[INFO] OpenNMS Jersey Dependencies ....................... SUCCESS [0.109s] 
[INFO] OpenNMS Mina Dependencies ......................... SUCCESS [0.156s] 
[INFO] OpenNMS Core ...................................... SUCCESS [0.078s] 
[INFO] OpenNMS Core API .................................. SUCCESS [2.688s] 
[INFO] OpenNMS Core Library .............................. SUCCESS [0.859s] 
[INFO] OpenNMS Utilities ................................. SUCCESS [1.360s] 
[INFO] OpenNMS Spring Test Dependencies .................. SUCCESS [0.156s] 
[INFO] OpenNMS Asterisk Dependencies ..................... SUCCESS [0.125s] 
[INFO] OpenNMS DBPool Dependencies ....................... SUCCESS [0.094s] 
[INFO] OpenNMS DNS Java Dependencies ..................... SUCCESS [0.093s] 
[INFO] OpenNMS GWT Dependencies .......................... SUCCESS [0.110s] 
[INFO] OpenNMS ICMP Dependencies ......................... SUCCESS [0.109s] 
[INFO] OpenNMS JavaMail Dependencies ..................... SUCCESS [0.125s] 
[INFO] OpenNMS JCIFS Dependencies ........................ SUCCESS [0.078s] 
[INFO] OpenNMS JDBC-Pool Dependencies .................... SUCCESS [0.094s] 
[INFO] OpenNMS JDHCP Dependencies ........................ SUCCESS [0.078s] 
[INFO] OpenNMS J-Interop Dependencies .................... SUCCESS [0.172s] 
[INFO] OpenNMS JNA Dependencies .......................... SUCCESS [0.063s] 
[INFO] OpenNMS JNLP Dependencies ......................... SUCCESS [0.093s] 
[INFO] OpenNMS RADIUS Dependencies ....................... SUCCESS [0.094s] 
[INFO] OpenNMS JRobin Dependencies ....................... SUCCESS [0.125s] 
[INFO] OpenNMS JRRD Dependencies ......................... SUCCESS [0.078s] 
[INFO] OpenNMS LiquiBase Dependencies .................... SUCCESS [0.110s] 
[INFO] OpenNMS Quartz Dependencies ....................... SUCCESS [2:02.843s] 
[INFO] OpenNMS RANCID Dependencies ....................... SUCCESS [0.110s] 
[INFO] OpenNMS RXTX Dependencies ......................... SUCCESS [0.078s] 
[INFO] OpenNMS Service Registration Dependencies ......... SUCCESS [0.109s] 
[INFO] OpenNMS Servlet Dependencies ...................... SUCCESS [0.078s] 
[INFO] OpenNMS SNMP Dependencies ......................... SUCCESS [0.110s] 
[INFO] OpenNMS SNMP Agent Dependencies ................... SUCCESS [0.125s] 
[INFO] OpenNMS SNMP Test Dependencies .................... SUCCESS [0.109s] 
[INFO] OpenNMS Tracker Dependencies ...................... SUCCESS [0.109s] 
[INFO] OpenNMS Twitter4J Dependencies .................... SUCCESS [0.094s] 
[INFO] OpenNMS Core Build Tools .......................... SUCCESS [0.078s] 
[INFO] Post-Process Castor Generated Source .............. SUCCESS [2.828s] 
[INFO] org.opennms.core.jicmpv6 .......................... SUCCESS [0.469s] 
[INFO] OpenNMS Core Runtime .............................. SUCCESS [0.375s] 
[INFO] OpenNMS Test Components ........................... SUCCESS [0.531s] 
[INFO] OpenNMS Config Utilities .......................... SUCCESS [0.250s] 
[INFO] OpenNMS RRD Module ................................ SUCCESS [0.141s] 
[INFO] OpenNMS RRD Interface ............................. SUCCESS [0.406s] 
[INFO] OpenNMS JRobin RRD Implementation ................. SUCCESS [0.391s] 
[INFO] OpenNMS Core Schema ............................... SUCCESS [2.234s] 
[INFO] OpenNMS Service Registry .......................... SUCCESS [2.563s] 
[INFO] OpenNMS Tasks ..................................... SUCCESS [0.719s] 
[INFO] OpenNMS Core Documentation ........................ SUCCESS [0.281s] 
[INFO] OpenNMS Core Test APIs ............................ SUCCESS [0.094s] 
[INFO] OpenNMS Core Test API (Libraries) ................. SUCCESS [0.328s] 
[INFO] OpenNMS Core Test API (DNS) ....................... SUCCESS [0.453s] 
[INFO] OpenNMS Core Test API (HTTP) ...................... SUCCESS [0.953s] 
[INFO] OpenNMS Features .................................. SUCCESS [0.094s] 
[INFO] OpenNMS ACL Webapp ................................ SUCCESS [24.656s] 
[INFO] OpenNMS Data Model Components ..................... SUCCESS [2.687s] 
[INFO] OpenNMS Configuration ............................. SUCCESS [1:32.500s] 
[INFO] OpenNMS Test Code ................................. SUCCESS [0.079s] 
[INFO] Mock SNMP Agent ................................... SUCCESS [0.421s] 
[INFO] OpenNMS ICMP Library .............................. SUCCESS [0.172s] 
[INFO] OpenNMS ICMP Interface ............................ SUCCESS [0.422s] 
[INFO] OpenNMS Persistence Layer ......................... SUCCESS [10.391s] 
[INFO] OpenNMS Daemon .................................... FAILURE [2.000s] 
[INFO] OpenNMS JavaMail Library .......................... SKIPPED [INFO] 
OpenNMS JavaMail Interface ........................ SKIPPED [INFO] OpenNMS 
Phonebook ................................. SKIPPED [INFO] OpenNMS Poller 
.................................... SKIPPED [INFO] OpenNMS Poller API 
................................ SKIPPED [INFO] OpenNMS Ticketing 
................................. SKIPPED [INFO] OpenNMS Ticketing API 
............................. SKIPPED [INFO] OpenNMS Mock Elements 
............................. SKIPPED [INFO] OpenNMS Services 
.................................. SKIPPED [INFO] OpenNMS JDBC Collector 
............................ SKIPPED [INFO] instrumentationLogReader 
.......................... SKIPPED [INFO] OpenNMS Poller Runtime 
............................ SKIPPED [INFO] OpenNMS Provisioning 
.............................. SKIPPED [INFO] OpenNMS Provisioning API 
.......................... SKIPPED [INFO] OpenNMS Provisioning Library 
...................... SKIPPED [INFO] OpenNMS ROOT Web Application 
...................... SKIPPED [INFO] org.opennms.features.sms-reflector (OSGi 
project) . SKIPPED [INFO] sms-reflector - plugin configuration .............. 
SKIPPED [INFO] sms-reflector - wrapper instructions .............. SKIPPED 
[INFO] sms-reflector - bundle instructions ............... SKIPPED [INFO] 
sms-reflector - imported bundles .................. SKIPPED [INFO] 
org.opennms.features.rxtx.test .................... SKIPPED [INFO] 
org.opennms.features.sms-reflector.sms-service
[org.opennms.sms.reflector.smsservice]  SKIPPED [INFO] 
org.opennms.features.sms-reflector.sms-ping
[org.opennms.sms.ping]  SKIPPED
[INFO] org.opennms.features.sms.reflector.commands
[org.opennms.sms.reflector.commands]  SKIPPED [INFO] 
org.opennms.features.sms-reflector.sms-monitor
[org.opennms.sms.monitor]  SKIPPED
[INFO] org.opennms.features.sms-reflector.sms-gateway
[org.opennms.sms.gateways]  SKIPPED
[INFO] Non OSGi Integration .............................. SKIPPED [INFO] 
OpenNMS Reporting ................................. SKIPPED [INFO] OpenNMS 
Reporting API ............................. SKIPPED [INFO] OpenNMS Reporting 
Core ............................ SKIPPED [INFO] OpenNMS Integrations 
.............................. SKIPPED [INFO] OpenNMS RWS Interface 
............................. SKIPPED [INFO] OpenNMS Availability Reports 
...................... SKIPPED [INFO] OpenNMS Jasper Reports 
............................ SKIPPED [INFO] OpenNMS Web APIs 
.................................. SKIPPED [INFO] OpenNMS Spring Framework 
Security ................. SKIPPED [INFO] OpenNMS Request Tracker Interface 
................. SKIPPED [INFO] OpenNMS Launcher 
.................................. SKIPPED [INFO] OpenNMS System Report 
............................. SKIPPED [INFO] OpenNMS Remote Poller 
............................. SKIPPED [INFO] OpenNMS Remote Poller (JNLP) 
...................... SKIPPED [INFO] OpenNMS TCP Export RRD Implementation 
............. SKIPPED [INFO] OpenNMS RRDTool RRD Implementation 
................ SKIPPED [INFO] OpenNMS RRDTool RRD Interface 
..................... SKIPPED [INFO] OpenNMS Remote Poller GWT UI 
...................... SKIPPED [INFO] OpenNMS Assemblies 
................................ SKIPPED [INFO] OpenNMS OTRS Integration 
.......................... SKIPPED [INFO] OpenNMS RT Integration 
............................ SKIPPED [INFO] OpenNMS Provisioning 
.............................. SKIPPED [INFO] OpenNMS Provisioning API 
.......................... SKIPPED [INFO] OpenNMS DNS Provisioning Adaptor 
.................. SKIPPED [INFO] OpenNMS Mock SimpleServer 
......................... SKIPPED [INFO] OpenNMS LineOriented Detectors 
.................... SKIPPED [INFO] OpenNMS Simple Detectors 
.......................... SKIPPED [INFO] OpenNMS Link Provisioning Adaptor 
................. SKIPPED [INFO] OpenNMS Map Provisioning Adaptor 
.................. SKIPPED [INFO] OpenNMS Puppet Provisioning Adaptor 
............... SKIPPED [INFO] OpenNMS RANCID Provisioning Interface 
............. SKIPPED [INFO] OpenNMS SNMP Asset Provisioning Interface 
......... SKIPPED [INFO] opennms-jasper-extensions ......................... 
SKIPPED [INFO] OpenNMS Support for Asterisk PBX .................. SKIPPED 
[INFO] OpenNMS Jetty Integration ......................... SKIPPED [INFO] 
OpenNMS Provision Persistence ..................... SKIPPED [INFO] OpenNMS 
Integration Tests ......................... SKIPPED [INFO] OpenNMS 
Acknowledgement Daemon .................... SKIPPED [INFO] OpenNMS Alarm Daemon 
.............................. SKIPPED [INFO] OpenNMS Model Importer 
............................ SKIPPED [INFO] OpenNMS Support for XMP 
(Cartographer) Agents ..... SKIPPED [INFO] OpenNMS Configuration Test Utility 
................ SKIPPED [INFO] OpenNMS SNMP Scanners 
............................. SKIPPED [INFO] OpenNMS Provision Daemon 
.......................... SKIPPED [INFO] OpenNMS Datagram Detectors 
........................ SKIPPED [INFO] OpenNMS Radius Detector 
........................... SKIPPED [INFO] OpenNMS DHCP Detector 
............................. SKIPPED [INFO] OpenNMS JMX Detectors 
............................. SKIPPED [INFO] OpenNMS JDBC Detector 
............................. SKIPPED [INFO] OpenNMS SSH Detector 
.............................. SKIPPED [INFO] OpenNMS Generic Detectors 
......................... SKIPPED [INFO] OpenNMS Enterprise Reporting 
...................... SKIPPED [INFO] OpenNMS Enterprise Report Daemon 
.................. SKIPPED [INFO] OpenNMS Correlation Engines 
....................... SKIPPED [INFO] OpenNMS Correlator 
................................ SKIPPED [INFO] Drools Correlation Engine 
......................... SKIPPED [INFO] OpenNMS Reporting 
................................. SKIPPED [INFO] OpenNMS OSS-J interface 
........................... SKIPPED [INFO] OpenNMS Web Dependencies 
.......................... SKIPPED [INFO] OpenNMS Web Application 
........................... SKIPPED [INFO] OpenNMS WMI Library 
............................... SKIPPED [INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:55.140s
[INFO] Finished at: Fri Apr 01 14:15:39 IRST 2011 [INFO] Final Memory: 72M/223M 
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project opennms-daemon: Compilatio n failure: 
Compilation failure:
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[17,40]
package org.opennms.netmgt.
config.service does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[18,46]
package org.opennms.netmgt.
config.service.types does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[19,32]
package org.opennms.netmgt.
dao.db does not exist
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[105,12]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[174,36]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[27,4]
cannot find symbol
[ERROR] symbol: class OpenNMSConfigurationExecutionListener
[ERROR] OpenNMSConfigurationExecutionListener.class,
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[43,26]
cannot find symbol
[ERROR] symbol  : variable InvokeAtType
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[56,26]
cannot find symbol
[ERROR] symbol  : variable InvokeAtType
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[69,26]
cannot find symbol
[ERROR] symbol  : variable InvokeAtType
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[81,12]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[81,49]
cannot access org.opennms.n
etmgt.config.service.Service
[ERROR] class file for org.opennms.netmgt.config.service.Service not found 
[ERROR] Service service = iservice.getService(); [ERROR] \Applications\Network 
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[87,44]
cannot access org.opennms.n
etmgt.config.service.types.InvokeAtType
[ERROR] class file for
org.opennms.netmgt.config.service.types.InvokeAtType not found [ERROR] 
System.err.println(invoker.getAtType().toString() + ": got " +
results.size() + " results");
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[106,13]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[106,50]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[108,24]
cannot find symbol
[ERROR] symbol  : variable Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[113,24]
cannot find symbol
[ERROR] symbol  : variable Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[139,24]
cannot find symbol
[ERROR] symbol  : variable Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] \Applications\Network
Management\opennms\opennms-daemon\src\test\java\org\opennms\netmgt\vmmgr\InvokerTest.java:[162,39]
cannot find symbol
[ERROR] symbol  : class Service
[ERROR] location: class org.opennms.netmgt.vmmgr.InvokerTest
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-te
stCompile) on project opennms-daemon: Compilation failure
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
         at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
         at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
         at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: 
Compilation failure
         at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656)
         at
org.apache.maven.plugin.TestCompilerMojo.execute(TestCompilerMojo.java:161)
         at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
         ... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :opennms-daemon
[ERROR] child exited with value 1
------------------------------------------------------------------------------------------------------------------------------------------
so how can I fix such errors in test packages? is there any need to compile 
test source when Dmaven.test.skip.exec is true?

Meysam


------------------------------------------------------------------------------
Create and publish websites with WebMatrix Use the most popular FREE web apps 
or write code yourself; WebMatrix provides all the features you need to develop 
and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
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

This e-mail message is being sent solely for use by the intended recipient(s) 
and may contain confidential information.  Any unauthorized review, use, 
disclosure or distribution is prohibited.  If you are not the intended 
recipient, please contact the sender by phone or reply by e-mail, delete the 
original message and destroy all copies. Thank you.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
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

Reply via email to