Build from Source

Madsonic Server 6.x

Build from Source

Unread postby utahbmxer » 03 Mar 2017, 21:38

Sorry if this is the wrong location for this. I am trying to learn Java a little more and thought it would be fun to see how this server works. It seems there are some things missing from maven.apache.org

I cloned all the modules from GitLab.

Installed Java
# java -version
openjdk version "1.8.0_121"
OpenJDK Runtime Environment (build 1.8.0_121-b13)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode)

Installed Maven
# mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T09:41:47-07:00)
Maven home: /opt/maven
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-514.6.2.el7.x86_64", arch: "amd64", family: "unix"

Switched to the parent folder
# mvn clean install package -P deploy-default, main -DcompilerArgument=-Xlint:deprecation
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for net.sourceforge.subsonic:subsonic-rest-api:6.0: Failure to find org.madsonic:madsonic:pom:6.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 10, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project net.sourceforge.subsonic:subsonic-rest-api:6.0 (/root/source/madsonic/subsonic-rest-api/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for net.sourceforge.subsonic:subsonic-rest-api:6.0: Failure to find org.madsonic:madsonic:pom:6.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM @ line 10, column 13 -> [Help 2]
[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/disp ... gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/disp ... lException


Did I miss something during setup? Thanks in advance.
utahbmxer
 
Posts: 3
Joined: 31 Mar 2014, 05:58
Has thanked: 0 time
Been thanked: 1 time

Re: Build from Source

Unread postby Madevil » 04 Mar 2017, 07:00

Update wrong dependency to parent pom.

Try again after refresh to latest.

Code: Select all
git pull


Best regards,
The Madsonic Team
User avatar
Madevil
Administrator
Administrator
 
Posts: 926
Joined: 07 Dec 2012, 03:58
Has thanked: 1313 times
Been thanked: 959 times


Return to Server 6.x

Who is online

Users browsing this forum: No registered users and 1 guest