Re: Maven repository problem : No result, processing index : xuggle repo

Matthias Bläsing <[email protected]>
Newsgroups gmane.comp.java.netbeans.devel
Message-ID <[email protected]>
Hey,

Am Sonntag, den 01.11.2015, 04:17 -0500 schrieb martinj:
> Anyway, my real problem remains - ie how to get my project built in
> Netbeans with a repository that has no index. Is this possible?

Netbeans has absolutely no problem building maven projects with
dependencies without indices.

1. Create these files:

This pom:

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">;
    <modelVersion>4.0.0</modelVersion>
    <groupId>eu.doppel_helix.demo</groupId>
    <artifactId>xugglertest</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
    </properties>
    <repositories>
        <repository>
            <id>Xuggler</id>
            <url>http://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>
</project>

------------------------------

This java file:

package eu.doppel_helix.demo.xugglertest;

import com.xuggle.mediatool.IMediaReader;
import com.xuggle.mediatool.IMediaViewer;
import com.xuggle.mediatool.ToolFactory;

public class Main {

    public static void main(String[] argv) {
        IMediaReader reader = ToolFactory.makeReader("/home/matthias/Musik/cds/Coyote Ugly/01 - Can't Fight the Moonlight.mp3");
        reader.addListener(ToolFactory.makeViewer(IMediaViewer.Mode.AUDIO_ONLY));
        // Read while there is no error
        while (reader.readPacket() == null) {
        }

    }
}

------------------------------

2. Clean and build in netbeans
3. Run file leads to music playing....


So no problem (this is 8.1-nightly, but nothing that I did not similar
at work with 8.0.2).

HTH

Matthias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.