v0.7.24c fails to compile

Artist radio, genre radio & related artists. A Subsonic server for music nerds.

Moderator: moderators

v0.7.24c fails to compile

Postby NHellFire » Mon May 13, 2013 1:14 am

When running `mvn install` in subsonic, I get the following error (debug log attached).
Not sure what's causing it, I've completed cleaned it out and tried building twice. Compiles fine up to there (apart from 2 (ignored) test failures, logs are attached).
Code: Select all
administrator:~/source/subsonic/musiccabinet/subsonic$ mvn install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.sourceforge.subsonic:subsonic-main:war:0.7
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 360, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Subsonic
[INFO] Subsonic Main
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic 0.7
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.5.1:analyze-only (analyze) @ subsonic ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ subsonic ---
[INFO] Installing /home/administrator/source/subsonic/musiccabinet/subsonic/pom.xml to /home/administrator/.m2/repository/net/sourceforge/subsonic/subsonic/0.7/subsonic-0.7.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Main 0.7
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for com.github.hakko.musiccabinet:musiccabinet-server:jar:0.7.24c is missing, no dependency information available
[WARNING] The POM for org.directwebremoting:dwr:jar:3.0.0-rc3-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Subsonic .......................................... SUCCESS [1.951s]
[INFO] Subsonic Main ..................................... FAILURE [0.566s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.766s
[INFO] Finished at: Mon May 13 02:07:22 BST 2013
[INFO] Final Memory: 12M/205M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project subsonic-main: Could not resolve dependencies for project net.sourceforge.subsonic:subsonic-main:war:0.7: The following artifacts could not be resolved: com.github.hakko.musiccabinet:musiccabinet-server:jar:0.7.24c, org.directwebremoting:dwr:jar:3.0.0-rc3-SNAPSHOT: Failure to find com.github.hakko.musiccabinet:musiccabinet-server:jar:0.7.24c in http://repository.springsource.com/maven/bundles/release was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.bundles.release 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :subsonic-main
NHellFire
 
Posts: 7
Joined: Sun May 12, 2013 7:47 pm

Re: v0.7.24c fails to compile

Postby NHellFire » Wed May 15, 2013 4:36 am

I've just figured this out. Subsonic was looking for musiccabinet v0.7.24c, but musiccabinet's version is set to 0.7.24. Corrected musiccabinet's version in musiccabinet-server/pom.xml and it builds now.
NHellFire
 
Posts: 7
Joined: Sun May 12, 2013 7:47 pm

Re: v0.7.24c fails to compile

Postby MuadDib_II » Sun Oct 13, 2013 6:33 pm

Hi, I'm having the same problem as you...

I try to change the musiccabinet-server/pom.xml (and put a "c") in musiccabinet's version but it not work, do you think I need to do some other thing?

Thanks for your help (and sorry for the bad english)
MuadDib_II
 
Posts: 9
Joined: Mon Jun 18, 2012 7:13 pm


Return to MusicCabinet

Who is online

Users browsing this forum: No registered users and 8 guests