On Aug 25, 2006, at 3:21 PM, Jorg Heymans wrote:
On 25 Aug 2006, at 19:08, Mark Lundquist wrote:
Next I wanted to try building from svn trunk. I followed the instructions on http://cocoon.zones.apache.org/daisy/documentation/g1/798.html. I did my "mvn clean install", and I get this:

[INFO] Scanning for projects...
[INFO] ---------------------------------------------------------------------- --
[ERROR] FATAL ERROR
[INFO] ---------------------------------------------------------------------- --
[INFO] Error building POM (may not be this project's POM).

Project ID: org.apache.cocoon:cocoon:pom:2-SNAPSHOT

Reason: Cannot find parent: org.apache:apache for project: org.apache.cocoon:cocoon:pom:2-SNAPSHOT

well as it says it cannot find the parent pom of our pom, chances are you've configured a mirror that doesn't have that pom.

Ha! You know, I've become less and less sympathetic to my own users who can't be bothered to actually read an error message before shouting for help :-) Now I know to be a little more sympathetic. I'm new to the ways of Maven...

A good thing to do here is to check manually if your repo actually has that file. So check eg mirrors.dotsrc.org/maven2/org/apache/apache/ etc.

OK, I don't know what the problem is. Both mergere and dotsrc appear to have the artifact, but I still get the same error. Here's my settings.xml:

<?xml version="1.0"?>
<settings>
  <mirrors>
    <mirror>
      <id>mirrors.dotsrc.org</id>
      <url>http://mirrors.dotsrc.org/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- Denmark -->
    </mirror>
    <mirror>
        <id>repo.mergere.com</id>
        <url>http://repo.mergere.com/maven2</url>
        <mirrorOf>central</mirrorOf>
      <!-- United States, somewhere -->
    </mirror>
    <mirror>
      <id>lsu.edu</id>
      <url>http://ibiblio.lsu.edu/main/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- United States, Louisiana -->
     </mirror>
    <mirror>
      <id>ibiblio.net</id>
      <url>http://www.ibiblio.net/pub/packages/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- United States, North Carolina -->
    </mirror>
    <mirror>
      <id>planetmirror.com</id>
      <url>http://downloads.planetmirror.com/pub/maven2</url>
      <mirrorOf>central</mirrorOf>
      <!-- Australia, Queensland -->
    </mirror>
  </mirrors>
</settings>

What am I doing wrong?
—ml—

Reply via email to