Permalink
Browse files

added maven repository for junrar

  • Loading branch information...
1 parent 9164179 commit b2046704cba22cc95581d2443605672b9c74e614 @Happy-Neko Happy-Neko committed Aug 1, 2012
Showing with 15 additions and 23 deletions.
  1. +10 −18 pom.xml
  2. +2 −2 src/main/java/net/pms/dlna/RarredEntry.java
  3. +3 −3 src/main/java/net/pms/dlna/RarredFile.java
View
28 pom.xml
@@ -83,7 +83,7 @@
<jgoodies-common-version>1.2.1</jgoodies-common-version>
<jgoodies-forms-version>1.4.2</jgoodies-forms-version>
<jgoodies-looks-version>2.4.2</jgoodies-looks-version>
- <junrar-version>0.5</junrar-version>
+ <junrar-version>0.6.1</junrar-version>
<mediautil-version>1.0</mediautil-version>
<slf4j-version>1.6.4</slf4j-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -152,7 +152,13 @@
</snapshots>
</repository>
- </repositories>
+ <!-- JUnRar by Edmund Wagner -->
+ <repository>
+ <id>JUnRar mirror repository</id>
+ <name>JUnRar mirror repository</name>
+ <url>https://junrar-repository.googlecode.com/svn/deploy/</url>
+ </repository>
+ </repositories>
<dependencies>
<dependency>
@@ -313,10 +319,9 @@
<version>${jgoodies-looks-version}</version>
</dependency>
- <!-- XXX: not Mavenized: http://github.com/edmund-wagner/junrar -->
<dependency>
- <groupId>de.innosystec</groupId>
- <artifactId>java-unrar</artifactId>
+ <groupId>com.github.junrar</groupId>
+ <artifactId>junrar</artifactId>
<version>${junrar-version}</version>
</dependency>
@@ -678,19 +683,6 @@
</artifactItem>
<artifactItem>
- <groupId>de.innosystec</groupId>
- <artifactId>java-unrar</artifactId>
- <version>${junrar-version}</version>
- <packaging>jar</packaging>
- <install>true</install>
- <force>false</force>
- <downloadUrl>http://cloud.github.com/downloads/edmund-wagner/junrar/java-unrar-${junrar-version}.zip</downloadUrl>
- <checksum>1e621c27dba2feeac400a96042f55775dc47f990</checksum>
- <extractFile>java-unrar-${junrar-version}/java-unrar-${junrar-version}.jar</extractFile>
- <extractFileChecksum>111074096b6bdce79fa09842143c336a5cf64fcb</extractFileChecksum>
- </artifactItem>
-
- <artifactItem>
<groupId>mediautil</groupId>
<artifactId>mediautil</artifactId>
<version>${mediautil-version}</version>
@@ -18,8 +18,8 @@
*/
package net.pms.dlna;
-import de.innosystec.unrar.Archive;
-import de.innosystec.unrar.rarfile.FileHeader;
+import com.github.junrar.Archive;
+import com.github.junrar.rarfile.FileHeader;
import net.pms.formats.Format;
import net.pms.util.FileUtil;
import org.slf4j.Logger;
@@ -18,9 +18,9 @@
*/
package net.pms.dlna;
-import de.innosystec.unrar.Archive;
-import de.innosystec.unrar.exception.RarException;
-import de.innosystec.unrar.rarfile.FileHeader;
+import com.github.junrar.Archive;
+import com.github.junrar.exception.RarException;
+import com.github.junrar.rarfile.FileHeader;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

0 comments on commit b204670

Please sign in to comment.