It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Compile error: com_atlassian_clover.TestNameSniffer cannot be resolved

One of the source won't compile.

From Maven Build

build 05-Aug-2014 07:39:12 [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:compile (default) on project webServices: Compiler errors:
build 05-Aug-2014 07:39:12 [ERROR] error at (no source information available)
build 05-Aug-2014 07:39:12 [ERROR] /opt/atlassian/apps/bamboo-agent3/xml-data/build-dir/CP-SEI-JOB1/webServices/src/main/java/se/service/NotificationServiceImpl.java:1:0::0 The type com_atlassian_clover.TestNameSniffer cannot be resolved. It is indirectly referenced from required .class files
build 05-Aug-2014 07:39:12 [ERROR] -> [Help 1]
build 05-Aug-2014 07:39:12 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:compile (default) on project webServices: Compiler errors:
build 05-Aug-2014 07:39:12 error at (no source information available)
build 05-Aug-2014 07:39:12 /opt/atlassian/apps/bamboo-agent3/xml-data/build-dir/CP-SEI-JOB1/webServices/src/main/java/se/service/NotificationServiceImpl.java:1:0::0 The type com_atlassian_clover.TestNameSniffer cannot be resolved. It is indirectly referenced from required .class files
build 05-Aug-2014 07:39:12 
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
build 05-Aug-2014 07:39:12  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
build 05-Aug-2014 07:39:12  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
build 05-Aug-2014 07:39:12  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
build 05-Aug-2014 07:39:12  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
build 05-Aug-2014 07:39:12  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
build 05-Aug-2014 07:39:12  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
build 05-Aug-2014 07:39:12  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
build 05-Aug-2014 07:39:12  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
build 05-Aug-2014 07:39:12  at java.lang.reflect.Method.invoke(Method.java:597)
build 05-Aug-2014 07:39:12  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
build 05-Aug-2014 07:39:12  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
build 05-Aug-2014 07:39:12  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
build 05-Aug-2014 07:39:12  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
build 05-Aug-2014 07:39:12 Caused by: org.codehaus.mojo.aspectj.CompilationFailedException: Compiler errors:
build 05-Aug-2014 07:39:12 error at (no source information available)
build 05-Aug-2014 07:39:12 /opt/atlassian/apps/bamboo-agent3/xml-data/build-dir/CP-SEI-JOB1/webServices/src/main/java/se/service/NotificationServiceImpl.java:1:0::0 The type com_atlassian_clover.TestNameSniffer cannot be resolved. It is indirectly referenced from required .class files
build 05-Aug-2014 07:39:12 
build 05-Aug-2014 07:39:12  at org.codehaus.mojo.aspectj.AbstractAjcCompiler.execute(AbstractAjcCompiler.java:411)
build 05-Aug-2014 07:39:12  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
build 05-Aug-2014 07:39:12  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
build 05-Aug-2014 07:39:12  ... 19 more
build 05-Aug-2014 07:39:12 [ERROR]

The type com_atlassian_clover.TestNameSniffer cannot be resolved. It is indirectly referenced from required .class files. Any idea? I have tried CLOVER:OFF the entire class but that didn't help.

Thanks.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in New to Confluence

Fast-track your Confluence onboarding with the Confluence product guides!

Hey there! New in town? Check out the new Confluence product guides! They are chock-full of helpful tips, tricks, and best practices to get you and your team started.  Here’s a quick overview...

160 views 3 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you