Cannot find cling-core:jar
[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.018s [INFO] Finished at: Sat Jul 21 15:03:58 BST 2012 [INFO] Final Memory: 4M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project sonos-java: Could not resolve dependencies for project org.tensin.sonos:sonos-java:jar:1.0.0-SNAPSHOT: Could not find artifact org.teleal.cling:cling-core:jar:1.0.5 in central (http://repo1.maven.org/maven2) -> [Help 1] [ERROR]
You have to add this repository : http://teleal.org/m2/ (or http://4thline.org/m2/ ) in order to get in your local repository the cling* jar. (as i'm using a maven repository on my side (nexus) i don't put the additionnal repositories in the pom.xml of my projects, i just have to configure my main nexus repo)
I was looking for the same information, and the bug list should not be the place to find it. I will suggest this is added to either the README file or a wiki page.
Write something easy and copy/pasteable like
How To Build
To enable the required maven repositories add the following profile to your settings.xml
<profiles>
<profile>
<id>4thline</id>
<repositories>
<repository>
<id>4thline.org-repo</id>
<url>http://4thline.org/m2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
</profile>
</profiles>
To activate by default add:
<activeProfiles>
<activeProfile>4thline</activeProfile>
</activeProfiles>
more information on mavens settings.xml can be found at http://maven.apache.org/settings.html
Good point. I just added those informations in the README file. Thanks for the reminder.