aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lin Sun <linsun....@gmail.com>
Subject Re: Making a maven mirror for building aries - properties-maven-plugin refuses to cooperate
Date Mon, 09 Aug 2010 21:41:28 GMT
Hi Holly

I wonder how you config the new settings.xml.   Does it contain any
reference to the maven central repo?  If not, I think we should not
see a message like "checking for updates from central" as it can be
configured to only to download from your local repo or internal repo.

Lin


On Mon, Aug 9, 2010 at 8:44 AM, Holly Cummins <cumminsh@uk.ibm.com> wrote:
> Hi all,
>
> I'm trying to set up a local mirror of the maven repository required by
> Aries. The central repository has been a bit too unavailable lately for
> production use.
>
> These are the steps I'm following:
>
> 1. Build Aries normally.
> 2. Move my .m2 cache to a new location on my filesystem, ${myrepository}.
> 3. Configure a new .m2/settings.xml to use the ${myrepository} as a
> mirror.
> 4. Build aries. All dependencies are downloaded normally, until we get to
> properties-maven-plugin, and then it dies in a heap:
>
> ...
> Downloading:
> file:///home/cumminsh/.m2good/repository/org/apache/maven/plugins/maven-antrun-plugin/1.2/maven-antrun-plugin-1.2.jar
> 22K downloaded  (maven-antrun-plugin-1.2.jar)
> [INFO] artifact org.codehaus.mojo:properties-maven-plugin: checking for
> updates from central

Mime
View raw message