You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2014/08/29 20:43:52 UTC

[jira] [Created] (GORA-368) Address

Lewis John McGibbney created GORA-368:
-----------------------------------------

             Summary: Address 
                 Key: GORA-368
                 URL: https://issues.apache.org/jira/browse/GORA-368
             Project: Apache Gora
          Issue Type: Improvement
          Components: build process
    Affects Versions: 0.5
            Reporter: Lewis John McGibbney
             Fix For: 0.6


Right now the sonar:sonar job is configured on our trunk build to execute the following target

sonar:sonar -Dsonar.skipPackageDesign=true, this prevents the following error. We need to address this.
BTW, to reproduce this error, you can download sonarqube and run the Sonar analysis from here
http://www.sonarqube.org/downloads/


[ERROR] Failed to execute goal
org.codehaus.sonar:sonar-maven-plugin:4.3:sonar (default-cli) on project
imap-core: Directory contains files belonging to different packages :
/path/to/some/project/sources/package Please fix your source code or use
sonar.skipPackageDesign=true to continue the analysis. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.codehaus.sonar:sonar-maven-plugin:4.3:sonar
(default-cli) on project imap-core: Directory contains files belonging
to different packages : /path/to/some/project/sources/package Please fix
your source code or use sonar.skipPackageDesign=true to continue the
analysis.
         at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
         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:108)
         at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
         at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
         at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Del



--
This message was sent by Atlassian JIRA
(v6.2#6252)