On Mon, Dec 21, 2009 at 2:46 AM, amaresh mourya
<amaresh.mou...@gmail.com> wrote:
> I ran the org.apache.maven.project.MavenProject build() method from
> DeafultMavenProjectBuilder for maven-artifact's pom.xml (see A) to build
> Maven Project for maven-artifact, but since it is derived from
> org.apache.maven:maven:2.2.0 's pom.xml which has parent entry like shown
> below (see B), and maven-parent is not located at relative path is gives me
> the following error (see C):
> If maven-parent is not available at relative path it should download it from
> the central.
>
> 1. I haven't touched my local repo.
> 2. my setting.xml resides at \apache-maven-2.1.0\conf\settings.xml and have
> just proxy information

Did you try this build once before adding your proxy information to
settings.xml?  If so, Maven may be "remembering" that failure.  By
default it only tries to download an artifact once per day.

After checking the central repo and confirming that the artifact does
exist, try deleting at least that sub-tree from your local repository,
and try the build again.  You can also try adding -U on the command
line to force updates.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to