You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by bo...@apache.org on 2016/01/06 22:31:28 UTC

[2/3] storm git commit: Merge branch 'STORM-706' of https://github.com/jayunit100/storm into STORM-706

Merge branch 'STORM-706' of https://github.com/jayunit100/storm into STORM-706

STORM-706: Clarify examples README for IntelliJ.


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/e354b2fd
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/e354b2fd
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/e354b2fd

Branch: refs/heads/master
Commit: e354b2fdb3d9444c18055a2735ffe89169681b53
Parents: c7cb25d 30f942c
Author: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Authored: Wed Jan 6 15:23:19 2016 -0600
Committer: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Committed: Wed Jan 6 15:23:19 2016 -0600

----------------------------------------------------------------------
 examples/storm-starter/README.markdown |  1 +
 examples/storm-starter/pom.xml         | 20 ++++++++++++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/e354b2fd/examples/storm-starter/README.markdown
----------------------------------------------------------------------
diff --cc examples/storm-starter/README.markdown
index 844fc21,03a26dc..01ba09f
--- a/examples/storm-starter/README.markdown
+++ b/examples/storm-starter/README.markdown
@@@ -131,9 -146,10 +131,10 @@@ The following instructions will import 
  * Select _Import project from external model_, select "Maven", and click _Next_.
  * In the following screen, enable the checkbox _Import Maven projects automatically_.  Leave all other values at their
    defaults.  Click _Next_.
+ * Make sure to select the *intellij* profile in the profiles screen.  This is important for making sure dependencies set correctly. 
  * Click _Next_ on the following screen about selecting Maven projects to import.
  * Select the JDK to be used by IDEA for storm-starter, then click _Next_.
 -    * At the time of this writing you should use JDK 6.
 -    * It is strongly recommended to use Sun/Oracle JDK 6 rather than OpenJDK 6.
 +    * At the time of this writing you should use JDK 7 and above.
 +    * It is strongly recommended to use Oracle JDK rather than OpenJDK.
  * You may now optionally change the name of the project in IDEA.  The default name suggested by IDEA is "storm-starter".
    Click _Finish_ once you are done.

http://git-wip-us.apache.org/repos/asf/storm/blob/e354b2fd/examples/storm-starter/pom.xml
----------------------------------------------------------------------
diff --cc examples/storm-starter/pom.xml
index ac6472e,dfe32f3..7bb8f13
--- a/examples/storm-starter/pom.xml
+++ b/examples/storm-starter/pom.xml
@@@ -73,31 -82,12 +86,34 @@@
        <groupId>org.apache.storm</groupId>
        <artifactId>storm-core</artifactId>
        <version>${project.version}</version>
-       <!-- keep storm out of the jar-with-dependencies -->
-       <scope>provided</scope>
+       <!--
+         Use "provided" scope to keep storm out of the jar-with-dependencies
+         For IntelliJ dev, intellij will load properly.
+       -->
+         <scope>${provided.scope}</scope>
      </dependency>
 +      <dependency>
 +          <groupId>org.apache.storm</groupId>
 +          <artifactId>storm-core</artifactId>
 +          <version>${project.version}</version>
 +          <type>test-jar</type>
 +          <scope>test</scope>
 +      </dependency>
 +      <dependency>
 +          <groupId>org.apache.storm</groupId>
 +          <artifactId>multilang-javascript</artifactId>
 +          <version>${project.version}</version>
 +      </dependency>
 +      <dependency>
 +          <groupId>org.apache.storm</groupId>
 +          <artifactId>multilang-ruby</artifactId>
 +          <version>${project.version}</version>
 +      </dependency>
 +      <dependency>
 +          <groupId>org.apache.storm</groupId>
 +          <artifactId>multilang-python</artifactId>
 +          <version>${project.version}</version>
 +      </dependency>
      <dependency>
        <groupId>commons-collections</groupId>
        <artifactId>commons-collections</artifactId>