Skip to content

Fix heron build POM file #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ cd incubator-samoa
mvn -Papex package
```

### Heron mode

Simply clone the repository and install SAMOA.

```bash
git clone http://git.apache.org/incubator-samoa.git
cd incubator-samoa
mvn -Pheron package
```

The deployable jar for SAMOA will be in `target/SAMOA-Heron-0.5.0-SNAPSHOT.jar`.

### Local mode

If you want to test SAMOA in a local environment, simply clone the repository and install SAMOA.
Expand Down
9 changes: 0 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@
<module>samoa-test</module>
</modules>
</profile>
<profile>
<id>heron</id>
<modules>
<module>samoa-instances</module>
<module>samoa-api</module>
<module>samoa-heron</module>
<module>samoa-test</module>
</modules>
</profile>
<profile>
<id>apex</id>
<modules>
Expand Down
79 changes: 30 additions & 49 deletions samoa-heron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,49 +51,20 @@
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.apache.samoa</groupId>
<artifactId>samoa-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.samoa</groupId>
<artifactId>samoa-test</artifactId>
<type>test-jar</type>
<classifier>test-jar-with-dependencies</classifier>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.twitter.heron</groupId>
<artifactId>heron-storm</artifactId>
<version>${heron.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.heron.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j-log4j12.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.11.0</version>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>org.apache.samoa</groupId>
<artifactId>samoa-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.samoa</groupId>
<artifactId>samoa-test</artifactId>
<type>test-jar</type>
<classifier>test-jar-with-dependencies</classifier>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.twitter.heron</groupId>
<artifactId>heron-storm</artifactId>
Expand All @@ -112,6 +83,16 @@
<version>${slf4j-log4j12.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.json-simple</groupId>
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.11.0</version>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -159,12 +140,12 @@
</plugin>
</plugins>
<testResources>
<testResource>
<directory>${project.basedir}/../bin</directory>
<includes>
<include>*heron.properties</include>
</includes>
</testResource>
<testResource>
<directory>${project.basedir}/../bin</directory>
<includes>
<include>*heron.properties</include>
</includes>
</testResource>
</testResources>
</build>
</project>