portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ate Douma <...@douma.nu>
Subject Re: Maven-1 build initMavenPlugin and plugin.property refresh
Date Sun, 03 Dec 2006 20:43:02 GMT
Hajo Birthelmer wrote:
> Some bizarre behavior:
> 
>  
> 
> I modified the plugin.jelly and added a goal to clean up some directory
> underneath the portal path and added a property for the directory name to
> the plugin.properties. The goal is part of the allBuild-goal.
> 
> So far so good.
> 
> Never had any problem until: I installed the patch on a second machine, made
> sure that all the files got updated correctly  and invoked "maven allClean
> initMavenPlugin allBuild".and watched while maven attempted to delete my
> portal path..the new property was not set..
> 
>  
> 
> I repeated the steps on a third machine (also clean) this morning and ran
> "allClean initMavenPlugin" separately before running maven allBuild..and all
> worked fine..
> 
> So what I assume is that the plugin properties were loaded into memory
> before the initMavenPlugin executed and allBuild picked up the old ones..
> 
> Is that possible or was I just haunted by the big spirits of maven?
Yes, that is possible.
Once a plugin is loaded its settings won't be magically updated because a physical update
of the plugin itself.

> 
>  
> 
> Hajo 
> 
>  
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message