Hi All, With too much of tinkering I found out that nothing was wrong about using apache server and I had to just specify my repository under <pluginRepositories> section rather than <repositories>.
Problem solved. Thanks to all. On Thu, Jan 13, 2011 at 2:55 PM, Stephen Connolly < [email protected]> wrote: > On 13 January 2011 08:58, Anders Hammar <[email protected]> wrote: > > 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. :-) > > Yeah but he'll have to put up with the sales pitch for Eclipse/STS and > projects that collect dependencies (thereby rendering the very very > useful dependency:analyze less useful) > > ;-) > > -Stephen > > > > /Anders > > > > On Thu, Jan 13, 2011 at 07:10, amaresh mourya <[email protected] > >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 > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
