Skip to content

Commit

Permalink
Unify java and record project. Removed api suffix from projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanEwen committed Dec 19, 2013
1 parent 79496c0 commit e632ef0
Show file tree
Hide file tree
Showing 148 changed files with 325 additions and 401 deletions.
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@

<modules>
<module>stratosphere-core</module>
<module>stratosphere-java-api</module>
<module>stratosphere-record-api</module>
<module>stratosphere-scala-api</module>
<module>stratosphere-java</module>
<module>stratosphere-scala</module>
<module>stratosphere-runtime</module>
<module>stratosphere-compiler</module>
<module>stratosphere-examples</module>
Expand Down
2 changes: 1 addition & 1 deletion stratosphere-addons/hbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-record-api</artifactId>
<artifactId>stratosphere-java</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion stratosphere-addons/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependencies>
<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-record-api</artifactId>
<artifactId>stratosphere-java</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion stratosphere-addons/spargel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</dependency>
<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-record-api</artifactId>
<artifactId>stratosphere-java</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
Expand Down
16 changes: 2 additions & 14 deletions stratosphere-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,13 @@

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-java-api</artifactId>
<artifactId>stratosphere-java</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-scala-api</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-record-api</artifactId>
<artifactId>stratosphere-scala</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down Expand Up @@ -71,12 +65,6 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-record-examples</artifactId>
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>swt-visualization</artifactId>
Expand Down
1 change: 0 additions & 1 deletion stratosphere-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

<modules>
<module>stratosphere-java-examples</module>
<module>stratosphere-record-examples</module>
<module>stratosphere-scala-examples</module>
</modules>

Expand Down
308 changes: 307 additions & 1 deletion stratosphere-examples/stratosphere-java-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,315 @@
<dependencies>
<dependency>
<groupId>eu.stratosphere</groupId>
<artifactId>stratosphere-java-api</artifactId>
<artifactId>stratosphere-java</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>


<build>
<plugins>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<executions>


<!-- EXAMPLE FOR THE JAVA RECORD API -->

<!-- Connected Components -->
<execution>
<id>ConnectedComponents</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>ConnectedComponents</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.connectedcomponents.WorksetConnectedComponents</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/connectedcomponents/*.class</include>
</includes>
</configuration>
</execution>

<!-- DanglingPageRank -->
<execution>
<id>DanglingPageRank</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>DanglingPageRank</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.pagerank.DanglingPageRank</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/pagerank/*.class</include>
<include>**/util/ConfigUtils.class</include>
</includes>
</configuration>
</execution>

<!-- KMeansSingleStep -->
<execution>
<id>KMeansSingleStep</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>

<configuration>
<classifier>KMeansSingleStep</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.kmeans.KMeansSingleStep</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/kmeans/KMeansSingleStep.class</include>
<include>**/kmeans/KMeansSingleStep$*.class</include>
<include>**/kmeans/udfs/*.class</include>
</includes>
</configuration>
</execution>

<!-- KMeansIterative -->
<execution>
<id>KMeansIterative</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>

<configuration>
<classifier>KMeansIterative</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.kmeans.KMeansIterative</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/kmeans/KMeansIterative.class</include>
<include>**/kmeans/KMeansIterative$*.class</include>
<include>**/kmeans/udfs/*.class</include>
</includes>
</configuration>
</execution>

<!-- Pairwise Shortest Paths -->
<execution>
<id>PairwiseSP</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>PairwiseSP</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.shortestpaths.PairwiseSP</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/shortestpaths/PairwiseSP.class</include>
<include>**/shortestpaths/PairwiseSP$*.class</include>
</includes>
</configuration>
</execution>

<!-- EnumTriangles on pre-computed vertex degrees-->
<execution>
<id>EnumTrianglesOnEdgesWithDegrees</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>EnumTrianglesOnEdgesWithDegrees</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.triangles.EnumTrianglesOnEdgesWithDegrees</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/triangles/EnumTrianglesWithDegrees.class</include>
<include>**/triangles/EnumTrianglesWithDegrees$*.class</include>
<include>**/triangles/ComputeEdgeDegrees.class</include>
<include>**/triangles/ComputeEdgeDegrees$*.class</include>
<include>**/triangles/EnumTrianglesOnEdgesWithDegrees.class</include>
<include>**/triangles/EnumTrianglesOnEdgesWithDegrees$*.class</include>
<include>**/triangles/io/*.class</include>
</includes>
</configuration>
</execution>

<!-- EnumTriangles including Degree Computation-->
<execution>
<id>EnumTrianglesWithDegrees</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>EnumTrianglesWithDegrees</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.triangles.EnumTrianglesWithDegrees</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/triangles/EnumTrianglesWithDegrees.class</include>
<include>**/triangles/EnumTrianglesWithDegrees$*.class</include>
<include>**/triangles/ComputeEdgeDegrees.class</include>
<include>**/triangles/ComputeEdgeDegrees$*.class</include>
<include>**/triangles/EnumTrianglesOnEdgesWithDegrees.class</include>
<include>**/triangles/EnumTrianglesOnEdgesWithDegrees$*.class</include>
<include>**/triangles/io/*.class</include>
</includes>
</configuration>
</execution>

<!-- EnumTrianglesRdfFoaf-->
<execution>
<id>EnumTrianglesRdfFoaf</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>EnumTrianglesRdfFoaf</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.triangles.EnumTrianglesRdfFoaf</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/triangles/EnumTrianglesRdfFoaf.class</include>
<include>**/triangles/EnumTrianglesRdfFoaf$*.class</include>
</includes>
</configuration>
</execution>

<!-- TPCHQuery3 -->
<execution>
<id>TPCHQuery3</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>TPCHQuery3</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.relational.TPCHQuery3</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/relational/TPCHQuery3.class</include>
<include>**/relational/TPCHQuery3$*.class</include>
</includes>
</configuration>
</execution>

<!-- WebLogAnalysis -->
<execution>
<id>WebLogAnalysis</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>WebLogAnalysis</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.relational.WebLogAnalysis</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/relational/WebLogAnalysis.class</include>
<include>**/relational/WebLogAnalysis$*.class</include>
</includes>
</configuration>
</execution>

<!-- WordCount -->
<execution>
<id>WordCount</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>WordCount</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.wordcount.WordCount</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/wordcount/*.class</include>
</includes>
</configuration>
</execution>

<!-- TeraSort -->
<execution>
<id>TeraSort</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>TeraSort</classifier>

<archive>
<manifestEntries>
<program-class>eu.stratosphere.example.record.sort.TeraSort</program-class>
</manifestEntries>
</archive>

<includes>
<include>**/sort/TeraSort.class</include>
<include>**/sort/terasort/*.class</include>
</includes>
</configuration>
</execution>
</executions>
</plugin>

</plugins>
</build>

</project>
Loading

0 comments on commit e632ef0

Please sign in to comment.