gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Furkan KAMACI (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-368) Address flagged Sonar error in Gora package design
Date Fri, 18 Sep 2015 11:04:04 GMT

     [ https://issues.apache.org/jira/browse/GORA-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Furkan KAMACI updated GORA-368:
-------------------------------
    Summary: Address flagged Sonar error in Gora package design  (was: Address flagged Sonar
error in Gora pakage design)

> Address flagged Sonar error in Gora package design
> --------------------------------------------------
>
>                 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.7
>
>
> 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.3.4#6332)

Mime
View raw message