Page 1 of 1

An error has occurred while processing the Maven artifact ta

Posted: Fri Apr 18, 2014 6:13 am
by anh795
I am trying to get my hands dirty on broadleaf, was trying to run broadleaf demosite on tomcat. For this purpose i addes db related props in catalina.properties, but i am facing below errors.

Code: Select all

start-db:
[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 'commons-io:commons-io:jar': Cannot find parent: org.apache:apache for project: org.apache.commons:commons-parent:pom:22 for project org.apache.commons:commons-parent:pom:22
[artifact:dependencies]   commons-io:commons-io:jar:2.1
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   apache.snapshots (http://repository.apache.org/snapshots),
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   public snapshots (http://nexus.broadleafcommerce.org/nexus/content/repositories/snapshots/),
[artifact:dependencies]   sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots),
[artifact:dependencies]   public releases (http://nexus.broadleafcommerce.org/nexus/content/repositories/releases/),
[artifact:dependencies]   maven-restlet (http://maven.restlet.org)
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies]    1) com.isb:site:war:1.0
[artifact:dependencies]    2) com.isb:core:jar:1.0
[artifact:dependencies]    3) org.broadleafcommerce:broadleaf-framework:jar:3.1.0-GA
[artifact:dependencies]    4) org.apache.solr:solr-solrj:jar:4.4.0
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies] in epilog non whitespace content is not allowed but got p (position: END_TAG seen ...</profiles>\r\n</project>\r\n\r\np... @394:2)
[artifact:dependencies]

BUILD FAILED
D:\Sample_Demo\eclipse-workspace\DemoSite\site\build.xml:96: Unable to resolve artifact: Unable to get dependency information: Unable to read the metadata file for artifact 'commons-io:commons-io:jar': Cannot find parent: org.apache:apache for project: org.apache.commons:commons-parent:pom:22 for project org.apache.commons:commons-parent:pom:22
  commons-io:commons-io:jar:2.1

from the specified remote repositories:
  apache.snapshots (http://repository.apache.org/snapshots),
  central (http://repo1.maven.org/maven2),
  public snapshots (http://nexus.broadleafcommerce.org/nexus/content/repositories/snapshots/),
  sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots),
  public releases (http://nexus.broadleafcommerce.org/nexus/content/repositories/releases/),
  maven-restlet (http://maven.restlet.org)

Path to dependency:
   1) com.isb:site:war:1.0
   2) com.isb:core:jar:1.0
   3) org.broadleafcommerce:broadleaf-framework:jar:3.1.0-GA
   4) org.apache.solr:solr-solrj:jar:4.4.0




please help me. thanks

Re: An error has occurred while processing the Maven artifact ta

Posted: Sun Apr 20, 2014 9:06 am
by prabhat.kataria
i think you can get a solution at this link http://stackoverflow.com/questions/1716 ... s-in-place

Re: An error has occurred while processing the Maven artifact ta

Posted: Mon Apr 21, 2014 4:30 am
by anh795
thanks.it's work.