cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugo Trippaers <h...@trippaers.nl>
Subject Re: master not building
Date Wed, 29 Jan 2014 09:46:30 GMT
Girish,

Did you build cloudstack entirely before compiling just the marvin project?

Try running this before you build marvin: mvn -pl :checkstyle install

Cheers,

Hugo


On 29 jan. 2014, at 10:13, Girish Shilamkar <girish@clogeny.com> wrote:

> I still see problems with latest master while building marvin. Not sure if this is also
related checkstyle
> 
> [root@pun-lsfs21-node02 cloudstack]# /usr/local/apache-maven-3.1.1/bin/mvn -P developer
-e -pl :cloud-marvin
> [INFO] Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache CloudStack marvin 4.4.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
> Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.pom
(21 KB at 1.7 KB/sec)
> Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
> Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-site-plugin/3.3/maven-site-plugin-3.3.jar
(122 KB at 60.1 KB/sec)
> [INFO] 
> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-marvin
---
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 16.363s
> [INFO] Finished at: Wed Jan 29 14:58:41 IST 2014
> [INFO] Final Memory: 29M/86M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-marvin: Execution cloudstack-checkstyle of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its dependencies
could not be resolved: Failure to find org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT
in http://repository.apache.org/snapshots was cached in the local repository, resolution will
not be reattempted until the update interval of apache.snapshots has elapsed or updates are
forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-marvin: Execution cloudstack-checkstyle of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.11 or one of its dependencies
could not be resolved: Failure to find org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT
in http://repository.apache.org/snapshots was cached in the local repository, resolution will
not be reattempted until the update interval of apache.snapshots has elapsed or updates are
forced
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
> 	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:317)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> 	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:289)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution cloudstack-checkstyle
of goal org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.11
or one of its dependencies could not be resolved: Failure to find org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT
in http://repository.apache.org/snapshots was cached in the local repository, resolution will
not be reattempted until the update interval of apache.snapshots has elapsed or updates are
forced
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:87)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 	... 19 more
> Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:2.11
or one of its dependencies could not be resolved: Failure to find org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT
in http://repository.apache.org/snapshots was cached in the local repository, resolution will
not be reattempted until the update interval of apache.snapshots has elapsed or updates are
forced
> 	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:208)
> 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:357)
> 	at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:325)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:180)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:83)
> 	... 20 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find
org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT in http://repository.apache.org/snapshots
was cached in the local repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
> 	at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
> 	at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:200)
> 	... 24 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.cloudstack:checkstyle:jar:4.4.0-SNAPSHOT
in http://repository.apache.org/snapshots was cached in the local repository, resolution will
not be reattempted until the update interval of apache.snapshots has elapsed or updates are
forced
> 	at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
> 	at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
> 	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
> 	... 27 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/PluginResolutionException
> [root@pun-lsfs21-node02 cloudstack]# 
> 
> Regards,
> Girish
> 
> On 28-Jan-2014, at 11:09 PM, Marcus Sorensen <shadowsor@gmail.com> wrote:
> 
>> It looks like commit fae05560 fails checkstyle.
>> 
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Building Apache CloudStack Server 4.4.0-SNAPSHOT
>> [INFO] ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle)
>> @ cloud-server ---
>> [INFO] Starting audit...
>> /home/marcus/code/cloudstack/server/src/com/cloud/dc/DedicatedResourceVO.java:33:
>> Line has trailing spaces.
>> 
>> fae05560 (Daan Hoogland      2014-01-28 16:30:04 +0100  32)     /**
>> fae05560 (Daan Hoogland      2014-01-28 16:30:04 +0100  33)      *
>> <trailing space
>> fae05560 (Daan Hoogland      2014-01-28 16:30:04 +0100  34)      */
>> 
>> I pushed a fix. Let's remember to test our changes.
> 


Mime
View raw message