node.js - Error while running nodejs project on jenkins -


can please i'm running nodejs project on jenkins , got error :

[info] building node-js-project::server::node-js-project-appli 0.0.1-snapshot [info] ------------------------------------------------------------------------ [warning] pom org.apache.maven.plugins:maven-resources-plugin:jar:2.8-beta missing, no dependency information available [info] ------------------------------------------------------------------------ [info] reactor summary: [info]  [info] node-js-project .................................... success [  1.002 s] [info] node-js-project::delivery .......................... success [  3.013 s] [info] node-js-project::server ............................ success [  0.256 s] [info] node-js-project::server::node-js-project-appli ..... failure [  0.101 s] [info] node-js-project::common ............................ skipped [info] node-js-project::common::vertxstub ................. skipped [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 4.983 s [info] finished at: 2016-08-08t10:54:17+02:00 [info] final memory: 11m/28m [info] ------------------------------------------------------------------------ [warning] requested profile "nexus" not activated because not exist. [error] plugin org.apache.maven.plugins:maven-resources-plugin:2.8-beta or 1 of dependencies not resolved: failure find org.apache.maven.plugins:maven-resources-plugin:jar:2.8-beta in file:///var/lib/jenkins/workspace/node/node-build on demand/trunk/server/test-project-appli/../../../repository/maven cached in local repository, resolution not reattempted until update interval of node-js-project-local-plugin-repo has elapsed or updates forced -> [help 1] [error]  [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error]  [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/pluginresolutionexception [pipeline] } [pipeline] // dir [pipeline] } [pipeline] // node [pipeline] end of pipeline error: script returned exit code 1 finished: failure 

i tried delete folder c:\users\sam\.m2\repository\org\apache\maven\plugins\maven-resources-plugin doesn't work. tried this solution doesn't work.

if use -p nexus maven means "there profile called nexus; find , activate it". check environment , settings.xml flag , @ elements inside various xml files

i think have profile named nexus if it's true :

<activeprofiles>   <activeprofile>nexus</activeprofile> </activeprofiles> 

usually, mvn help:effective-pom useful see real pom like.

so,

i can't find maven-resources-plugin 2.8-beta version can @ maven repo in link below , use appropriate version of plugin , retry.

maven-resources-plugin


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -