hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1297354 - /hbase/tags/0.92.0mvn/pom.xml
Date Tue, 06 Mar 2012 07:00:24 GMT
Author: stack
Date: Tue Mar  6 07:00:24 2012
New Revision: 1297354

URL: http://svn.apache.org/viewvc?rev=1297354&view=rev
Log:
[maven-release-plugin] prepare release 0.92.0mvn0

Modified:
    hbase/tags/0.92.0mvn/pom.xml

Modified: hbase/tags/0.92.0mvn/pom.xml
URL: http://svn.apache.org/viewvc/hbase/tags/0.92.0mvn/pom.xml?rev=1297354&r1=1297353&r2=1297354&view=diff
==============================================================================
--- hbase/tags/0.92.0mvn/pom.xml (original)
+++ hbase/tags/0.92.0mvn/pom.xml Tue Mar  6 07:00:24 2012
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<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">
+<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">
 <!--
 /**
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -35,7 +34,7 @@
   <groupId>org.apache.hbase</groupId>
   <artifactId>hbase</artifactId>
   <packaging>jar</packaging>
-  <version>0.92.0-SNAPSHOT</version>
+  <version>0.92.0</version>
   <name>HBase</name>
   <description>
     HBase is the &amp;lt;a href="http://hadoop.apache.org"&amp;rt;Hadoop&lt;/a&amp;rt;
database. Use it when you need
@@ -46,9 +45,9 @@
   <url>http://hbase.apache.org</url>
 
   <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/hbase/trunk</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/hbase/trunk</developerConnection>
-    <url>http://svn.apache.org/viewvc/hbase/trunk</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/hbase/tags/0.92.0mvn0</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/hbase/tags/0.92.0mvn0</developerConnection>
+    <url>http://svn.apache.org/viewvc/hbase/tags/0.92.0mvn0</url>
   </scm>
 
   <issueManagement>
@@ -276,6 +275,19 @@
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <configuration>
+            <!--This stops our running tests for each stage of maven release.
+                We may want to disable this because it looks like this might
+                be responsible for our not including test jar in our release
+                to maven repository. Remove in 0.94 and trunk since tests
+                run faster there?
+              -->
+            <arguments>-Dmaven.test.skip</arguments>
+          </configuration>
+        </plugin>
+        <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <configuration>
             <source>${compileSource}</source>
@@ -596,24 +608,22 @@
             <phase>initialize</phase>
             <configuration>
               <tasks if="arc">
-                <get dest="${project.build.directory}/arc-jira.tar.gz"
-                     src="https://github.com/facebook/arc-jira/tarball/master"/>
-                <untar src="${project.build.directory}/arc-jira.tar.gz" compression="gzip"
-                 dest="${project.build.directory}">
+                <get dest="${project.build.directory}/arc-jira.tar.gz" src="https://github.com/facebook/arc-jira/tarball/master"
/>
+                <untar src="${project.build.directory}/arc-jira.tar.gz" compression="gzip"
dest="${project.build.directory}">
                   <patternset>
-                    <include name="facebook-arc-jira-*/arc_jira_lib/**"/>
+                    <include name="facebook-arc-jira-*/arc_jira_lib/**" />
                   </patternset>
                 </untar>
                 <move todir="${basedir}">
                   <fileset dir="${project.build.directory}">
-                    <include name="facebook-arc-jira-*/arc_jira_lib/**"/>
+                    <include name="facebook-arc-jira-*/arc_jira_lib/**" />
                    </fileset>
-                  <mapper type="regexp" from="^facebook-arc-jira-([^/])*/(.*)" to="\.\2"/>
+                  <mapper type="regexp" from="^facebook-arc-jira-([^/])*/(.*)" to="\.\2"
/>
                 </move>
                 <delete includeemptydirs="true">
                   <fileset dir="${project.build.directory}">
-                    <include name="facebook-arc-jira-*"/>
-                    <include name="arc-jira.tar.gz"/>
+                    <include name="facebook-arc-jira-*" />
+                    <include name="arc-jira.tar.gz" />
                   </fileset>
                 </delete>
               </tasks>
@@ -627,39 +637,30 @@
             <phase>generate-sources</phase>
             <configuration>
               <target>
-                <property name="build.webapps"
-                          location="${project.build.directory}/hbase-webapps"/>
-                <property name="src.webapps"
-                          location="${basedir}/src/main/resources/hbase-webapps"/>
-                <property name="generated.sources"
-                          location="${project.build.directory}/generated-sources"/>
+                <property name="build.webapps" location="${project.build.directory}/hbase-webapps"
/>
+                <property name="src.webapps" location="${basedir}/src/main/resources/hbase-webapps"
/>
+                <property name="generated.sources" location="${project.build.directory}/generated-sources"
/>
 
-                <mkdir dir="${build.webapps}"/>
+                <mkdir dir="${build.webapps}" />
                 <copy todir="${build.webapps}">
                   <fileset dir="${src.webapps}">
-                    <exclude name="**/*.jsp"/>
-                    <exclude name="**/.*"/>
-                    <exclude name="**/*~"/>
+                    <exclude name="**/*.jsp" />
+                    <exclude name="**/.*" />
+                    <exclude name="**/*~" />
                   </fileset>
                 </copy>
 
                 <!--The compile.classpath is passed in by maven-->
-                <taskdef classname="org.apache.jasper.JspC" name="jspcompiler" classpathref="maven.compile.classpath"/>
+                <taskdef classname="org.apache.jasper.JspC" name="jspcompiler" classpathref="maven.compile.classpath"
/>
+
+                <mkdir dir="${build.webapps}/master/WEB-INF" />
+                <jspcompiler uriroot="${src.webapps}/master" outputdir="${generated.sources}/java"
package="org.apache.hadoop.hbase.generated.master" webxml="${build.webapps}/master/WEB-INF/web.xml"
/>
 
-                <mkdir dir="${build.webapps}/master/WEB-INF"/>
-                <jspcompiler uriroot="${src.webapps}/master"
-                             outputdir="${generated.sources}/java"
-                             package="org.apache.hadoop.hbase.generated.master"
-                             webxml="${build.webapps}/master/WEB-INF/web.xml"/>
-
-                <mkdir dir="${build.webapps}/regionserver/WEB-INF"/>
-                <jspcompiler uriroot="${src.webapps}/regionserver"
-                             outputdir="${generated.sources}/java"
-                             package="org.apache.hadoop.hbase.generated.regionserver"
-                             webxml="${build.webapps}/regionserver/WEB-INF/web.xml"/>
+                <mkdir dir="${build.webapps}/regionserver/WEB-INF" />
+                <jspcompiler uriroot="${src.webapps}/regionserver" outputdir="${generated.sources}/java"
package="org.apache.hadoop.hbase.generated.regionserver" webxml="${build.webapps}/regionserver/WEB-INF/web.xml"
/>
 
                 <exec executable="sh">
-                  <arg line="${basedir}/src/saveVersion.sh ${project.version} ${generated.sources}/java"/>
+                  <arg line="${basedir}/src/saveVersion.sh ${project.version} ${generated.sources}/java"
/>
                 </exec>
               </target>
             </configuration>
@@ -671,12 +672,11 @@
             <phase>process-resources</phase>
             <configuration>
               <target>
-                <replace file="${project.build.outputDirectory}/hbase-default.xml"
-                  token="@@@VERSION@@@" value="${project.version}" />
-                <mkdir dir="${project.build.directory}/nativelib"/>
+                <replace file="${project.build.outputDirectory}/hbase-default.xml" token="@@@VERSION@@@"
value="${project.version}" />
+                <mkdir dir="${project.build.directory}/nativelib" />
                 <exec executable="tar" dir="${project.build.directory}/nativelib" failonerror="false">
-                  <arg value="xf"/>
-                  <arg value="hadoop-snappy-nativelibs.tar"/>
+                  <arg value="xf" />
+                  <arg value="hadoop-snappy-nativelibs.tar" />
                 </exec>
               </target>
             </configuration>
@@ -691,7 +691,7 @@
               <target>
                 <!-- Complements the assembly -->
 
-                <mkdir dir="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/lib/native/${build.platform}"/>
+                <mkdir dir="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/lib/native/${build.platform}"
/>
 
                 <!-- Using Unix cp to preserve symlinks, using script to handle wildcards
-->
                 <echo file="${project.build.directory}/copynativelibs.sh">
@@ -700,14 +700,13 @@
                     fi
                 </echo>
                 <exec executable="sh" dir="${project.build.directory}" failonerror="true">
-                    <arg line="./copynativelibs.sh"/>
+                    <arg line="./copynativelibs.sh" />
                 </exec>
 
                 <!-- Using Unix tar to preserve symlinks -->
-                <exec executable="tar" failonerror="yes"
-                  dir="${project.build.directory}/${project.build.finalName}">
-                    <arg value="czf"/>
-                    <arg value="${project.build.directory}/${project.build.finalName}.tar.gz"/>
+                <exec executable="tar" failonerror="yes" dir="${project.build.directory}/${project.build.finalName}">
+                    <arg value="czf" />
+                    <arg value="${project.build.directory}/${project.build.finalName}.tar.gz"
/>
                     <arg value="${project.build.finalName}/" />
                 </exec>
 
@@ -824,7 +823,7 @@
     <final.name>${project.artifactId}-${project.version}</final.name>
 
     <!-- For flaky tests exclusion -->
-    <test.exclude></test.exclude>
+    <test.exclude />
     <test.exclude.pattern>**/${test.exclude}.java</test.exclude.pattern>
     
     <!-- Test inclusion patterns -->
@@ -1155,8 +1154,8 @@
                 <configuration>
                 <target>
                   <ant antfile="${basedir}/src/packages/build.xml">
-                    <target name="package-rpm"/>
-                    <target name="package-conf-pseudo-rpm"/>
+                    <target name="package-rpm" />
+                    <target name="package-conf-pseudo-rpm" />
                   </ant>
                   </target>
                 </configuration>
@@ -1184,8 +1183,8 @@
                   <target>
                     <property name="artifactId" value="${project.artifactId}" />
                     <ant antfile="${basedir}/src/packages/build.xml">
-                      <target name="package-deb"/>
-                      <target name="package-conf-pseudo-deb"/>
+                      <target name="package-deb" />
+                      <target name="package-conf-pseudo-deb" />
                     </ant>
                   </target>
                 </configuration>



Mime
View raw message