directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Cooper <...@maxcooper.com>
Subject Re: Impossible to build ourproject from scratch
Date Sat, 28 Oct 2006 03:24:43 GMT
I don't have an answer for you, but our project has the same problem.
You have to 'mvn install' a plugin that is part of our project tree
before you can build from the top of the project.

We tried adding a dependency on the plugin module, in hopes that it
would cause maven to build the plugin first, but it didn't work.

Does anyone know how to do this? It seems like this would be somewhat
common, since many projects may need to build one or more special
plugins to support the rest of their builds.

-Max

On Fri, 2006-10-27 at 11:09 +0200, Emmanuel Lecharny wrote:
> Hi all,
> 
> it's actually impossible to build Apache Directory Server project just 
> after a svn co, with a clean maven repo (like a new user will do), for 
> some (unknown) reason, maven is looking for a missing plugin, which will 
> always miss, because this plugin is generated later :) (kind of 
> chicken/egg pb, isn't it ;)
> 
> This is sad, because to be able to build the project, a new user must go 
> through a tough path (like building MINA, then shared, then 
> apacheds/sar-plugin, then apacheds ...)
> 
> Is somebody can figure out why maven tries to download this missing 
> plugin *before* doing anything else, even if modules are described in an 
> order which has been selected to avoid such a burden ?
> 
> Any help wecome !!!
> 
> Emmanuel
> 
> PS : for those who want to experiment such a problem, it's easy : just 
> svn co 
> http://svn.apache.org/repos/asf/directory/branches/apacheds/1.0-trunks/ 
> and type mvn install after having removed ~/.m2/repository
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


Mime
View raw message