Ошибка при копмилировании проекта maven: Execution default of goal failed: multiple points

pom.xml
pom
jenkins
reporting
browserstack
maven
Теги: #<Tag:0x00007fedc0070408> #<Tag:0x00007fedc0070278> #<Tag:0x00007fedc0070138> #<Tag:0x00007fedc0077f78> #<Tag:0x00007fedc0077e38> #<Tag:0x00007fedc0077ca8>

(Tatyana Durova) #1

При запуске проекта получаю такую ошибку

[ERROR] Failed to execute goal com.browserstack:automate-maven-plugin:0.7.2-SNAPSHOT:test-compile (default) on project xxx: Execution default of goal com.browserstack:automate-maven-plugin:0.7.2-SNAPSHOT:test-compile failed: multiple points -> [Help 1]

Полный лог с дебагингом здесь https://codeshare.io/2KgwqX

Ошибка стала появлятся после конфигурирования pom файла по данному мануалу:
https://www.browserstack.com/automate/jenkins (https://wiki.jenkins.io/display/JENKINS/BrowserStack+Plugin)

В данный момент 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>com.xxx</groupId>
    <artifactId>xxx</artifactId>
    <version>4.0.0</version>
    <packaging>jar</packaging>

    <properties>
        <jdk.source.version>1.8.0_131</jdk.source.version>
        <jdk.target.version>1.8.0_131</jdk.target.version>
    </properties>

    <repositories>
        <repository>
            <id>sonatype-nexus-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>sonatype-nexus-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </pluginRepository>
    </pluginRepositories>

    <dependencies>
        <dependency>
            <groupId>com.browserstack</groupId>
            <artifactId>automate-testassist</artifactId>
            <version>0.7.2-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.testng</groupId>
            <artifactId>testng</artifactId>
            <version>6.11</version>
        </dependency>
        <dependency>
            <groupId>javax.mail</groupId>
            <artifactId>mail</artifactId>
            <version>1.5.0-b01</version>
        </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-java</artifactId>
            <version>3.4.0</version>
        </dependency>
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.8.1</version>
        </dependency>
        <dependency>
            <groupId>com.dev9</groupId>
            <artifactId>webdriver-utils</artifactId>
            <version>1.6</version>
        </dependency>
        <dependency>
            <groupId>com.codeborne</groupId>
            <artifactId>selenide</artifactId>
            <version>4.5.1</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.22</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.22</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-api</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>org.apache.logging.log4j</groupId>
            <artifactId>log4j-core</artifactId>
            <version>2.8.2</version>
        </dependency>
        <dependency>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-databind</artifactId>
            <version>2.9.0.pr4</version>
        </dependency>
    </dependencies>
    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-resources-plugin</artifactId>
                <version>2.7</version>
                <configuration>
                    <encoding>UTF-8</encoding>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.18.1</version>
                <configuration>
                    <suiteXmlFiles>
                        <suiteXmlFile>${suitexml.file}</suiteXmlFile>
                    </suiteXmlFiles>
                    <systemPropertyVariables>
                        <profileId>${profileId}</profileId>
                        <config>${config}</config>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.3</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>

            <plugin>
                <groupId>com.browserstack</groupId>
                <artifactId>automate-maven-plugin</artifactId>
                <version>0.7.2-SNAPSHOT</version>
                <configuration>
                    <source>${jdk.source.version}</source>
                    <target>${jdk.target.version}</target>
                    <complianceLevel>${jdk.source.version}</complianceLevel>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>test-compile</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>


        </plugins>
    </build>
    <!-- profiles -->
    <profiles>
        <!--profile>
            <id>allow-snapshots</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>snapshots-repo</id>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
        </profile-->
        <profile>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <id>local</id>
            <properties>
                <profileId>local</profileId>
                <suitexml.file>src/test/resources/testng.local.xml</suitexml.file>
                <dataCollector>s16</dataCollector>
                <scriptFile>xxx</scriptFile>
                <pjID>xxx</pjID>
                <environment></environment>
                <config>local.conf.json</config>
            </properties>
        </profile>
        <profile>
            <id>dev</id>
            <properties>
                <profileId>dev</profileId>
                <dataCollector>s16</dataCollector>
                <scriptFile>xxx</scriptFile>
                <pjID>xxx</pjID>
                <suitexml.file>src/test/resources/testng.xml</suitexml.file>
                <environment></environment>
                <config>parallel.conf.json</config>
            </properties>
        </profile>
        <profile>
            <id>staging</id>
            <properties>
                <profileId>staging</profileId>
                <activeByDefault>true</activeByDefault>
                <dataCollector>s16</dataCollector>
                <scriptFile>xxx</scriptFile>
                <pjID>xxx</pjID>
                <suitexml.file>src/test/resources/testng.xml</suitexml.file>
                <environment></environment>
                <config>parallel.conf.json</config>
            </properties>
        </profile>
        <profile>
            <id>live</id>
            <properties>
                <profileId>live</profileId>
                <dataCollector>s16</dataCollector>
                <scriptFile>xxx</scriptFile>
                <pjID>xxx</pjID>
                <suitexml.file>src/test/resources/testng.xml</suitexml.file>
                <environment></environment>
                <config>parallel.conf.json</config>
            </properties>
        </profile>
    </profiles>
</project>

Help [1] как то не очень помогает, вот ссылка https://cwiki.apache.org//confluence/display/MAVEN/PluginExecutionException


(Tatyana Durova) #2

Проблема была в

<properties>
        <jdk.source.version>1.8</jdk.source.version>
        <jdk.target.version>1.8</jdk.target.version>
    </properties>