Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Não consigo importar XStream

Converti o projeto para maven, adicionei a dependencia, porém não consigo importar o XStream

meu pom

<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>Argentum</groupId>
    <artifactId>Argentum</artifactId>
    <version>0.0.1-SNAPSHOT</version>

    <dependencies>
        <!-- https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream -->
        <dependency>
            <groupId>com.thoughtworks.xstream</groupId>
            <artifactId>xstream</artifactId>
            <version>1.4.10</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.7.0</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>

método :

@Test
    public void testaXStream() {
        XStream stream = new XStream(new DomDriver());
    }

o DomDriver consigo importar, mas o XStream não

1 resposta
solução!

Resolvido, exclui a demendencia no .m2 adicionei novamente