Ottomata has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/122563

Change subject: Adding camus-wmf subproject and setting wmf version to -wmf3
......................................................................

Adding camus-wmf subproject and setting wmf version to -wmf3

This versioning scheme was discussed between qchris and otto in IRC.

Change-Id: I31448247ddbb161a703c2e942f22fc23ed084288
---
M camus-api/pom.xml
M camus-etl-kafka/pom.xml
M camus-example/pom.xml
M camus-kafka-coders/pom.xml
M camus-schema-registry-avro/pom.xml
M camus-schema-registry/pom.xml
M camus-sweeper/pom.xml
A camus-wmf/pom.xml
M pom.xml
A untitled.py
10 files changed, 73 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/camus 
refs/changes/63/122563/1

diff --git a/camus-api/pom.xml b/camus-api/pom.xml
index 8ecb8af..e13a6bd 100644
--- a/camus-api/pom.xml
+++ b/camus-api/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.linkedin.camus</groupId>
     <artifactId>camus-parent</artifactId>
-    <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+    <version>0.1.0-wmf3-SNAPSHOT</version>
   </parent>
 
   <artifactId>camus-api</artifactId>
diff --git a/camus-etl-kafka/pom.xml b/camus-etl-kafka/pom.xml
index 33f0ce2..a9083bc 100644
--- a/camus-etl-kafka/pom.xml
+++ b/camus-etl-kafka/pom.xml
@@ -5,7 +5,7 @@
        <parent>
                <groupId>com.linkedin.camus</groupId>
                <artifactId>camus-parent</artifactId>
-               <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+               <version>0.1.0-wmf3-SNAPSHOT</version>
        </parent>
 
        <artifactId>camus-etl-kafka</artifactId>
diff --git a/camus-example/pom.xml b/camus-example/pom.xml
index d9ada60..ac5e603 100644
--- a/camus-example/pom.xml
+++ b/camus-example/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.linkedin.camus</groupId>
     <artifactId>camus-parent</artifactId>
-    <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+    <version>0.1.0-wmf3-SNAPSHOT</version>
   </parent>
 
   <artifactId>camus-example</artifactId>
diff --git a/camus-kafka-coders/pom.xml b/camus-kafka-coders/pom.xml
index b0e1875..94d029b 100644
--- a/camus-kafka-coders/pom.xml
+++ b/camus-kafka-coders/pom.xml
@@ -5,7 +5,7 @@
        <parent>
                <groupId>com.linkedin.camus</groupId>
                <artifactId>camus-parent</artifactId>
-               <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+               <version>0.1.0-wmf3-SNAPSHOT</version>
        </parent>
 
        <artifactId>camus-kafka-coders</artifactId>
diff --git a/camus-schema-registry-avro/pom.xml 
b/camus-schema-registry-avro/pom.xml
index a50e142..097a8c6 100644
--- a/camus-schema-registry-avro/pom.xml
+++ b/camus-schema-registry-avro/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.linkedin.camus</groupId>
     <artifactId>camus-parent</artifactId>
-    <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+    <version>0.1.0-wmf3-SNAPSHOT</version>
   </parent>
 
   <artifactId>camus-schema-registry-avro</artifactId>
diff --git a/camus-schema-registry/pom.xml b/camus-schema-registry/pom.xml
index d940731..70168a3 100644
--- a/camus-schema-registry/pom.xml
+++ b/camus-schema-registry/pom.xml
@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.linkedin.camus</groupId>
     <artifactId>camus-parent</artifactId>
-    <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+    <version>0.1.0-wmf3-SNAPSHOT</version>
   </parent>
 
   <artifactId>camus-schema-registry</artifactId>
diff --git a/camus-sweeper/pom.xml b/camus-sweeper/pom.xml
index fb2c0d2..23d2a99 100644
--- a/camus-sweeper/pom.xml
+++ b/camus-sweeper/pom.xml
@@ -4,12 +4,12 @@
        <groupId>com.linkedin.camus</groupId>
        <artifactId>camus-sweeper</artifactId>
        <name>Camus compaction code small files produced Camus</name>
-       <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+       <version>0.1.0-wmf3-SNAPSHOT</version>
        
        <parent>
                <groupId>com.linkedin.camus</groupId>
                <artifactId>camus-parent</artifactId>
-               <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+               <version>0.1.0-wmf3-SNAPSHOT</version>
        </parent>
 
        <dependencies>
diff --git a/camus-wmf/pom.xml b/camus-wmf/pom.xml
new file mode 100644
index 0000000..5266be3
--- /dev/null
+++ b/camus-wmf/pom.xml
@@ -0,0 +1,61 @@
+<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/xsd/maven-4.0.0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>com.linkedin.camus</groupId>
+    <artifactId>camus-parent</artifactId>
+    <version>0.1.0-wmf3-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.wikimedia.analytics</groupId>
+  <artifactId>camus-wmf</artifactId>
+  <version>0.1.0-wmf3-SNAPSHOT</version>
+  <name>Camus Wikimedia</name>
+  <description>
+    This subproject exists to build a shaded jar
+    that is usesable on Wikimedia's Analytics cluster.
+    It depends only on what is needed from other
+    Camus subprojects to generate a shaded jar.
+  </description>
+  <packaging>jar</packaging>
+
+  <dependencies>
+    <dependency>
+      <groupId>com.linkedin.camus</groupId>
+      <artifactId>camus-kafka-coders</artifactId>
+      <version>0.1.0-wmf3-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>com.linkedin.camus</groupId>
+      <artifactId>camus-etl-kafka</artifactId>
+      <version>0.1.0-wmf3-SNAPSHOT</version>
+      <scope>compile</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>2.0</version>
+        <configuration>
+          <shadedArtifactAttached>false</shadedArtifactAttached>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+                 <configuration>
+              <createDependencyReducedPom>false</createDependencyReducedPom>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 70786b6..7999047 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
        <artifactId>camus-parent</artifactId>
   <!-- If you want to change version, you must do so
        here as well in all sub poms. -->
-       <version>0.1.0-wmf-0.1.0-SNAPSHOT</version>
+       <version>0.1.0-wmf3-SNAPSHOT</version>
        <packaging>pom</packaging>
        <name>Camus Parent</name>
        <description>
@@ -153,6 +153,7 @@
                <module>camus-schema-registry-avro</module>
                <module>camus-example</module>
                <module>camus-sweeper</module>
+               <module>camus-wmf</module>
        </modules>
 
        <licenses>
@@ -223,12 +224,12 @@
        <distributionManagement>
                <repository>
                        <id>wikimedia.releases</id>
-                       <name>wikimedia Release Repository</name>
+                       <name>Wikimedia Release Repository</name>
                        
<url>http://archiva.wikimedia.org/repository/releases/</url>
                </repository>
                <snapshotRepository>
                        <id>wikimedia.snapshots</id>
-                       <name>wikimedia Snapshot Repository</name>
+                       <name>Wikimedia Snapshot Repository</name>
                        
<url>http://archiva.wikimedia.org/repository/snapshots/</url>
                </snapshotRepository>
        </distributionManagement>
diff --git a/untitled.py b/untitled.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/untitled.py

-- 
To view, visit https://gerrit.wikimedia.org/r/122563
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I31448247ddbb161a703c2e942f22fc23ed084288
Gerrit-PatchSet: 1
Gerrit-Project: analytics/camus
Gerrit-Branch: wmf
Gerrit-Owner: Ottomata <o...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to