Ошибка передачи org.codehaus.mojo: exe c -maven-plugin: pom: 1.6.0 - PullRequest
0 голосов
/ 28 января 2020

Я получаю сообщение об ошибке ниже при попытке запустить maven clean / build из моего pom. xml в проекте selenium.

Ошибка: сбой при передаче org.codehaus.mojo: exe c -maven -plugin: pom: 1.6.0 из http://10.132.12.35: 8443 / репозиторий / maven-public / был кэширован в локальном репозитории, разрешение не будет повторяться до тех пор, пока не истечет интервал обновления commonJarsMirror или не произойдет обновление вынуждены. Исходная ошибка: не удалось передать артефакт org.codehaus.mojo: exe c -maven-plugin: pom: 1.6.0 из / в commonJarsMirror (http://10.132.12.35: 8443 / хранилище / maven-public / ): неожиданное завершение потока в Соединении {10.132.12.35:8443, прокси = DIRECT hostAddress = / 10.132.12.35: 8443 cipherSuite = нет протокол = http / 1.1}

My pom. xml содержит ниже:

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

<properties>
    <testngConfigurationFilePath>src/test/resources</testngConfigurationFilePath>
    <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
</properties>

<build>
    <sourceDirectory>src</sourceDirectory>
    <resources>
        <resource>
            <directory>src</directory>
            <excludes>
                <exclude>**/*.java</exclude>
            </excludes>
        </resource>
    </resources>

    <plugins>
        <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.5.1</version>
            <configuration>
                <source>8</source>
                <target>8</target>
                <!-- <source>1.8</source> <target>1.8</target> -->
            </configuration>
        </plugin>

        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>exec-maven-plugin</artifactId>
            <version>1.6.0</version>
            <executions>
                <execution>
                    <goals>
                        <goal>java</goal>
                    </goals>
                </execution>
            </executions>
            <configuration>
                <mainClass>com.test.Start</mainClass>
                <arguments>
                    <argument></argument>
                </arguments>
                <systemProperties>                                      
                    <systemProperty>                                                    
                        <key>config.properties</key>                                                    
                        <value>src/automation.properties</value>                                                
                    </systemProperty>                                       
                </systemProperties>
            </configuration>
        </plugin>
    </plugins>
</build>

Пожалуйста, совет.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...