maven - Errors in pom.xml with dependencies (Missing artifact...) -


a friend has passed me maven project i'm trying run locally in computer. have done in eclipse, selected:

file -> import -> existing maven projects

after that, project showed me 4 errors in pom.xml (missing artifact..):

enter image description here

i tried removing content of .m2 folder , in eclipse clicked on project , chose "run as" -> "maven clean" , "run as" -> "maven install". still have same errors. i'm new spring dont know else do.

edit:

when try do: run as/ maven install, console says:

slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details. [info] scanning projects... [info]                                                                          [info] ------------------------------------------------------------------------ [info] building datalayer 0.0.1-snapshot [info] ------------------------------------------------------------------------ [warning] pom javax.persistence:javax.persistence:jar:1.0.0 missing, no     dependency information available [warning] pom hibernate-core:hibernate-core:jar:4.2.1.final missing, no     dependency information available [warning] pom hibernate-commons-annotations:hibernate-commons-annotations:jar:4.0.1.final missing, no dependency information available [warning] pom jboss-logging:jboss-logging:jar:3.1.0.cr2 missing, no dependency information available [warning] pom jta:jta:jar:1.1 missing, no dependency information available [info] ------------------------------------------------------------------------ [info] build failure [info] ------------------------------------------------------------------------ [info] total time: 1.065s [info] finished at: wed aug 07 11:41:45 vet 2013 [info] final memory: 4m/90m [info] ------------------------------------------------------------------------ [error] failed execute goal on project datalayer: not resolve dependencies     project socialmanager:datalayer:jar:0.0.1-snapshot: following artifacts not resolved: javax.persistence:javax.persistence:jar:1.0.0, hibernate-core:hibernate-core:jar:4.2.1.final, hibernate-commons-annotations:hibernate-commons-annotations:jar:4.0.1.final, jboss-logging:jboss-logging:jar:3.1.0.cr2, jta:jta:jar:1.1: failure find javax.persistence:javax.persistence:jar:1.0.0 in http://repository.jboss.org/nexus/content/groups/public/ cached in local repository, resolution not reattempted until update interval of jboss repository 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. 

edit2: complete pom.xml: https://dl.dropboxusercontent.com/u/31349296/pom.xml looks pretty awful when try paste code here.

it seemed lot of dependencies incorrect.

enter image description here

download whole pom here

a place correct dependencies maven repository website.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -