You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Max Walker <fo...@gmail.com> on 2016/12/02 07:17:58 UTC

Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails

Hello,

I am getting the following error when I do a source build on version 4.8.11
and 4.9.0.1 (mvn -P deps is the command I run):

---
BUILD FAILURE
[INFO] ------------------------------------------------------------
------------
[INFO] Total time: 7.442s
[INFO] Finished at: Tue Nov 29 14:10:59 IST 2016
[INFO] Final Memory: 31M/74M
[INFO] ------------------------------------------------------------
------------
[WARNING] The requested profile "deps" could not be activated because it
does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
(cloudstack-checkstyle) on project cloud-maven-standard: 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.8.1.1H in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
[ERROR]
------

Not clear how to fix this. Thanks in advance for all the help,

- Max

Re: Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails

Posted by Bernd Eckenfels <ec...@zusammenkunft.net>.
Hello,
Do you mean Apache CloudStack? Why don't you ask there:
 It seems to me that the POM contains artifacts not yet on central (or in another repo) or you need to install the checkstyle artifact before you can use it. Maybe it would help to skip the checkstyle run.
But I would expect the cloudstack project to provide an working build instruction.
Gruss
Bernd
-- 
http://bernd.eckenfels.net

		_____________________________
From: Max Walker <fo...@gmail.com>
Sent: Freitag, Dezember 2, 2016 9:48 AM
Subject: Re: Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails
To: Maven Users List <us...@maven.apache.org>


Hello Thorsten,

I am new to CloudStack. I am trying to build CloudStack from source and I
am following the instructions / steps given in the installation document.

Thanks,
-Max

On Fri, Dec 2, 2016 at 2:14 PM, Thorsten Heit <th...@vkb.de> wrote:

> Hi Max,
>
> > I am getting the following error when I do a source build on version
> 4.8.11
> > and 4.9.0.1 (mvn -P deps is the command I run):
> >
> > ---
> > BUILD FAILURE
> > [INFO] ------------------------------------------------------------
> > ------------
> > [INFO] Total time: 7.442s
> > [INFO] Finished at: Tue Nov 29 14:10:59 IST 2016
> > [INFO] Final Memory: 31M/74M
> > [INFO] ------------------------------------------------------------
> > ------------
> > [WARNING] The requested profile "deps" could not be activated because it
> > does not exist.
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
> > (cloudstack-checkstyle) on project cloud-maven-standard: 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.8.1.1H in
> > http://repo.maven.apache.org/maven2 was cached in the local repository,
> > resolution will not be reattempted until the update interval of central
> has
> > elapsed or updates are forced -> [Help 1]
> > [ERROR]
> > ------
> >
> > Not clear how to fix this. Thanks in advance for all the help,
>
> Have a look at the message:
> You're activating a profile on the command line ("-P deps") that obviously
> doesn't exist. What are you trying to do?
>
>
> Regards
>
> Thorsten



	

Re: Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails

Posted by Max Walker <fo...@gmail.com>.
Hello Thorsten,

I am new to CloudStack. I am trying to build CloudStack from source and I
am following the instructions / steps given in the installation document.

Thanks,
-Max

On Fri, Dec 2, 2016 at 2:14 PM, Thorsten Heit <th...@vkb.de> wrote:

> Hi Max,
>
> > I am getting the following error when I do a source build on version
> 4.8.11
> > and 4.9.0.1 (mvn -P deps is the command I run):
> >
> > ---
> > BUILD FAILURE
> > [INFO] ------------------------------------------------------------
> > ------------
> > [INFO] Total time: 7.442s
> > [INFO] Finished at: Tue Nov 29 14:10:59 IST 2016
> > [INFO] Final Memory: 31M/74M
> > [INFO] ------------------------------------------------------------
> > ------------
> > [WARNING] The requested profile "deps" could not be activated because it
> > does not exist.
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
> > (cloudstack-checkstyle) on project cloud-maven-standard: 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.8.1.1H in
> > http://repo.maven.apache.org/maven2 was cached in the local repository,
> > resolution will not be reattempted until the update interval of central
> has
> > elapsed or updates are forced -> [Help 1]
> > [ERROR]
> > ------
> >
> > Not clear how to fix this. Thanks in advance for all the help,
>
> Have a look at the message:
> You're activating a profile on the command line ("-P deps") that obviously
> doesn't exist. What are you trying to do?
>
>
> Regards
>
> Thorsten

Re: Source build of CloudStack versions 4.8.11 and 4.9.0.1 fails

Posted by Thorsten Heit <th...@vkb.de>.
Hi Max,

> I am getting the following error when I do a source build on version 
4.8.11
> and 4.9.0.1 (mvn -P deps is the command I run):
> 
> ---
> BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 7.442s
> [INFO] Finished at: Tue Nov 29 14:10:59 IST 2016
> [INFO] Final Memory: 31M/74M
> [INFO] ------------------------------------------------------------
> ------------
> [WARNING] The requested profile "deps" could not be activated because it
> does not exist.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-checkstyle-plugin:2.11:check
> (cloudstack-checkstyle) on project cloud-maven-standard: 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.8.1.1H in
> http://repo.maven.apache.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central 
has
> elapsed or updates are forced -> [Help 1]
> [ERROR]
> ------
> 
> Not clear how to fix this. Thanks in advance for all the help,

Have a look at the message:
You're activating a profile on the command line ("-P deps") that obviously 
doesn't exist. What are you trying to do?


Regards

Thorsten