tag:blogger.com,1999:blog-2976711854892236281.post6207255744395902396..comments2024-03-18T14:00:40.328+02:00Comments on Zen in the art of IT: Some useful Maven configurations, practices and lessons learntBrianhttp://www.blogger.com/profile/09252223334818664049noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-2976711854892236281.post-42718677748380461972021-10-20T04:11:29.137+02:002021-10-20T04:11:29.137+02:00Mua vé máy bay tại Aivivu, tham khảo
vé máy bay đ...Mua vé máy bay tại Aivivu, tham khảo<br /><br /><a href="https://aivivu.com/ve-may-bay-di-my-us-gia-re-bao-nhieu-tien/" rel="nofollow">vé máy bay đi Mỹ Vietnam Airline</a><br /><br /><a href="https://datvere.vn/ve-may-bay-tu-my-ve-viet-nam/" rel="nofollow">mua vé về việt nam </a><br /><br /><a href="https://vevietnamairline.com/ve-may-bay-tu-nhat-ban-ve-viet-nam-9312" rel="nofollow">tin tức các chuyến bay từ nhật về việt nam</a><br /><br /><a href="https://vevietnamairline.com/ve-may-bay-tu-duc-ve-viet-nam-9319" rel="nofollow">ve may bay tư duc ve viet nam</a><br /><br /><a href="https://datvere.vn/ve-may-bay-tu-canada-ve-viet-nam/" rel="nofollow">thông tin chuyến bay từ canada về việt nam</a><br /><br /><a href="https://datvere.vn/ve-may-bay-tu-nhat-ban-ve-viet-nam/" rel="nofollow">Máy bay từ Hàn Quốc về Việt Nam</a><br /><br /><a href="https://aivivu.com/ve-may-bay-chuyen-gia-nuoc-ngoai-sang-viet-nam/" rel="nofollow">chuyen bay chuyen gia ve viet nam</a>vé máy bay từ canada về việt namhttps://aivivu.com/ve-may-bay-tu-canada-ve-viet-nam-gia-re/noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-64685314288113251132010-10-19T17:31:16.234+02:002010-10-19T17:31:16.234+02:00@Sylain, yeah I missed the versioning bit too...
...@Sylain, yeah I missed the versioning bit too...<br /><br />In a previous comment Simon Martinelli added a link to how it is supposed to be done "Dependency Management":<br />http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_ManagementBrianhttps://www.blogger.com/profile/09252223334818664049noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-8934042563965833122010-10-19T10:27:28.051+02:002010-10-19T10:27:28.051+02:00this is a very interesting article, but it led me ...this is a very interesting article, but it led me to what i now consider as a big mistake: what's the point in defining the version of a project in its parent? <br /><br />i thought it would be convenient to handle versions in only one file, but if another project depends on one of our children projects, that means it is necessary to have both the child and parent projects delivered, which means that the version of the parent has to be handled as well, and that implies changes in all pom files!<br /><br />...or is there some important point i missed?sylvainnoreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-76531091060753094912010-07-15T14:26:32.502+02:002010-07-15T14:26:32.502+02:00@Gromo, yeah I suspected that it would not be the ...@Gromo, yeah I suspected that it would not be the case any more, thanks though, good to know if Nexus gets us down there is a good alternative.<br /><br />@Simon/Thai I just quickly scanned over the link you posted... damn, how did we miss that??... I will add a section onto the post at the end describing dependency management, that is a lot neater. Thanks<br /><br />@Atma/fcamblor I actually didn't know that, just lucky that we didn't run into that I guess, good to know.Brianhttps://www.blogger.com/profile/09252223334818664049noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-58622785519611491952010-07-15T13:13:04.257+02:002010-07-15T13:13:04.257+02:00*Prefer to use the "activeProfiles" sect...*Prefer to use the "activeProfiles" section to define profiles by default there !<br /><br />(tags are not imterpreted here)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-55104864266531879782010-07-15T13:10:57.718+02:002010-07-15T13:10:57.718+02:00Hi !
Just a warning : using activeByDefault in yo...Hi !<br /><br />Just a warning : using activeByDefault in your weblogic-ear profile could lead to bad behaviour.<br />The activeByDefault means "active if no other profile has been explicitely activated".<br /><br />That is to say if, for some reason, you put a new profile (for example, in your super pom, allowing to unleash some reporting-only behaviour when activated) and activate in in CLI mode (example : "mvn -P reporting clean install"), your weblogic-ear will then not be activated !<br /><br />Prefer to use the section to define profiles by default there !Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-50841793082941294002010-07-15T12:56:55.219+02:002010-07-15T12:56:55.219+02:00Thanks a lot for your informative article.
One im...Thanks a lot for your informative article.<br /><br />One important point that Thai Ha already mentioned:<br /><br />dependencyManagement ist the "correct" way to manage versions:<br /><br />http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management72 Services Bloghttps://www.blogger.com/profile/11198658378107515823noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-10731039649348237642010-07-15T12:51:44.125+02:002010-07-15T12:51:44.125+02:00Your past Artifactory experience dates a few of ye...Your past Artifactory experience dates a few of years back - I think your experience today will be much different. For us, it is extremely fast and stable (we actually switched from Nexus for the slow searches and too many random not-found under heavy load). I also came to rely on the nice integration of Artifactory with Hudson.Gromonoreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-68086984099972926102010-07-15T03:35:40.079+02:002010-07-15T03:35:40.079+02:00Thanks. Some comments:
1. When using parent POM, ...Thanks. Some comments:<br /><br />1. When using parent POM, I always use relativePath=../pom.xml in child POM. That will help me to avoid installing parent POM before building the source tree<br /><br />2. About controlling dependency versions from parent POM, there is another way using dependencyManagement<br /><br />3. Using profile: I often define a profile A using !env property, and another profile B using env=B (similar if you have more profiles). In this way, I can build "mvn package" and profile A will be used. When I using "mvn package -Denv=B", profile B will be used instead of profile A.Thai Hahttps://www.blogger.com/profile/14206641426870349644noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-10896299936412534682010-07-14T21:28:02.562+02:002010-07-14T21:28:02.562+02:00Thanks,
1. I haven't looked at the release plu...Thanks,<br />1. I haven't looked at the release plugin... we are just building off promotion states and deploying from hudson scripts... I know there is a drive now again for a central deploy team, I am sure we'll look into that then.<br /><br />2. I know someone looked at Sonar, not sure what happened to it, I think we had "corporate bandwidth and rights issues", i.e couldn't download what we needed... I remember it looked cool, completely forgot about it when writing this though...<br /><br />3. Yeah we use Nexus, Artifactory caused Joe endless hassles... local repo's a must... I'll add that in if I have time tomorrow..Brianhttps://www.blogger.com/profile/09252223334818664049noreply@blogger.comtag:blogger.com,1999:blog-2976711854892236281.post-45924758334382372142010-07-14T20:44:38.081+02:002010-07-14T20:44:38.081+02:00Brian, good article. A couple of points I would ad...Brian, good article. A couple of points I would add here:<br /><br />1. Making use of the Maven release plugin. Invaluable taking care of your branching, tagging, releasing and deploying artifacts without the schlep.<br /><br />2. Switch off checkstyle, cobertura and surefire - use Sonar instead.<br /><br />3. Use a local repository, preferably managed by Nexus or Artifactory.Andre van der Schyffhttps://www.blogger.com/profile/07524591446641762719noreply@blogger.com