jjazzboss / JJazzLab

A complete and open application for automatic backing tracks generation.
https://www.jjazzlab.org
GNU Lesser General Public License v2.1
376 stars 22 forks source link

Build failure with Maven #369

Closed thSoft closed 7 months ago

thSoft commented 7 months ago

Commit: ec647f7

When performing the instructions in https://jjazzlab.gitbook.io/developer-guide/build-from-source-code:

jjazzlab ........................................... SUCCESS [ 1.290 s] jjazzlab-branding .................................. SUCCESS [ 9.256 s] Guava .............................................. SUCCESS [ 7.594 s] Xstream ............................................ SUCCESS [ 1.443 s] Utilities .......................................... SUCCESS [ 8.039 s] Upgrade ............................................ SUCCESS [ 0.624 s] Harmony ............................................ SUCCESS [ 2.563 s] Analytics .......................................... SUCCESS [ 0.774 s] FileDirectoryManager ............................... SUCCESS [ 0.753 s] UISettings ......................................... SUCCESS [ 0.847 s] UIUtilities ........................................ SUCCESS [ 3.407 s] UndoManager ........................................ SUCCESS [ 0.590 s] ChordLeadSheet ..................................... SUCCESS [ 1.270 s] Midi ............................................... SUCCESS [ 1.991 s] ColorSetManager .................................... SUCCESS [ 0.591 s] Phrase ............................................. SUCCESS [ 1.126 s] Rhythm ............................................. SUCCESS [ 0.989 s] Startup ............................................ SUCCESS [ 0.232 s] RhythmDatabase ..................................... SUCCESS [ 0.895 s] Base ............................................... SUCCESS [ 3.191 s] Quantizer .......................................... SUCCESS [ 1.031 s] SongStructure ...................................... SUCCESS [ 1.152 s] Song ............................................... SUCCESS [ 0.896 s] MidiMix ............................................ SUCCESS [ 0.941 s] TestPlayerService .................................. SUCCESS [ 0.451 s] OutputSynth ........................................ SUCCESS [ 1.002 s] SongContext ........................................ SUCCESS [ 0.936 s] FlatComponents ..................................... SUCCESS [ 0.976 s] PhraseTransform .................................... SUCCESS [ 1.116 s] RhythmMusicGeneration .............................. SUCCESS [ 2.726 s] MusicControl ....................................... SUCCESS [ 2.205 s] ActiveSong ......................................... SUCCESS [ 0.883 s] InstrumentComponents ............................... SUCCESS [ 1.856 s] ChordSymbolTextInput ............................... SUCCESS [ 1.110 s] Diff ............................................... SUCCESS [ 0.430 s] ItemRenderer ....................................... SUCCESS [ 1.617 s] CL_Editor .......................................... SUCCESS [ 3.886 s] SS_Editor .......................................... SUCCESS [ 3.613 s] Arranger ........................................... SUCCESS [ 2.402 s] BackgroundSongMusicBuilder ......................... SUCCESS [ 1.296 s] Score .............................................. SUCCESS [ 1.072 s] ChordInspector ..................................... SUCCESS [ 1.132 s] InstrumentChooser .................................. SUCCESS [ 0.878 s] PianoRoll .......................................... SUCCESS [ 1.965 s] RhythmStubs ........................................ SUCCESS [ 0.697 s] SongEditorManager .................................. SUCCESS [ 3.840 s] MixConsole ......................................... SUCCESS [ 3.204 s] MusicControlActions ................................ SUCCESS [ 4.755 s] EasyReader ......................................... SUCCESS [ 1.361 s] ImprovisationSupport ............................... SUCCESS [ 2.111 s] EmbeddedSynth ...................................... SUCCESS [ 2.714 s] RpCustomEditorFactoryImpl .......................... SUCCESS [ 1.727 s] Helpers ............................................ SUCCESS [ 0.781 s] Importers .......................................... SUCCESS [ 5.996 s] Print .............................................. SUCCESS [ 1.049 s] SongMemoViewer ..................................... SUCCESS [ 1.019 s] RhythmSelectionDialog .............................. SUCCESS [ 1.720 s] SptEditor .......................................... SUCCESS [ 1.052 s] Test ............................................... SUCCESS [ 3.306 s] ZoomableSliders .................................... SUCCESS [ 0.585 s] Biab ............................................... SUCCESS [ 0.574 s] Options ............................................ SUCCESS [ 1.245 s] FluidSynthJava ..................................... SUCCESS [ 1.981 s] FluidSynthEmbeddedSynth ............................ SUCCESS [ 0.835 s] YamJJazz ........................................... SUCCESS [ 1.583 s] YjzCreator ......................................... SUCCESS [ 1.182 s] PopupWindowMenuPatch ............................... SUCCESS [ 0.490 s] jjazzlab-app ....................................... FAILURE [ 7.510 s]

BUILD FAILURE

Total time: 02:28 min Finished at: 2023-11-30T14:17:05+01:00

Failed to execute goal on project jjazzlab: Could not resolve dependencies for project org.jjazzlab:jjazzlab:nbm-application:4.0-BETA1: The following artifacts could not be resolved: org.jjazzlab:org-jjazz-jjazzlabextra:jar:4.0-BETA1 (absent): Could not find artifact org.jjazzlab:org-jjazz-jjazzlabextra:jar:4.0-BETA1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch. Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles: [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

After correcting the problems, you can resume the build with the command mvn -rf :jjazzlab



I assume the org.jjazzlab:org-jjazz-jjazzlabextra:jar:4.0-BETA1 should be available from the local repository, so maybe the Maven dependency IDs are incorrect?
jjazzboss commented 7 months ago

I updated the repo to use Maven for the first time yesterday everning... It's not stabilized yet, I'm working on it. First official 4.0 rele should be out very soon.

If you can't wait, you might retry now, I just pushed a few fixes, including the one for the jjazzlabextra issue.

thSoft commented 7 months ago

Thank you, it works now!