hazelcast / hazelcast-jet-demos

Demonstration applications using Hazelcast Jet
Apache License 2.0
136 stars 61 forks source link

Requires Jet Snapshots #8

Closed dbrimley closed 6 years ago

dbrimley commented 6 years ago

These demos seem to depend on Jet snapshots. We should either only rely on released versions so builds can pick up from maven central or we should put our cloudbees snapshot repos in the maven repositories.

At present a user needs to clone and install jet to their local maven to make these build.

gregrluck commented 6 years ago

"cloudbees snapshot repos in the maven repositories." You mean add a repository element to the builds?

dbrimley commented 6 years ago

Yes, we do the same with our code-samples projects as they all run on snapshots of hazelcast.

dbrimley commented 6 years ago

The associated build failure....

[INFO] ------------------------------------------------------------------------
[INFO] Building online-training-traffic-predictor 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.hazelcast.jet:hazelcast-jet-core:jar:0.6-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] cryptocurrency-realtime-trend ...................... SUCCESS [  2.165 s]
[INFO] demos .............................................. SUCCESS [  0.009 s]
[INFO] ADB-S Flight Telemetry Stream Processing Demo ...... SUCCESS [  8.598 s]
[INFO] Real-time Image Recognition Demo ................... SUCCESS [  4.266 s]
[INFO] jetleopard ......................................... SUCCESS [  0.823 s]
[INFO] markov-chain-generator ............................. SUCCESS [  7.575 s]
[INFO] online-training-traffic-predictor .................. FAILURE [  0.004 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23.615 s
[INFO] Finished at: 2018-01-29T15:54:17Z
[INFO] Final Memory: 119M/976M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project online-training-traffic-predictor: Could not resolve dependencies for project com.hazelcast.jet-demos:online-training-traffic-predictor:jar:0.1-SNAPSHOT: Could not find artifact com.hazelcast.jet:hazelcast-jet-core:jar:0.6-SNAPSHOT -> [Help 1]
eminn commented 6 years ago

Fixed via https://github.com/hazelcast/jet-demos/commit/8486798fe34c27b44274ba275dbc01f451dcf7bc#diff-600376dffeb79835ede4a0b285078036