Noob Questions - New SCM Provider

2011-08-14 Thread Cletus D'Souza
Hi All, I'm hoping someone could answer some of these basic questions with regards to writing a new SCM provider for Maven. 1) What is the version for LATEST VERSION OF MAVEN-SCM PROVIDERS MASTER POM? I'm guessing 1.5? 2) I created a basic shell class by extending AbstractScmProvider. Howeve

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Mark Struberg
+1 on creating test cases. What I had in mind the last few days: Move the whole p-u rewrite back to o.a.maven.utils under maven-shared. Then create a plexus-shim which just 1:1 subclasses their counterparts in maven.utils. As next step we can remove all plexus-utils and replace them with maven

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Benson Margulies
Stephen, Some of these classes and methods don't fit into commons very well, or force us to get embroiled in some of the more baroque areas of commons (e.g. commons-vfs). My personal experience (very small) has been that it's not easy to sell new stuff to 'commons-xxx'. I'm all in favor of tests,

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Stephen Connolly
I still think that we need good test coverage on any code that we bring over though, so we can move towards the eventual goal of removing p-u entirely... otherwise all we are really doing is building a p-u clone @maven... and maven's focus should not be a p-u clone, the commons project should be ab

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Benson Margulies
+1: I believe I found a few authored by current PMC members and did the same thing. On Sun, Aug 14, 2011 at 2:42 PM, Mark Struberg wrote: > Heh, I now learned that a few are even almost 1:1 copies from our own > maven-1 utils ;) > > Please compare the PathUtils from plexus-utils to > http://mave

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Mark Struberg
Heh, I now learned that a few are even almost 1:1 copies from our own maven-1 utils ;) Please compare the PathUtils from plexus-utils to http://maven.apache.org/maven-1.x/xref/org/apache/maven/util/DVSLPathTool.html The only difference (beside 2 1-line bugfixes) are 2 new methods which Vincent

Re: [DISCUSS] plexus-utils rewrite

2011-08-14 Thread Stephen Connolly
+1 - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 14 Aug 2011 19:18, "Mark Struberg" wrote: > Hi folks! > > I'm now grabbing deeper and deeper and also browsed a lot of th

[DISCUSS] plexus-utils rewrite

2011-08-14 Thread Mark Struberg
Hi folks! I'm now grabbing deeper and deeper and also browsed a lot of the plexus-utils svn history recently. And the more I dig deeper, the more I'm seriously considering pulling over a few sources 1:1. Quite a few of the plexus-utils classes originally have been plain 1:1 forks from other Ap

RE: Noob Questions - New SCM Provider

2011-08-14 Thread Cletus D'Souza
Hi, I'm writing the provider for MKS (a PTC Company) Integrity SCM capability. I'm not finished with it yet, but when I do I will post the code. How does that work anyway? Do I need to request commit access to an existing repository or create my own? Thanks! > Date: Sun, 14 Aug 201

RE: Noob Questions - New SCM Provider

2011-08-14 Thread Mark Struberg
Hi Cletus! There is not much difference between a 3rd party maven-scm and the internal ones. The main difference is that the dependencies for the maven-release-plugin and other core maven-plugins will already contain the 'internal' maven-scm providers as dependency. But you can easily add your