You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2003/02/18 16:34:32 UTC

Why don't plugins auto-download dependencies anymore?

In beta-7, I noticed that dependencies (such as jdepend, checkstyle,
etc) were downloaded by maven without the user needing to add the
dependency to project.xml.  Has this changed in beta-8 or have I got
some setting screwed up?

> -----Original Message-----
> From: Jason van Zyl [mailto:jason@zenplex.com] 
> Sent: Monday, February 17, 2003 12:54 PM
> To: Turbine Maven Users List
> Subject: Re: What happened to Plexus ?
> 
> 
> On Mon, 2003-02-17 at 12:46, Frey, John (MED) wrote:
> > The link from the Maven User Guide to Plexus CVS Repository 
> is broken. 
> > The Repository seems to have been restructured.
> >  
> > The I'm trying to follow Plexus as an example for doing 
> Multi Project 
> > Builds. Can anyone please help? Jason?
> 
> Sorry 'bout that. We moved Plexus to the Rackspace box. It's here now:
> 
http://cvs.werken.com/viewcvs.cgi/plexus-components/?cvsroot=plexus

I'll update the docs. Wow, someone read the docs ;-)
 
> 
> GE  Medical Systems
> ______________________________________________________ 
> John E. Frey 
> Lead Software Developer, iCenter
> Global Service Technology 
> Phone: (262) 896-2800  Fx: (262) 896-2790 
> email: John.Frey@med.ge.com 
> http://www.gemedicalsystems.com <http://www.gemedicalsystems.com/>  
> 
>  
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational and
technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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


Re: Why don't plugins auto-download dependencies anymore?

Posted by Colin Sampaleanu <co...@exis.com>.
Henning P. Schmiedehausen wrote:

>Jason van Zyl <ja...@zenplex.com> writes:
>
>>If it's not happening it's an error. The first time you go to use a
>>plugin the dependencies should be downloaded. This is different from b7
>>where the first time you used maven _all_ plugin dependencies were
>>downloaded.
>>    
>>
>>If you're not getting your plugin deps coming down it might be related
>>to the transitive plugin dependency problem. What isn't working for you?
>>    
>>
>>I know what the problem is and I will try to get it fixed soon and try
>>to release a beta-9 next week.
>>    
>>
>Is it possible to have a different repository for the plugin related
>jars than for my project related jars.
>
>I really like to be able to rm -rf ~/javalibs/maven and have my
>project pull down all its jars for a clean build even if my remote repo
>does not have all of the jars needed by the plugins.
>
>	Regards
>		Henning
>  
>
Please see my message in the "Re: using a central repository other than 
ibiblio ?" thread for a tip on using multiple remote repos. The only 
remaining issue is that plugins currently will always try to use ibiblio 
to satisfy their jar dependencies.



Re: Why don't plugins auto-download dependencies anymore?

Posted by Brian Ewins <Br...@btinternet.com>.
You can have multiple repositories, maven will just try each of them in 
order and pull the jar back from the first repository that has it.

<http://jakarta.apache.org/turbine/maven/reference/user-guide.html#Using%20Multiple%20Remote%20Repositories>

Henning P. Schmiedehausen wrote:
> Jason van Zyl <ja...@zenplex.com> writes:
> 
> 
>>If it's not happening it's an error. The first time you go to use a
>>plugin the dependencies should be downloaded. This is different from b7
>>where the first time you used maven _all_ plugin dependencies were
>>downloaded.
> 
> 
>>If you're not getting your plugin deps coming down it might be related
>>to the transitive plugin dependency problem. What isn't working for you?
> 
> 
>>I know what the problem is and I will try to get it fixed soon and try
>>to release a beta-9 next week.
> 
> 
> Is it possible to have a different repository for the plugin related
> jars than for my project related jars.
> 
> I really like to be able to rm -rf ~/javalibs/maven and have my
> project pull down all its jars for a clean build even if my remote repo
> does not have all of the jars needed by the plugins.
> 
> 	Regards
> 		Henning
> 


Re: Why don't plugins auto-download dependencies anymore?

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Jason van Zyl <ja...@zenplex.com> writes:

>If it's not happening it's an error. The first time you go to use a
>plugin the dependencies should be downloaded. This is different from b7
>where the first time you used maven _all_ plugin dependencies were
>downloaded.

>If you're not getting your plugin deps coming down it might be related
>to the transitive plugin dependency problem. What isn't working for you?

>I know what the problem is and I will try to get it fixed soon and try
>to release a beta-9 next week.

Is it possible to have a different repository for the plugin related
jars than for my project related jars.

I really like to be able to rm -rf ~/javalibs/maven and have my
project pull down all its jars for a clean build even if my remote repo
does not have all of the jars needed by the plugins.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

Re: Why don't plugins auto-download dependencies anymore?

Posted by Jason van Zyl <ja...@zenplex.com>.
On Tue, 2003-02-18 at 10:34, Quinton McCombs wrote:
> In beta-7, I noticed that dependencies (such as jdepend, checkstyle,
> etc) were downloaded by maven without the user needing to add the
> dependency to project.xml.  Has this changed in beta-8 or have I got
> some setting screwed up?

If it's not happening it's an error. The first time you go to use a
plugin the dependencies should be downloaded. This is different from b7
where the first time you used maven _all_ plugin dependencies were
downloaded.

If you're not getting your plugin deps coming down it might be related
to the transitive plugin dependency problem. What isn't working for you?

I know what the problem is and I will try to get it fixed soon and try
to release a beta-9 next week.



> > -----Original Message-----
> > From: Jason van Zyl [mailto:jason@zenplex.com] 
> > Sent: Monday, February 17, 2003 12:54 PM
> > To: Turbine Maven Users List
> > Subject: Re: What happened to Plexus ?
> > 
> > 
> > On Mon, 2003-02-17 at 12:46, Frey, John (MED) wrote:
> > > The link from the Maven User Guide to Plexus CVS Repository 
> > is broken. 
> > > The Repository seems to have been restructured.
> > >  
> > > The I'm trying to follow Plexus as an example for doing 
> > Multi Project 
> > > Builds. Can anyone please help? Jason?
> > 
> > Sorry 'bout that. We moved Plexus to the Rackspace box. It's here now:
> > 
> http://cvs.werken.com/viewcvs.cgi/plexus-components/?cvsroot=plexus
> 
> I'll update the docs. Wow, someone read the docs ;-)
>  
> > 
> > GE  Medical Systems
> > ______________________________________________________ 
> > John E. Frey 
> > Lead Software Developer, iCenter
> > Global Service Technology 
> > Phone: (262) 896-2800  Fx: (262) 896-2790 
> > email: John.Frey@med.ge.com 
> > http://www.gemedicalsystems.com <http://www.gemedicalsystems.com/>  
> > 
> >  
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society