Here's one: Ditch the web server and get a real repo manager. I suggest
Nexus, but there others. They all have free OSS versions, so there is
absolutely no reason to not use them.

Ron (one guy on this list) can tell you how they lost two years not using
one. :-)

/Anders

On Thu, Jan 13, 2011 at 07:10, amaresh mourya <amaresh.mou...@gmail.com>wrote:

> Hi All,
> *
> Case* :
> I installed apache server and created a repository there in dir :
> C:\Program
> Files\Apache Group\Apache2\htdocs\repository\
> I put some artifacts in there, I installed artifacts via (mvn install
> -DcreateChecksum=true) in this repository.
> These artifacts are basically some plugins that I want to use in my POM
> Then I specified one of the plugin in my POM and also this repository (that
> is http://localhost/repository)
>
> *Problem*:
>
> When I run mvn package on this POM, I was expecting the plugin to get
> installed in my local repository but only the <plugin>.pom and
> <plugin>.pom.sha1 are getting downloaded from my-remote-repository(
> http://localhost/repository). It is not downloading the actual JAR that is
> :<plugin>.jar
>
> Any pointers will be helpful..
>
> Thanks,
> Amaresh
>

Reply via email to