commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Raeburn" <sraeb...@apache.org>
Subject RE: cvs commit: jakarta-commons-sandbox/chain/apps/mailreader build.xml
Date Sat, 10 Apr 2004 23:46:31 GMT
One way (almost certainly not the way inted by the Maven authors) is to
manually drop the jars into the your local maven repository (e.g.
.maven/repository/struts/jars/struts-1.2.0.jar) then Maven won't bother
looking for it in the remote repository.

I believe you can set a property to override the location, but I haven't
tried that yet.

Steve


> -----Original Message-----
> From: Craig McClanahan [mailto:craigmcc@apache.org]
> Sent: April 10, 2004 2:38 PM
> To: Jakarta Commons Developers List
> Cc: jakarta-commons-sandbox-cvs@apache.org
> Subject: Re: cvs commit: jakarta-commons-sandbox/chain/apps/mailreader
> build.xml
>
>
> craigmcc@apache.org wrote:
>
> >craigmcc    2004/04/10 14:23:06
> >
> >  Modified:    chain/apps/mailreader build.xml
> >  Log:
> >  Tweak build.xml to allow property substitution of the
> Maven executable
> >  to actually work on a Unix system.
> >
> >
> >
> OK, now it can execute Maven correctly, but trying to compile
> fails on
> an inability to download struts-1.2.0.jar and
> commons-chain-0.2-dev.jar;
> can anyone help a Maven newbie know how to populate my local
> repository
> locally to avoid this problem?
>
> By the way, where the heck is the default remote repository for Maven
> 1.0-rc2?
>
> Craig
>
> >  Revision  Changes    Path
> >  1.3       +1 -1
> jakarta-commons-sandbox/chain/apps/mailreader/build.xml
> >
> >  Index: build.xml
> >  ===================================================================
> >  RCS file:
> /home/cvs/jakarta-commons-sandbox/chain/apps/mailreader/build.xml,v
> >  retrieving revision 1.2
> >  retrieving revision 1.3
> >  diff -u -r1.2 -r1.3
> >  --- build.xml	27 Mar 2004 18:21:30 -0000	1.2
> >  +++ build.xml	10 Apr 2004 21:23:06 -0000	1.3
> >  @@ -6,7 +6,7 @@
> >           <delete    dir="target"/>
> >     </target>
> >     <target description="Call Maven goal under
> subdirectory" name="maven">
> >  -    <exec executable="maven.bat" dir="${exec.dir}">
> >  +    <exec executable="${maven.exec}" dir="${exec.dir}">
> >         <arg line="${maven.goal}" />
> >       </exec>
> >     </target>
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message