Permalink
Browse files

move dependency version to dependencyManagement

git-svn-id: https://svn.apache.org/repos/asf/maven/sandbox/branches/scm@682941 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
olamy committed Aug 5, 2008
1 parent cf24b03 commit c22213eb16bcb60c51acdec34691107db3b5f64c
@@ -26,13 +26,15 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-scm-provider-git-commons</artifactId>
<name>Maven SCM git Provider - Common library</name>
- <version>1.1-db-2-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
- <version>1.3</version>
</dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ </dependency>
</dependencies>
<build>
<plugins>
@@ -26,28 +26,23 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-scm-provider-gitexe</artifactId>
<name>Maven SCM git Provider - git Executable Impl.</name>
- <version>1.1-db-2-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-git-commons</artifactId>
- <version>1.1-db-1</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gittest</artifactId>
- <version>1.1-db-1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>regexp</groupId>
<artifactId>regexp</artifactId>
- <version>1.3</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
- <version>1.5.4</version>
</dependency>
</dependencies>
@@ -256,7 +256,7 @@ private void processGetDate( String line )
}
String datestring = dateRegexp.getParen( 1 );
-
+
Date date = parseDate( datestring.trim() , userDateFormat, GIT_TIMESTAMP_PATTERN );
currentChange.setDate( date );
@@ -26,7 +26,6 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>maven-scm-provider-gittest</artifactId>
<name>Maven SCM git Provider TCK Tests</name>
- <version>1.1-db-2-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.scm</groupId>
View
@@ -34,13 +34,31 @@
<module>maven-scm-provider-gittest</module>
</modules>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-utils</artifactId>
- <version>1.5.4</version>
- </dependency>
- </dependencies>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.scm</groupId>
+ <artifactId>maven-scm-provider-git-commons</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.scm</groupId>
+ <artifactId>maven-scm-provider-gittest</artifactId>
+ <version>${pom.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>regexp</groupId>
+ <artifactId>regexp</artifactId>
+ <version>1.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>1.5.4</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
<scm>
<connection>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/branches/scm/git-provider-db</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/branches/scm/git-provider-db</developerConnection>

0 comments on commit c22213e

Please sign in to comment.