accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From medi...@apache.org
Subject svn commit: r1459115 - in /accumulo/trunk: core/pom.xml proxy/pom.xml trace/pom.xml
Date Thu, 21 Mar 2013 01:13:24 GMT
Author: medined
Date: Thu Mar 21 01:13:24 2013
New Revision: 1459115

URL: http://svn.apache.org/r1459115
Log:
ACCUMULO-1191: Move thift generation into 'thrift' profile.

Modified:
    accumulo/trunk/core/pom.xml
    accumulo/trunk/proxy/pom.xml
    accumulo/trunk/trace/pom.xml

Modified: accumulo/trunk/core/pom.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/pom.xml?rev=1459115&r1=1459114&r2=1459115&view=diff
==============================================================================
--- accumulo/trunk/core/pom.xml (original)
+++ accumulo/trunk/core/pom.xml Thu Mar 21 01:13:24 2013
@@ -40,22 +40,6 @@
     </pluginManagement>
     <plugins>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-thrift</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>exec</goal>
-            </goals>
-            <configuration>
-              <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <configuration>
@@ -116,6 +100,29 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+        <id>thrift</id>
+        <build>
+            <plugins>
+                <plugin>
+                   <groupId>org.codehaus.mojo</groupId>
+                   <artifactId>exec-maven-plugin</artifactId>
+                   <executions>
+                     <execution>
+                       <id>generate-thrift</id>
+                       <phase>generate-sources</phase>
+                       <goals>
+                         <goal>exec</goal>
+                       </goals>
+                       <configuration>
+                         <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
+                       </configuration>
+                     </execution>
+                   </executions>
+                 </plugin>
+             </plugins>
+        </build>
+    </profile>
   </profiles>
   
   <dependencies>

Modified: accumulo/trunk/proxy/pom.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/proxy/pom.xml?rev=1459115&r1=1459114&r2=1459115&view=diff
==============================================================================
--- accumulo/trunk/proxy/pom.xml (original)
+++ accumulo/trunk/proxy/pom.xml Thu Mar 21 01:13:24 2013
@@ -40,24 +40,6 @@
         </plugin>
       </plugins>
     </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-thrift</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>exec</goal>
-            </goals>
-            <configuration>
-              <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
   </build>
   <dependencies>
     <dependency>
@@ -144,5 +126,28 @@
         </dependency>
       </dependencies>
     </profile>
+    <profile>
+        <id>thrift</id>
+        <build>
+            <plugins>
+                <plugin>
+                   <groupId>org.codehaus.mojo</groupId>
+                   <artifactId>exec-maven-plugin</artifactId>
+                   <executions>
+                     <execution>
+                       <id>generate-thrift</id>
+                       <phase>generate-sources</phase>
+                       <goals>
+                         <goal>exec</goal>
+                       </goals>
+                       <configuration>
+                         <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
+                       </configuration>
+                     </execution>
+                   </executions>
+                 </plugin>
+             </plugins>
+        </build>
+    </profile>
   </profiles>
 </project>

Modified: accumulo/trunk/trace/pom.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/trace/pom.xml?rev=1459115&r1=1459114&r2=1459115&view=diff
==============================================================================
--- accumulo/trunk/trace/pom.xml (original)
+++ accumulo/trunk/trace/pom.xml Thu Mar 21 01:13:24 2013
@@ -37,26 +37,34 @@
         </plugin>
       </plugins>
     </pluginManagement>
-    <plugins>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>exec-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>generate-thrift</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>exec</goal>
-            </goals>
-            <configuration>
-              <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
   </build>
 
+  <profiles>
+    <profile>
+        <id>thrift</id>
+        <build>
+            <plugins>
+                <plugin>
+                   <groupId>org.codehaus.mojo</groupId>
+                   <artifactId>exec-maven-plugin</artifactId>
+                   <executions>
+                     <execution>
+                       <id>generate-thrift</id>
+                       <phase>generate-sources</phase>
+                       <goals>
+                         <goal>exec</goal>
+                       </goals>
+                       <configuration>
+                         <executable>${basedir}/src/main/scripts/generate-thrift.sh</executable>
+                       </configuration>
+                     </execution>
+                   </executions>
+                 </plugin>
+             </plugins>
+        </build>
+    </profile>
+  </profiles>
+
   <dependencies>
     <dependency>
       <groupId>log4j</groupId>



Mime
View raw message