Update of /var/cvs/all/maven-base
In directory james.mmbase.org:/tmp/cvs-serv12171

Modified Files:
        pom.xml 
Log Message:
we want to be able to deploy specific SNAPSHOTs to our own repository


See also: http://cvs.mmbase.org/viewcvs/all/maven-base


Index: pom.xml
===================================================================
RCS file: /var/cvs/all/maven-base/pom.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- pom.xml     27 Apr 2009 14:23:02 -0000      1.23
+++ pom.xml     28 Apr 2009 15:16:09 -0000      1.24
@@ -7,13 +7,16 @@
 See http://www.MMBase.org/license
 
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.mmbase</groupId>
   <artifactId>mmbase-parent</artifactId>
   <packaging>pom</packaging>
   <name>MMBase</name>
+
   <version>1.9-SNAPSHOT</version>
 
   <description>
@@ -769,7 +772,6 @@
           <plugin>
             <inherited>true</inherited>
             <artifactId>maven-deploy-plugin</artifactId>
-            <version>2.4</version>
             <configuration>
               <updateReleaseInfo>true</updateReleaseInfo>
             </configuration>
@@ -843,6 +845,29 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>privaterelease</id>
+      <!--
+          This profile makes it possible to build a release with a different 
version number.
+          This is valid for all (sub) modules which would otherwise use 
'${mmbase.version}'.
+      -->
+      <activation>
+        <property>
+          <name>my.version</name>
+        </property>
+      </activation>
+
+      <properties>
+        <mmbase.version>1.9-${my.version}</mmbase.version>
+      </properties>
+      <distributionManagement>
+        <repository>
+          <id>${my.repository.id}</id>
+          <name>Corporate repository</name>
+          <url>${my.repository.url}</url>
+        </repository>
+      </distributionManagement>
+    </profile>
   </profiles>
 
 </project>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to