Не получается поменять дирректорию в allure

Собираю проект командой mvn io.qameta.allure:allure-maven:serve mvn clean test allure:serve но при сборке генерирует суда [INFO] Generate Allure report to /home/masha/IdeaProjects/API/restassured/target/site/allure-maven-plugin ,а пытается прочитать отсуда [INFO] Found results directory /home/masha/IdeaProjects/API/restassured/target/allure-results также использую команду mvn clean test allure:serve выдает [ERROR] No plugin found for prefix 'allure' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/masha/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1] указыал и файл аллуре.проперти вот мой помник

<parent>
    <artifactId>API</artifactId>
    <groupId>org.example</groupId>
    <version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>restassured</artifactId>
<build>
    <plugins>

        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>3.0.0-M1</version>
            <configuration>
                <systemProperties>
                <systemPropertyVariables>
                    <allure.results.directory>${project.build.directory}\allure-results</allure.results.directory>
                </systemPropertyVariables>
                </systemProperties>
            </configuration>
        </plugin>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.8.1</version>
            <configuration>
                <source>8</source>
                <target>8</target>
            </configuration>
        </plugin>
    </plugins>
</build>

<properties>
    <maven.compiler.source>8</maven.compiler.source>
    <maven.compiler.target>8</maven.compiler.target>
    <allure.version>2.13.2</allure.version>
    <aspectj.version>1.9.6</aspectj.version>
</properties>

<dependencies>
    <dependency>
        <groupId>io.rest-assured</groupId>
        <artifactId>rest-assured</artifactId>
        <version>4.4.0</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter</artifactId>
        <version>5.8.2</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.11.0</version>
    </dependency>
    <dependency>
        <groupId>io.qameta.allure</groupId>
        <artifactId>allure-rest-assured</artifactId>
        <version>2.17.0</version>
    </dependency>
</dependencies>

<reporting>
    <excludeDefaults>true</excludeDefaults>
    <plugins>
        <plugin>
            <groupId>io.qameta.allure</groupId>
            <artifactId>allure-rest-assured</artifactId>
            <version>2.17.0</version>
            <configuration>
                <reportVersion>${allure.version}</reportVersion>
                <argLine>
                    -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
                </argLine>
                <systemProperties>
                    <systemPropertyVariables>
                        <allure.results.directory>${project.build.directory}target\allure-results</allure.results.directory>
                    </systemPropertyVariables>
                </systemProperties>
            </configuration>
        </plugin>
    </plugins>
</reporting>

ПОМОГИТЕ УЖЕ 2 ДНЯ СИЖУ РЕШИТЬ НЕ ПОЛУЧАЕТСЯ


Ответы (0 шт):