dev@glassfish.java.net

Re: Why does build fail with _at_Override? (trunk)

From: Kedar Mhaswade <Kedar.Mhaswade_at_Sun.COM>
Date: Thu, 23 Oct 2008 16:21:39 -0700

> I thought we *required* JDK 1.6 for the trunk, so why is Hudson using 1.5?
>
> Am I not safe in assuming that I can use JDK 1.6 features?

Unless there is a public announcement that we *must* build with JDK 1.6,
I believe JDK 5 is the platform to *build* it with.

I haven't seen any announcement yet.

>
> If that's the case, then no JDK 6 features can be used (eg MXBeans and
> various other things). If so, I see no choice but to remove the
> @Override annotations.

Well, in this particular case, it is just a coincidence as javac with JDK 1.5
seems to have a bug that javac with JDK 1.6 has fixed. It's for the ability
to build with JDK 1.5 that I suggested we remove the annotations.

To build the product with JDK 1.6 is an entirely different and more
heavyweight decision, IMO. Needless to say that a product built this way
won't run with Java SE 5.0 JRE.

> I read the Javadoc for @Override and there is no indication it is for
> only implementation. And I think it makes sense for sub-interfaces; the
> same reasons apply (mis-spelling, verify that a parent interface has the
> same signature, etc). In our case, we have redundant (overridden)
> method for several things, not just this case.

Quoting Javadoc:
"Indicates that a method declaration is intended to override a method
declaration in a superclass. If a method is annotated with this annotation type
but does not override a superclass method, compilers are required to generate an
error message."

I see "class" being stressed here. Of course, you can use it for interfaces, but
I don't think it is the intent. You "override" implementation of a method in a
subclass, not subinterface.

>
>
> Lloyd
>
> ..............................................
> Lloyd Chambers
> lloyd.chambers_at_sun.com
> GlassFish team, LSARC member
>
>
>
>
>
>
> On Oct 23, 2008, at 4:07 PM, Kedar Mhaswade wrote:
>
>> Right. It looks to me that this is a javac compiler bug with JDK 1.5.
>> To work around the problem, I'd think we remove the @Override annotation
>> specification on these methods in subinterfaces.
>>
>> In general, what does it mean to annotate a subinterface method with
>> this annotation? Isn't this annotation designed to override a method
>> *implementation* from the superclass?
>>
>> -Kedar
>>
>> Harsha Godugu wrote:
>>> On 10/23/08 13:10, Lloyd Chambers wrote:
>>>> All compiles fine on my machine (Mac OS X, JDK 1.6), QL passes, etc.
>>> Hudson is using 1.5_uXX
>>> and with JDK 1.6 Hudson is also fine.
>>>>
>>>> But Hudson fails. I'm mystified why Hudson won't compile it.
>>>>
>>>> I have to head out for a doctor appt, so I apologize for the breakage.
>>>> If this is a problem, the @Override annotations can be removed.
>>>>
>>>> Lloyd
>>>>
>>>> ..............................................
>>>> Lloyd Chambers
>>>> lloyd.chambers_at_sun.com <mailto:lloyd.chambers_at_sun.com>
>>>> GlassFish team, LSARC member
>>>>
>>>>
>>>>
>>>> Begin forwarded message:
>>>>
>>>>> *From: *Hudson <Kohsuke.Kawaguchi_at_Sun.COM
>>>>> <mailto:Kohsuke.Kawaguchi_at_Sun.COM>>
>>>>> *Date: *October 23, 2008 1:00:29 PM PDT
>>>>> *To: *sjsas-ws-tech_at_sun.com <mailto:sjsas-ws-tech_at_sun.com>,
>>>>> llc_at_dev.java.net <mailto:llc_at_dev.java.net>
>>>>> *Subject: **Build failed in Hudson: glassfish-v3-devbuild #3765*
>>>>>
>>>>> See http://hudson.sfbay/job/glassfish-v3-devbuild/3765/changes
>>>>>
>>>>> Changes:
>>>>>
>>>>> [Lloyd Chambers] added PropertiesDesc annotation to all interfaces
>>>>> that implement PropertyBag
>>>>> added ToDo annotation to all such interfaces with as-yet
>>>>> undocumented properties
>>>>> added all documented properties per the Admin reference guide
>>>>> added SystemPropertyBag
>>>>> documented the system properties that I could find
>>>>>
>>>>> ------------------------------------------
>>>>> [...truncated 29244 lines...]
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/SecurityService.java :323:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JaccProvider.java :123:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AuditModule.java :105:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProviderConfig.java :177:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/FilterConfig.java :89:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AdminObjectResource.java :173:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MonitoringService.java :87:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ModuleMonitoringLevels.java :258:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Transports.java :78:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/SelectionKeyHandler.java :111:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AlertService.java :94:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ListenerConfig.java :106:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/PortUnification.java :109:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolFinder.java :119:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Protocol.java :256:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolChainInstanceHandler.java :112:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ProtocolChain.java :127:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ModuleLogLevels.java :599:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/LifecycleModule.java :210:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/J2eeApplication.java :251:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/HttpListener.java :400:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/VirtualServer.java :365:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MailResource.java :277:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ThreadPool.java :203:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ExtensionModule.java :227:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorConnectionPool.java :477:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/PersistenceManagerFactoryResource.java :175:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Engine.java :108:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ResourceAdapterConfig.java :139:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Config.java :462:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Config.java :471:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AdminService.java :130:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainer.java :278:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/MdbContainer.java :149:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsService.java :302:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/TransactionService.java :206:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/DiagnosticService.java :208:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JavaConfig.java :316:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AvailabilityService.java :278:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/GroupManagementService.java :175:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmxConnector.java :226:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbTimerService.java :139:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsHost.java :156:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Profiler.java :143:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/WebContainerAvailability.java :189:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbContainerAvailability.java :174:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JmsAvailability.java :105:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Event.java :141:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/CustomResource.java :175:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NetworkListener.java :169:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JdbcResource.java :157:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java :187:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Server.java :256:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Application.java :324:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/AppclientModule.java :159:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Mbean.java :176:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/WebModule.java :248:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NetworkConfig.java :126:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Protocols.java :68:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/NodeAgent.java :176:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Domain.java :334:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Domain.java :343:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/JdbcConnectionPool.java :588:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ExternalJndiResource.java :193:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorResource.java :159:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/EjbModule.java :234:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ConnectorModule.java :174:
>>>>> method does not override a method from its superclass
>>>>> @Override
>>>>> ^
>>>>> Note:
>>>>> http://hudson.sfbay/job/glassfish-v3-devbuild/ws/v3/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/Application.java
>>>>> uses unchecked or unsafe operations.
>>>>> Note: Recompile with -Xlint:unchecked for details.
>>>>> 79 errors
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Fatal error compiling
>>>>>
>>>>> Embedded error: APT failed: 1
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [DEBUG] Trace
>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error
>>>>> compiling
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>>>>
>>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>>>> 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:585)
>>>>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>> at
>>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>>> Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal
>>>>> error compiling
>>>>> at
>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:526)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.module.maven.CompilerMojo.execute(CompilerMojo.java:149)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.module.maven.HK2CompileMojo.execute(HK2CompileMojo.java:137)
>>>>>
>>>>> at
>>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>>>>>
>>>>> at
>>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>>>>
>>>>> ... 16 more
>>>>> Caused by: org.codehaus.plexus.compiler.CompilerException: APT
>>>>> failed: 1
>>>>> at
>>>>> com.sun.enterprise.module.maven.HK2CompileMojo$1.compileInProcess(HK2CompileMojo.java:130)
>>>>>
>>>>> at
>>>>> com.sun.enterprise.module.maven.AptCompiler.compile(AptCompiler.java:103)
>>>>>
>>>>> at
>>>>> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:521)
>>>>>
>>>>> ... 20 more
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> [INFO] Total time: 1 minute 15 seconds
>>>>> [INFO] Finished at: Thu Oct 23 13:00:20 PDT 2008
>>>>> [INFO] Final Memory: 48M/116M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> Recording fingerprints
>>>>> Recording test results
>>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>