deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DELTASPIKE-189) cdictrl/impl-openejb breaks the sonar build
Date Sun, 10 Jun 2012 19:00:42 GMT

    [ https://issues.apache.org/jira/browse/DELTASPIKE-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292555#comment-13292555
] 

Mark Struberg commented on DELTASPIKE-189:
------------------------------------------

Currently working on the issue together with our Infra team. Seems that the Sonar Jenkins
instance uses maven2 which might cause this issue. More tomorrow...
                
> cdictrl/impl-openejb breaks the sonar build
> -------------------------------------------
>
>                 Key: DELTASPIKE-189
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-189
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: CdiControl
>            Reporter: Gerhard Petracek
>            Assignee: Mark Struberg
>             Fix For: 0.3-incubating
>
>
> partial log of https://analysis.apache.org/jenkins/job/deltaspike/75/
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8:07.043s
> [INFO] Finished at: Thu May 31 05:43:09 UTC 2012
> [INFO] Final Memory: 45M/247M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-context) on project deltaspike-cdictrl-openejb: Error unpacking file: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-owb/target/classes
to: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-openejb/target/classes
> [ERROR] org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.4:unpack
(unpack-context) on project deltaspike-cdictrl-openejb: Error unpacking file: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-owb/target/classes
to: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-openejb/target/classes
> org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> 	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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
> 	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.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:85)
> 	at org.sonar.maven3.Maven3PluginExecutor.concreteExecute(Maven3PluginExecutor.java:49)
> 	at org.sonar.batch.AbstractMavenPluginExecutor.execute(AbstractMavenPluginExecutor.java:49)
> 	at org.sonar.batch.AbstractMavenPluginExecutor.execute(AbstractMavenPluginExecutor.java:38)
> 	at org.sonar.batch.phases.InitializersExecutor.executeMavenPlugin(InitializersExecutor.java:73)
> 	at org.sonar.batch.phases.InitializersExecutor.execute(InitializersExecutor.java:60)
> 	at org.sonar.batch.phases.Phases.execute(Phases.java:90)
> 	at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
> 	at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:109)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:72)
> 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:59)
> 	at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:143)
> 	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
> 	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
> 	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	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.MojoExecutionException: Error unpacking file: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-owb/target/classes
to: /x1/jenkins/jenkins-master/jenkins-home/jobs/deltaspike/workspace/deltaspike/cdictrl/impl-openejb/target/classes
> org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:267)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:116)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:94)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 53 more
> Caused by: org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:185)
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:118)
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258)
> 	... 57 more
> [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli)
on project deltaspike-project: Can not execute Sonar: Unable to execute maven plugin: Exception
during execution of org.codehaus.mojo:cobertura-maven-plugin:2.5.1:cobertura -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar
(default-cli) on project deltaspike-project: Can not execute Sonar
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
> 	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.MojoExecutionException: Can not execute Sonar
> 	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:118)
> 	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
> 	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:90)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	... 19 more
> Caused by: org.sonar.api.utils.SonarException: Unable to execute maven plugin
> 	at org.sonar.batch.AbstractMavenPluginExecutor.execute(AbstractMavenPluginExecutor.java:51)
> 	at org.sonar.batch.AbstractMavenPluginExecutor.execute(AbstractMavenPluginExecutor.java:38)
> 	at org.sonar.batch.phases.InitializersExecutor.executeMavenPlugin(InitializersExecutor.java:73)
> 	at org.sonar.batch.phases.InitializersExecutor.execute(InitializersExecutor.java:60)
> 	at org.sonar.batch.phases.Phases.execute(Phases.java:90)
> 	at org.sonar.batch.bootstrap.ProjectModule.doStart(ProjectModule.java:143)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:115)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
> 	at org.sonar.batch.bootstrap.BatchModule.analyze(BatchModule.java:110)
> 	at org.sonar.batch.bootstrap.BatchModule.doStart(BatchModule.java:105)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrap.BootstrapModule.doStart(BootstrapModule.java:109)
> 	at org.sonar.batch.bootstrap.Module.start(Module.java:83)
> 	at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:72)
> 	at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:59)
> 	at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:143)
> 	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113)
> 	... 23 more
> Caused by: org.sonar.api.utils.SonarException: Exception during execution of org.codehaus.mojo:cobertura-maven-plugin:2.5.1:cobertura
> 	at org.sonar.maven3.Maven3PluginExecutor.concreteExecute(Maven3PluginExecutor.java:51)
> 	at org.sonar.batch.AbstractMavenPluginExecutor.execute(AbstractMavenPluginExecutor.java:49)
> 	... 40 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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :deltaspike-cdictrl-openejb
> Sonar analysis completed: FAILURE
> Build step 'Sonar' changed build result to FAILURE
> Build step 'Sonar' marked build as failure
> Finished: FAILURE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message