Re: Treat maven warnings as errors

2017-03-06 Thread Gordon Cody
Hello Yaron You may find this an impossible task to accomplish. The standard maven plugins generally do a good job with their messages but some 3rd-party jars and plugins log WARNING messages, a few even log ERROR messages when the developer really should have used INFO or possibly logged nothing

Re: Create test jar during build without attaching

2016-08-19 Thread Gordon Cody
Perhaps I don't understand what is meant by "not attaching" but if all you want to do is skip deployment, the maven-deploy-plugin has this feature: true which can be added to the module you do not wish to deploy. We use this in order to not

Re: Fail fast for 401 Unauthorized failures

2016-07-27 Thread Gordon Cody
Docs are not always accurate. Sometimes they are simply not up to date. All of our GET/PUT requests include credentials on the first attempt. This is from our settings.xml. Notice the tag , someID someUser somePassword httpclient

Re: Maven and pre-emptive authentication

2015-03-30 Thread Gordon Cody
Hello James It really does try twice. The first time it tries with no credentials supplied. This came to our attention when we upgraded from maven-2.0.9 to maven-3.0.5. We found out at that time that it had to do with being compliant to some web specification and there was no way to force it to

unit tests with multiple oracle, db2 etc

2014-05-23 Thread Gordon Cody
We have to begin running junit tests using more than 1 database type. I am wondering how best to run all unit tests using oracle then run all of the tests again using db2 then postgres. I figured some of you out there must have a similar requirement. Currently we have

Re: maven-deploy-plugin: exclude specific project artifact(s)?

2014-01-21 Thread Gordon Cody
Hello We use this to prevent deploying ears/wars into our repo. Everything is built but not everything gets deployed. Newer versions of the deploy plugin allow you to skip deployment so within a few specific poms you can add. plugin

Re: AW: AW: AW: mvn release:prepare does not update parent version

2013-11-09 Thread Gordon Cody
You may want to upgrade maven itself once more. It is not just maven itself but the combination of plugins that are used and your environment matters. Ensure that each maven goal you plan on using in your environment actually works in your environment before you need it for real. Maven has to work

Re: Maven versions in compilation

2013-10-01 Thread Gordon Cody
The first project I was switching to mvn3 I was also skeptical about the ear produced being the same. You must ensure both mvn2 and mvn3 use the same version of java (check using mvn -version) Separately explode the ear created by each version of mvn (lets call them A and B) and and all war

Re: Bootstraping a repository manager

2011-05-19 Thread Gordon Cody
Hi Gus We seriously considered trying to implement the type of controls you talked about, but there are literally thousands of files you would have to manually install once you figure out what they all are. What we ended up doing was using the mirroOf feature in settings.xml and allow

reconciling svn repository permissions vs maven trunk/tags/branches

2011-01-07 Thread Gordon Cody
Hello List Svn repositories allow for access permissions to be set at the directory level. Maven seems to expect that developers have access to the entire repository. Is there a way to reconcile these differences such that some people (for example junior, qa or non technical people have access

Re: reconciling svn repository permissions vs maven trunk/tags/branches

2011-01-07 Thread Gordon Cody
-07 17:14, Gordon Cody wrote: Hello List Svn repositories allow for access permissions to be set at the directory level. Maven seems to expect that developers have access to the entire repository. What makes you think so? I use Maven against an SVN repo where I do not have read access

Re: trouble with checkstyle

2010-08-06 Thread Gordon Cody
Hello Dennis Thanks for the link. It does sound like that error. Pretty crippling (imo). I found and installed maven-checkstyle-plugin-2.4.jar and installed it in my artifactory. It took a while to find one with valid META-INF\maven\plugin.xml. Same results. My suspicion is that if I upgraded

trouble with checkstyle

2010-08-05 Thread Gordon Cody
Hello List checkstyle is not using my configuration (specifiied in pom). It seems to insist on picking up config/sun_checks.xml no matter what i try to do. Using maven2.0.9 and checkstyle2.5. My project is setup like the multi-module example project. In my parent pom I have added to build

how to get pom updated during mvn release when sub-project is not part of normal build

2010-07-30 Thread Gordon Cody
Hello List I have a multimodule project similar to the following: toplevel pom.xml modA pom.xml modB pom.xml modC pom.xml Modules A B are specified explicitly in the toplevel pom. Module C is not. It is only to be run when required and is done stand-alone. When I do mvn

mvn and amazon cloud

2010-07-20 Thread Gordon Cody
Hello Has anyone succesfully used maven preferably with svn (and either nexus or artifiactory) within Amazon cloud. Any useful tips to share? Regards, Gord Cody gc...@zafinlabs.com

Re: mvn and amazon cloud

2010-07-20 Thread Gordon Cody
hi I'm interested in both actually. apologies for being vague. regards gord On Jul 20, 2010 4:59 PM, Wayne Fay wayne...@gmail.com wrote: Has anyone succesfully used maven preferably with svn (and either nexus or artifiactory) within ... What exactly are you asking about? Building code in an

Anyone have experience using maven with Aldon Lifecycle Manager

2010-05-19 Thread Gordon Cody
Has anyone on the list had to integrate maven with the Aldon Lifecycle Manager ? Any experiences to share ? -Regards Gord Cody

version number without . component

2010-02-17 Thread Gordon Cody
Is it possible/reasonable to have a version number be simply a single number? e.g. 42-SNAPSHOT. Released version would be 42 and next snapshot would be 43-SNAPSHOT or is the . component a requirement? Thanks Regards Gord gc...@zafinlabs.com

Re: version number without . component

2010-02-17 Thread Gordon Cody
Thanks for the quick reply. -Gord Is it possible/reasonable to have a version number be simply a single number?  e.g. 42-SNAPSHOT. Released version would be 42 and next snapshot would be 43-SNAPSHOT or is the . component a requirement?

Re: Broken by design

2009-08-14 Thread Gordon Cody
Download from the internet was one of my biggest fear as well as versions of underying poms/jars could change which would affect reproducibilty. Additiionally, download from internet could mean you might not be able to build at all if some external site cound not be reached or someone else

strange err during release:prepare

2009-06-05 Thread Gordon Cody
Hello All We are having trouble running mvn release:prepare on a multimodule projects The end result is maven aborting the release with its usually helpful error message about a missing artifact. The -DdryRun=true option passes of course. This module is set up like all of the others which have

Re: SNAPSHOT version question

2009-06-01 Thread Gordon Cody
This question was asked/answered on Apr30. The person who answered said Use -SNAPSHOT Some plugins are more picky than others, so use the standard and spare yourself some pain later. The artifact, when it leaves your premises should be a released version, so it should not have the SNAPSHOT

Re: Maven inconsistent build with flexbuilder

2009-05-07 Thread Gordon Cody
2009/4/30 Nick Stolwijk nick.stolw...@gmail.com Ah, those swf files were generated. :) I thought those came from your SVN. Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 29, 2009 at 10:14 PM, Gordon Cody gc...@zafinlabs.com

Re: How to specify SCM username/password for release plugin?

2009-05-04 Thread Gordon Cody
(with appropriate substitutions of course) In our topmost pom for the project we use: scm developerConnectionscm:svn:https://svnhost/svnrepo/trunk/developerConnection /scm and in the settings.xml (of those allowed to do releases) we put both server entries: servers server

Re: how to not deploy sources.jar to artifactory

2009-05-01 Thread Gordon Cody
Exactly what I wanted to (not) see. Thanks again Wendy and Todd too Regards, Gord On Wed, Apr 29, 2009 at 5:26 PM, Wendy Smoak wsm...@gmail.com wrote: On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody gc...@zafinlabs.com wrote: I know I read this (on someones blog I think) but did not realise I

Re: how to not deploy sources.jar to artifactory

2009-04-30 Thread Gordon Cody
-Original Message- From: Gordon Cody [mailto:gc...@zafinlabs.com] Sent: Wednesday, April 29, 2009 5:43 PM To: Maven Users List Subject: Re: how to not deploy sources.jar to artifactory Thanks Wendy. We have to do a release in a couple of days so I wont be able to verify this till

Maven inconsistent build with flexbuilder

2009-04-29 Thread Gordon Cody
Hello Working in release mgmt, one of my many jobs is to ensure that we can reliably reproduce what will be delivered to a customer. We are using flexbuilder3 in a windows/maven development environment. I check out the code from svn and run mvn clean install. This generates a war file that

Re: Maven inconsistent build with flexbuilder

2009-04-29 Thread Gordon Cody
svn:keywords those fields would still have been the same in 2 sequential builds since I did not check out the code again. Regards Gord With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 29, 2009 at 9:14 PM, Gordon Cody gc

Re: Maven inconsistent build with flexbuilder

2009-04-29 Thread Gordon Cody
-resources-plugin/examples/filter.html Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Wed, Apr 29, 2009 at 9:38 PM, Gordon Cody gc...@zafinlabs.com wrote: Hi Nick On Wed, Apr 29, 2009 at 3:21 PM, Nick Stolwijk nick.stolw...@gmail.com

Re: Maven inconsistent build with flexbuilder

2009-04-29 Thread Gordon Cody
Haarlem www.iprofs.nl On Wed, Apr 29, 2009 at 10:02 PM, Gordon Cody gc...@zafinlabs.com wrote: I dont see anything like that in this project. Other projects unrelated to flex do use filtering. -Gord On Wed, Apr 29, 2009 at 3:51 PM, Nick Stolwijk nick.stolw...@gmail.com wrote: Could

how to not deploy sources.jar to artifactory

2009-04-29 Thread Gordon Cody
-- Forwarded message -- From: Gordon Cody gc...@zafinlabs.com Date: Wed, Apr 29, 2009 at 3:14 PM Subject: Maven inconsistent build with flexbuilder To: Maven Users List users@maven.apache.org Hello Working in release mgmt, one of my many jobs is to ensure that we can reliably reproduce what

Re: how to not deploy sources.jar to artifactory

2009-04-29 Thread Gordon Cody
that the maven-source-plugin does not define an execution to build a sources jar. --- Todd Thiessen -Original Message- From: Gordon Cody [mailto:gc...@zafinlabs.com] Sent: Wednesday, April 29, 2009 4:23 PM To: users@maven.apache.org Subject: how to not deploy sources.jar

Re: how to not deploy sources.jar to artifactory

2009-04-29 Thread Gordon Cody
: On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody gc...@zafinlabs.com wrote: I know I read this (on someones blog I think) but did not realise I would need to care until recently and now I cant find how to do this. The requirement is to not deploy sources.jar to the artifactory when we do mvn