Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17173

Examples module cannot be built due to SNAPSHOT maven dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha5
    • None
    • examples
    • Docs Required, Release Notes Required

    Description

      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:

      1. Clone source code from Github.
      2. Open examples module in IDE
      3. 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:

      1. 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.
      2. 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akhitrin Andrey Khitrin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: