mediathekview / MediathekView

Das Programm MediathekView durchsucht die Online-Mediatheken verschiedener Sender
https://mediathekview.de
GNU General Public License v3.0
855 stars 95 forks source link

Dependency resolution error #614

Closed swsnr closed 3 years ago

swsnr commented 3 years ago

I'm trying to build MediathekView from source and received a dependency resolution error:

mvn clean install -Plinux,install4j-linux
[INFO] Scanning for projects...
[INFO] 
[INFO] -------------------< de.mediathekview:MediathekView >-------------------
[INFO] Building de.mediathekview:MediathekView 13.7.1
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for com.miglayout:miglayout-core:jar:5.3-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.miglayout:miglayout-swing:jar:5.3-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.miglayout:miglayout-javafx:jar:5.3-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.682 s
[INFO] Finished at: 2021-07-24T11:15:03+02:00
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "install4j-linux" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project MediathekView: Could not resolve dependencies for project de.mediathekview:MediathekView:jar:13.7.1: The following artifacts could not be resolved: com.miglayout:miglayout-core:jar:5.3-SNAPSHOT, com.miglayout:miglayout-swing:jar:5.3-SNAPSHOT, com.miglayout:miglayout-javafx:jar:5.3-SNAPSHOT: com.miglayout:miglayout-core:jar:5.3-SNAPSHOT was not found in https://oss.sonatype.org/content/repositories/snapshots during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of oss.sonatype.org-snapshot has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

I checked the sonatype snapshot repo and this dependency doesn't seem to be present:

grafik

I'm not too familiar with Maven, so perhaps I'm doing something wrong, e.g. missing some kind of obvious configuration?

derreisende77 commented 3 years ago

mvn clean install should be enough to build. i dont know why the libs arent found on your system, here it works ootb on 3 different OS

swsnr commented 3 years ago

Perhaps the missing libraries are in your local maven repo?

In any case with the new release the issue's gone, so I'll close this 🙂