You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@skywalking.apache.org by gaurav kodmalwar <ga...@gmail.com> on 2020/06/25 13:47:07 UTC

mvn clean project

hi all,

As I am using this project in a restricted environment where either proxy
and credentials are needed for all the access. Where should I replace all
the repositories before building this project? I tried with
.maven/jev-config and most of the apps worked but then later the third last
project failed with below error. Is there a userguide to update all
dependencies?

[ERROR] Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project
apm-webapp: Failed to run task: 'npm install --registry=
https:/xyz.come/artifactory/api/npm/dev-npm'
<https://art-hq.intranet.qualys.com/artifactory/api/npm/dev-npm%27> failed.
org.apache.commons.exec.ExecuteException: Process exited with an error: 1
(Exit value: 1) -> [Help 1]


Thanks,
Gaurav

Re: mvn clean project

Posted by kezhenxu94 <ke...@163.com>.
Exact documentation is there in the repo[1], in your case, you may also need to configure NPM registry proxy, or if you don’t need to build the UI part, use maven profile, which is also indicated in the doc I linked to[1]

[1] https://github.com/apache/skywalking/blob/master/docs/en/guides/How-to-build.md

> On Jun 25, 2020, at 22:14, gaurav kodmalwar <ga...@gmail.com> wrote:
> 
> Or can someone come online to explain the steps. If not exact documention
> for the build and create a local image.
> 
> Thanks,
> Gaurav
> 
>> On Thu, Jun 25, 2020, 7:17 PM gaurav kodmalwar <ga...@gmail.com>
>> wrote:
>> 
>> hi all,
>> 
>> As I am using this project in a restricted environment where either proxy
>> and credentials are needed for all the access. Where should I replace all
>> the repositories before building this project? I tried with
>> .maven/jev-config and most of the apps worked but then later the third last
>> project failed with below error. Is there a userguide to update all
>> dependencies?
>> 
>> [ERROR] Failed to execute goal
>> com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project
>> apm-webapp: Failed to run task: 'npm install --registry=
>> https:/xyz.come/artifactory/api/npm/dev-npm'
>> <https://art-hq.intranet.qualys.com/artifactory/api/npm/dev-npm%27> failed.
>> org.apache.commons.exec.ExecuteException: Process exited with an error: 1
>> (Exit value: 1) -> [Help 1]
>> 
>> 
>> Thanks,
>> Gaurav
>> 

Re: mvn clean project

Posted by gaurav kodmalwar <ga...@gmail.com>.
Or can someone come online to explain the steps. If not exact documention
for the build and create a local image.

Thanks,
Gaurav

On Thu, Jun 25, 2020, 7:17 PM gaurav kodmalwar <ga...@gmail.com>
wrote:

> hi all,
>
> As I am using this project in a restricted environment where either proxy
> and credentials are needed for all the access. Where should I replace all
> the repositories before building this project? I tried with
> .maven/jev-config and most of the apps worked but then later the third last
> project failed with below error. Is there a userguide to update all
> dependencies?
>
> [ERROR] Failed to execute goal
> com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project
> apm-webapp: Failed to run task: 'npm install --registry=
> https:/xyz.come/artifactory/api/npm/dev-npm'
> <https://art-hq.intranet.qualys.com/artifactory/api/npm/dev-npm%27> failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1
> (Exit value: 1) -> [Help 1]
>
>
> Thanks,
> Gaurav
>