]> source.dussan.org Git - archiva.git/commitdiff
move javax.mail version to a property
authorOlivier Lamy <olamy@apache.org>
Wed, 26 Oct 2011 14:19:57 +0000 (14:19 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 26 Oct 2011 14:19:57 +0000 (14:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1189230 13f79535-47bb-0310-9956-ffa450edef68

archiva-jetty/pom.xml
archiva-modules/archiva-web/archiva-webapp/pom.xml
archiva-tomcat/pom.xml
pom.xml

index 76ab05d9e8f8ebc557f9d9723b1704a9e8f11581..050c9249d73382e2ca30181db8a4dcad085d314a 100644 (file)
@@ -77,7 +77,6 @@
     <dependency>
       <groupId>javax.mail</groupId>
       <artifactId>mail</artifactId>
-      <version>1.4</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
index 5c03a966dfcaba44fbc4d1b6443c41ac05f684f2..19410db48c1d4edc80fbf9edb1aafcd14c0bde7e 100644 (file)
           <dependency>
             <groupId>javax.mail</groupId>
             <artifactId>mail</artifactId>
-            <version>1.4</version>
+            <version>${javaxMailVersion}</version>
           </dependency>
         </dependencies>
       </plugin>
               <dependency>
                 <groupId>javax.mail</groupId>
                 <artifactId>mail</artifactId>
-                <version>1.4</version>
+                <version>${javaxMailVersion}</version>
               </dependency>
             </dependencies>
           </plugin>
index aa9c50e820d10e1f379debbcde77167b4439b380..2292d0206f85ff4373df776130180710fecea243 100644 (file)
@@ -51,7 +51,7 @@
     <dependency>
       <groupId>javax.mail</groupId>
       <artifactId>mail</artifactId>
-      <version>1.4</version>
+      <version>${javaxMailVersion}</version>
       <scope>runtime</scope>
     </dependency>
   </dependencies>
@@ -91,7 +91,7 @@
                 <extraDependency>
                   <groupId>javax.mail</groupId>
                   <artifactId>mail</artifactId>
-                  <version>1.4</version>
+                  <version>${javaxMailVersion}</version>
                 </extraDependency>
               </extraDependencies>
             </configuration>
diff --git a/pom.xml b/pom.xml
index e27f46f128b3ff4303a0c434ed4c340693e22c3d..f43e53278ba40e69f53b2d4cd7c738eea807ba87 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -69,6 +69,7 @@
     <lucene.version>3.0.3</lucene.version>
     <cxfVersion>2.4.3</cxfVersion>
     <derbyVersion>10.1.3.1</derbyVersion>
+    <javaxMailVersion>1.4</javaxMailVersion>
   </properties>
 
   <dependencyManagement>
       <dependency>
         <groupId>javax.mail</groupId>
         <artifactId>mail</artifactId>
-        <version>1.4</version>
+        <version>${javaxMailVersion}</version>
       </dependency>
       <dependency>
         <groupId>org.apache.xmlrpc</groupId>