Good afternoon fellow broadleafers.
I have managed to download the workspace and configure eclipse as per "Getting Started". All goes well until I run the site ant task jetty-demo when I am confronted with the following error.
[artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'org.hibernate:hibernate-core:jar': Cannot find parent: org.hibernate:hibernate-parent for project: org.hibernate:hibernate-core:jar:null for project org.hibernate:hibernate-core:jar:null
[artifact:dependencies] org.hibernate:hibernate-core:jar:3.6.8.Final
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies] central (http://repo1.maven.org/maven2),
[artifact:dependencies] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots),
[artifact:dependencies] smartclient (http://www.smartclient.com/maven2),
[artifact:dependencies] magnolia.nexus.public (http://nexus.magnolia-cms.com/content/groups/public/),
[artifact:dependencies] public releases (http://www.broadleafcommerce.org/nexus/ ... /releases/)
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) com.mycompany:site:war:1.0
[artifact:dependencies] 2) com.mycompany:core:jar:1.0
[artifact:dependencies] 3) org.broadleafcommerce:broadleaf-framework:jar:2.0.0-M1-5
[artifact:dependencies] 4) org.broadleafcommerce:broadleaf-common:jar:2.0.0-M1-5
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies] start tag not allowed in epilog but got m (position: END_TAG seen ...</properties>\n</project>\n <m... @1061:13)
[artifact:dependencies]
As I am a newbie in relation to maven I was hoping maybe some more experienced people would be help me resolve this problem. I think maven is looking for the hibernate dependency in the listed repositories but cant find it (or perhaps its corrupted?). Do I need to manually add the dependencies to my pom or do I need tell maven to look in a different repository or am I way off the mark entirely?
Kind regards,
D
**Edit: I deleted the relevant hibernate folder from my local maven repository and the error has gone. Maybe this will help somebody else...
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.