Rename subsonic api module

Signed-off-by: Andrew DeMaria <lostonamountain@gmail.com>
master
Andrew DeMaria 8 years ago
parent b4c7a96900
commit d8bd94b7ad
No known key found for this signature in database
GPG Key ID: 0A3F5E91F8364EDF
  1. 2
      libresonic-main/pom.xml
  2. 2
      libresonic-main/src/main/java/org/libresonic/player/controller/JAXBWriter.java
  3. 2
      pom.xml
  4. 4
      subsonic-rest-api/pom.xml
  5. 0
      subsonic-rest-api/src/main/resources/org/subsonic/restapi/jaxb.properties
  6. 0
      subsonic-rest-api/src/main/resources/subsonic-rest-api.xsd

@ -21,7 +21,7 @@
<dependency> <dependency>
<groupId>org.libresonic.player</groupId> <groupId>org.libresonic.player</groupId>
<artifactId>libresonic-rest-api</artifactId> <artifactId>subsonic-rest-api</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>

@ -99,7 +99,7 @@ public class JAXBWriter {
private String getRESTProtocolVersion() throws Exception { private String getRESTProtocolVersion() throws Exception {
InputStream in = null; InputStream in = null;
try { try {
in = StringUtil.class.getResourceAsStream("/libresonic-rest-api.xsd"); in = StringUtil.class.getResourceAsStream("/subsonic-rest-api.xsd");
Document document = new SAXBuilder().build(in); Document document = new SAXBuilder().build(in);
Attribute version = document.getRootElement().getAttribute("version"); Attribute version = document.getRootElement().getAttribute("version");
return version.getValue(); return version.getValue();

@ -75,7 +75,7 @@
</developers> </developers>
<modules> <modules>
<module>libresonic-rest-api</module> <module>subsonic-rest-api</module>
<module>libresonic-sonos-api</module> <module>libresonic-sonos-api</module>
<module>libresonic-main</module> <module>libresonic-main</module>
</modules> </modules>

@ -2,8 +2,8 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>libresonic-rest-api</artifactId> <artifactId>subsonic-rest-api</artifactId>
<name>Libresonic REST API</name> <name>Subsonic REST API</name>
<parent> <parent>
<groupId>org.libresonic.player</groupId> <groupId>org.libresonic.player</groupId>
Loading…
Cancel
Save