Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding xuggler dependency gives error

I want to generate single thumbnail image from video so I'm using xuggler. I tried to add its dependency and repository.

<repository>
    <id>xuggle repo</id>
    <url>http://xuggle.googlecode.com/svn/trunk/repo/share/java/</url>
</repository>

<dependency>
   <groupId>xuggle</groupId>
   <artifactId>xuggle-xuggler</artifactId>
   <version>5.2</version>
</dependency>

But after adding the dependency I get error Missing artifact xuggle:xuggle-xuggler:jar:5.2.

According to this link I even changed the version but it still gives me error. Please help. Thanks in advance

like image 865
User14141111 Avatar asked May 25 '16 05:05

User14141111


2 Answers

No one is maintaining Xuggler anymore, but there is still a saved repository. Try using this repository for xuggler: https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/ (Version 5.4 ONLY)

Code:

<repositories>
  <repository>
    <id>xuggle repo</id>
    <url>https://files.liferay.com/mirrors/xuggle.googlecode.com/svn/trunk/repo/share/java/</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>xuggle</groupId>
    <artifactId>xuggle-xuggler</artifactId>
    <version>5.4</version>
  </dependency>
</dependencies>
like image 120
Mateus Avatar answered Nov 05 '22 17:11

Mateus


On Maven Repository, we can read:

link: Xuggle maven repo

Note: this artifact it located at Dcm4Che repository (http://www.dcm4che.org/maven2/)

Add this repository instead "files.liferay.com" repository

    <repositories>
    <repository>
        <id>dcm4che repository</id>
        <url>http://www.dcm4che.org/maven2/</url>
    </repository>
</repositories>

EDIT: Alternative on Liferay's repository

Liferay's thirs party repo

<dependency>
    <groupId>com.liferay</groupId>
    <artifactId>com.xuggle.xuggler</artifactId>
    <version>5.4</version>
    <type>pom</type>
</dependency>
like image 22
mfruizs Avatar answered Nov 05 '22 17:11

mfruizs