Maven Could not resolve dependencies -


now, have project runs fine on windows computer. after copied linux computer, when compiling reports following error:

failed execute goal on project alert: not resolve dependencies project com.cloud.ras:alert.

the pom com.external:commons-logging:jar:1.0.4.1 missing, no dependency information available pom com.external:freemarker:jar:2.3.4 missing, no dependency information available pom com.external:log4j:jar:1.2.14 missing, no dependency information available pom com.soa.lib:eboxservicecommon:jar:2.5.3 missing, no dependency information available

but have copied these jars maven repository. , can give me help?

you should not copy jars in first place. that's maven job resolve dependencies you.

it helpful if explain reason why need use own groupid e.g. com.external in first place i.e. commons-logging apache use com.external groupid.

if insist on wanting use own groupid, @ least download jar , install using maven. see here: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -