You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2011/04/22 03:45:42 UTC
svn commit: r1095857 - in /incubator/hama/trunk: CHANGES.txt pom.xml
Author: edwardyoon
Date: Fri Apr 22 01:45:41 2011
New Revision: 1095857
URL: http://svn.apache.org/viewvc?rev=1095857&view=rev
Log:
Refactor HAMA POM (Add examples profile etc.)
Modified:
incubator/hama/trunk/CHANGES.txt
incubator/hama/trunk/pom.xml
Modified: incubator/hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=1095857&r1=1095856&r2=1095857&view=diff
==============================================================================
--- incubator/hama/trunk/CHANGES.txt (original)
+++ incubator/hama/trunk/CHANGES.txt Fri Apr 22 01:45:41 2011
@@ -8,6 +8,7 @@ Release 0.3 - Unreleased
IMPROVEMENTS
+ HAMA-382: Refactor HAMA POM (Tommaso Teofili)
HAMA-380: Send messages in batches to reduce RPC overhead (Miklos Erdelyi via edwardyoon)
HAMA-362: Re-design a new data structure of BSPMessage (Thomas Jungblut via edwardyoon)
HAMA-369: Reduce overhead of local communications (Miklos Erdelyi via edwardyoon)
Modified: incubator/hama/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/pom.xml?rev=1095857&r1=1095856&r2=1095857&view=diff
==============================================================================
--- incubator/hama/trunk/pom.xml (original)
+++ incubator/hama/trunk/pom.xml Fri Apr 22 01:45:41 2011
@@ -26,13 +26,16 @@
<version>8</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.incubator</groupId>
- <artifactId>hama</artifactId>
- <name>Apache Hama POM</name>
+ <groupId>org.apache.hama</groupId>
+ <artifactId>hama-core</artifactId>
+ <name>Apache Hama</name>
<version>0.3.0-incubating-SNAPSHOT</version>
- <description>Apache Hama POM</description>
+ <description>Apache Hama</description>
<url>http://incubator.apache.org/hama</url>
<packaging>jar</packaging>
+ <prerequisites>
+ <maven>3.0</maven>
+ </prerequisites>
<issueManagement>
<system>JIRA</system>
<url>https://issues.apache.org/jira/browse/HAMA</url>
@@ -164,10 +167,16 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>zookeeper</artifactId>
<version>3.3.1</version>
+ <exclusions>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
</dependencies>
<build>
- <sourceDirectory>src/java</sourceDirectory>
+ <sourceDirectory>${source.dir}</sourceDirectory>
<testSourceDirectory>src/test</testSourceDirectory>
<plugins>
<plugin>
@@ -191,5 +200,65 @@
</plugin>
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <source.dir>src/java</source.dir>
+ </properties>
+ <build>
+ <finalName>hama-core-${project.version}</finalName>
+ </build>
+ </profile>
+ <profile>
+ <id>examples</id>
+ <properties>
+ <source.dir>src/examples</source.dir>
+ </properties>
+ <build>
+ <finalName>hama-examples-${project.version}</finalName>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <skipTests>true</skipTests>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
+ <mainClass>org.apache.hama.examples.ExampleDriver</mainClass>
+ </transformer>
+ </transformers>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.hama</groupId>
+ <artifactId>hama-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ </profiles>
</project>