Re: Impossible to build ourproject from scratch

2006-10-27 Thread Edwin Punzalan


Hmm... I think this can be fixed by providing those artifacts in a 
snapshot repository so maven can download them.



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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Impossible to build ourproject from scratch

2006-10-27 Thread Max Cooper
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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Impossible to build ourproject from scratch

2006-10-27 Thread Wendy Smoak

On 10/27/06, Max Cooper [EMAIL PROTECTED] wrote:


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.


More than one project has a separate 'maven' module that contains
things like a project-level 'master' pom, and plugins, that have to be
released in advance of a project release.

--
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]