How to detect dependency convergence violations between *independent* projects using maven enforcer plugin

2014-09-23 Thread Pisarev, Vitaliy
When running dependency convergence with the maven enforcer pluginhttp://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html, we can easily detect that a certain project transitively depends on 2 different versions of the same artifact. But consider a large group that is

Re: usage with Jenkins

2014-09-23 Thread James Green
On 23 September 2014 02:23, Curtis Rueden ctrue...@wisc.edu wrote: Also, stay away from the Jenkins Maven style job. Freestyle is more flexible and less buggy. Based on ..?

Re: usage with Jenkins

2014-09-23 Thread Stephen Connolly
Freestyle does not mess with your build and change it from building the way maven intends. Google stephen's java adventures Jenkins maven considered evil for a more detailed discussion On Tuesday, 23 September 2014, James Green james.mk.gr...@gmail.com wrote: On 23 September 2014 02:23, Curtis

Re: usage with Jenkins

2014-09-23 Thread Curtis Rueden
The Maven style build will also lock you in to a small subset of Jenkins's usual features. And when you eventually need a feature not available with a Maven-style build, there is no conversion path from Maven-style to Freestyle -- you have to recreate the job (losing the build history etc.).

Re: usage with Jenkins

2014-09-23 Thread James Green
News to me. Ironically I'm just setting up a new Jenkins job so tried the freeform style - I can no longer see Deploy artifacts to Maven repository as a post-build action. Dare I ask what I'm missing having chosen the full-fat option..? On 23 September 2014 14:02, Curtis Rueden ctrue...@wisc.edu

Re: usage with Jenkins

2014-09-23 Thread Grover Blue
That's interesting, James. Something to consider. We're using the open source version of Artifactory, btw, and I the Artifactory Plugin has it's own post build option. I'd probably use that. Curtis, I had Netbeans create the new job for me through it's Hudson plugin. It created a

Re: usage with Jenkins

2014-09-23 Thread Curtis Rueden
Hi James, I can no longer see Deploy artifacts to Maven repository as a post-build action. Just add a build step that does mvn deploy or similar. Dare I ask what I'm missing having chosen the full-fat option..? If you're asking what you cannot do with freeform jobs: I don't know of

Re: usage with Jenkins

2014-09-23 Thread Stephen Connolly
FYI my aim is to supersede the evil job type with some enhanced reporting in what is currently called the literate job type. That would mean you'd get the per-module reporting. The current evil job type's other killer feature is automatic downstream job triggering... Which is actually broken as

Re: usage with Jenkins

2014-09-23 Thread Grover Blue
I'd like to weigh in on this. The maven-based job type is great for quick or single-dimensional project, especially when you know the scope will not change. I tend to prefer freestyle because of flexibility. In reality, the solution is to just have one project type with varied initialization

Re: usage with Jenkins

2014-09-23 Thread Stephen Connolly
On Tuesday, 23 September 2014, Grover Blue grover.b...@gmail.com wrote: I'd like to weigh in on this. The maven-based job type is great for quick or single-dimensional project, especially when you know the scope will not change. I tend to prefer freestyle because of flexibility. In

Re: usage with Jenkins

2014-09-23 Thread Grover Blue
Thanks for the educations! :) On Tue, Sep 23, 2014 at 3:55 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On Tuesday, 23 September 2014, Grover Blue grover.b...@gmail.com wrote: I'd like to weigh in on this. The maven-based job type is great for quick or single-dimensional