Closed dbrimley closed 6 years ago
"cloudbees snapshot repos in the maven repositories." You mean add a repository element to the builds?
Yes, we do the same with our code-samples projects as they all run on snapshots of hazelcast.
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]
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.