GitHub user HeartSaVioR opened a pull request:

    https://github.com/apache/storm/pull/1815

    STORM-2235 Introduce new option: 'add remote repositories' for dependency 
resolver

    * add '--artifactRepositories' option to pull the artifacts from other than 
Maven Central
    
    In this example, we pull specific HDP version of storm-core (only for 
example). If we don't add HDPRepo to `--artifactRepositories`, it fails to pull 
the artifacts and also dependencies.
    Below is the working example:
    ```
    ./bin/storm sql order_filtering_mongo.sql sql-mongo --artifacts 
"org.apache.storm:storm-core:1.0.1.2.5.0.0-1245" --artifactRepositories 
"jboss-repository^http://repository.jboss.com/maven2,cloudera^https://repository.cloudera.com/artifactory/cloudera-repos/,HDPRepo^http://repo.hortonworks.com/content/groups/public/";
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/HeartSaVioR/storm STORM-2235

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1815.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1815
    
----
commit a104de1a76a2b094b538a0760f54f7cbbc8cfab0
Author: Jungtaek Lim <[email protected]>
Date:   2016-12-06T06:36:23Z

    STORM-2235 Introduce new option: 'add remote repositories' for dependency 
resolver
    
    * add '--artifactRepositories' option to pull the artifacts from other than 
Maven Central

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to