On 6-Jul-08, at 12:53 PM, Brett Porter wrote:


On 07/07/2008, at 2:42 AM, Jason van Zyl wrote:


As I stated in the issue, to be able to change the versions on the fly in the build system to use different versions. Pass in properties is far easier then trying to muck with the version in the depMan section. It will also allow the change of a property in the POM when you are ready to promote something. It's not a stop- gap for a less verbose POM, it would be much the same where simple properties are just easier to manipulate and already supported by execution request properties. I will start using this in Hudson to build the whole platform when I make changes to classworlds and plexus. And then I will create an enforcer rule to make sure the versions aren't defined anywhere in the children as we have versions all over the place in our build currently.

Right... but would it be better to be selective about which can be changed by properties to the ones that we would reasonably expect to?

1) I don't want them scattered because it is hard to see them unless you use the m2e editor but you shouldn't have to, and 2) you can only reasonably control the compile time deps as a start. I'm having the complete compile time set as you may want to change them at any point. I know that the mechanism we have can be unmanageable for large builds without tooling help.

Just as there are a number of transitive deps not specified here that we don't expect to shuffle around, the same can probably be said of junit, easymock, aspectj, etc.


They would be controlled the same way if the user so chose, but I'll start with dependencies visible at the first level.


Unless you're rebuilding gump :D


Already done with Hudson.

- Brett




Thanks,
Brett

On 07/07/2008, at 2:13 AM, [EMAIL PROTECTED] wrote:

Author: jvanzyl
Date: Sun Jul  6 09:13:25 2008
New Revision: 674310

URL: http://svn.apache.org/viewvc?rev=674310&view=rev
Log:
o aligning all versions in the parent POM
Issue id: MNG-3656

Modified:
maven/components/trunk/pom.xml

Modified: maven/components/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?rev=674310&r1=674309&r2=674310&view=diff
= = = = = = = = = = = ===================================================================
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Sun Jul  6 09:13:25 2008
@@ -229,19 +229,19 @@
</modules>

<properties>
-    <plexusVersion>1.0-alpha-48</plexusVersion>
-    <wagonVersion>1.0-beta-3</wagonVersion>
 <artifactVersion>3.0-SNAPSHOT</artifactVersion>
+    <aspectjVersion>1.5.3</aspectjVersion>
 <classWorldsVersion>1.2-alpha-12</classWorldsVersion>
-    <plexusUtilsVersion>1.5.4</plexusUtilsVersion>
+    <commonsCliVersion>1.0</commonsCliVersion>
+    <commonsHttpClientVersion>3.1</commonsHttpClientVersion>
 <doxiaVersion>1.0-alpha-9</doxiaVersion>
-    <aspectjVersion>1.5.3</aspectjVersion>
+    <easyMockVersion>1.2_Java1.3</easyMockVersion>
 <junitVersion>3.8.1</junitVersion>
+    <plexusVersion>1.0-alpha-48</plexusVersion>
<plexusInteractivityVersion>1.0-alpha-6</ plexusInteractivityVersion>
 <plexusInterpolationVersion>1.0</plexusInterpolationVersion>
-    <commonsHttpClientVersion>3.1</commonsHttpClientVersion>
-    <commonsCliVersion>1.0</commonsCliVersion>
-    <easyMockVersion>1.2_Java1.3</easyMockVersion>
+    <plexusUtilsVersion>1.5.4</plexusUtilsVersion>
+    <wagonVersion>1.0-beta-3</wagonVersion>
</properties>

<!--start-->



--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

-- The Seven Samuari, Akira Kirosawa


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Brett Porter
[EMAIL PROTECTED]
http://blogs.exist.com/bporter/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.

  -- Jakob Burckhardt


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to