You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Khitrin (Jira)" <ji...@apache.org> on 2022/06/15 11:59:00 UTC

[jira] [Created] (IGNITE-17173) Examples module cannot be built due to SNAPSHOT maven dependencies

Andrey Khitrin created IGNITE-17173:
---------------------------------------

             Summary: Examples module cannot be built due to SNAPSHOT maven dependencies
                 Key: IGNITE-17173
                 URL: https://issues.apache.org/jira/browse/IGNITE-17173
             Project: Ignite
          Issue Type: Bug
          Components: examples
    Affects Versions: 3.0.0-alpha5
            Reporter: Andrey Khitrin


Currently, `examples` module (in git tree) depends on `-SNAPSHOT` versions of Apache Ignite. This easily causes inability to run them in a way described in README.

A mere user may want to run examples in the following way:
 # Clone source code from Github.
 # Open examples module in IDE
 # Try to run examples using instructions provided

Unfortunately, this will not work because of `-SNAPSHOT` versioning of examples module. Snapshot builds of AI3 modules that examples module depends on are not published on any publicly accessible repository. Hence, instead of working example, user could only get a distracting compilation error.

In theory, there could be 2 ways to deal with it:
 # Only use examples from distribution ZIP file. This version doesn't have `-SNAPSHOT` dependencies, so it could be built easily. Alas, this way is not quite obvious for one who get used to work with OSS via GitHub primarily. In addition, this way is not available for pre-release testing.
 # Build all dependencies (e.g., a whole AI3) from the source locally. Again, it's not documented, and it could really take significant time. And it's still far from the "{_}Import the examples project into your IDE{_}" claim.

Something should be done with it. Possibly, examples module should have its own life cycle (maybe even in a separate repository). Possibly, few additional instructions should be written for solving typical user problems described above.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)