You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by amaresh mourya <am...@gmail.com> on 2011/01/13 07:10:02 UTC

Artifact not getting downloaded from my-won-remote-repository

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

Re: Artifact not getting downloaded from my-won-remote-repository

Posted by Ron Wheeler <rw...@artifact-software.com>.
On 13/01/2011 4:25 AM, Stephen Connolly wrote:
> On 13 January 2011 08:58, Anders Hammar<an...@hammar.net>  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. :-)
+1
> 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)
>
> ;-)
A IDE with full GUI support for Maven is a real help.

(thereby rendering the very very useful dependency:analyze less useful) should be
(thereby rendering the very very useful dependency:analyze required less often)

Ron


> -Stephen
>> /Anders
>>
>> On Thu, Jan 13, 2011 at 07:10, amaresh mourya<am...@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
>>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


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


Re: Artifact not getting downloaded from my-won-remote-repository

Posted by amaresh mourya <am...@gmail.com>.
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 <
stephen.alan.connolly@gmail.com> wrote:

> On 13 January 2011 08:58, Anders Hammar <an...@hammar.net> 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 <amaresh.mourya@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
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Artifact not getting downloaded from my-won-remote-repository

Posted by Stephen Connolly <st...@gmail.com>.
On 13 January 2011 08:58, Anders Hammar <an...@hammar.net> 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 <am...@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
>>
>

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


Re: Artifact not getting downloaded from my-won-remote-repository

Posted by Anders Hammar <an...@hammar.net>.
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 <am...@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
>