On 2011-06-01 16:18, Michael Remijan wrote: > I'm using Maven 3.0.2 and when I execute 'mvn site' I get errors saying Maven > cannot find one of my pom files. The error is: > > [INFO] --- maven-site-plugin:2.1:site (default-site) @ ferris-bible-jmce ---
Note that maven-site-plugin 2.1 is not compatible with Maven 3. Please use version 3.0-beta-3. > Downloading: > http://repo1.maven.org/maven2/org/ferris/ferris-standard-project/0.0.2/ferris-standard-project-0.0.2.pom > [INFO] Unable to load parent project from a relative path: 1 problem was > encount > ered while building the effective model for > org.ferris:ferris-bible-parent:0.0.4 This is a standard error message in Maven 3. It occurs when Maven is building a project and cannot find the parent of the project using <parent> / <relativePath>. See https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes#Maven3.xCompatibilityNotes-ParentPOMResolution > I have 2 questions: > 1) Why isn't Maven looking for the file in .m2/repository/ ? The POM is > already there. > > 2) Why is Maven only look in "http://repo1.maven.org/maven2" for the pom and > not look through the rest of <repository> entries in my settings.xml? -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
