I try to fasten Allure to my tests. I get started as documentation says (https://github.com/allure-framework/allure-core/wiki#getting-started) But there is an error I can not deal with: mvn site
[INFO] --- maven-site-plugin:3.0:site (default-site) @ oiakProject ---
[INFO] configuring report plugin ru.yandex.qatools.allure:allure-maven- plugin:1.4.14
Downloading: http://repo.maven.apache.org/maven2/ru/yandex/qatools/allure/allure
-maven-plugin/1.4.14/allure-maven-plugin-1.4.14.pom
[WARNING] The POM for ru.yandex.qatools.allure:allure-maven- plugin:jar:1.4.14 is
missing, no dependency information available
[INFO] --------------------------------------------------------------------- ---
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site- plugin:3.0:si
te (default-site) on project oiakProject: failed to get report for ru.yandex.qat
ools.allure:allure-maven-plugin: Plugin ru.yandex.qatools.allure:allure-maven-pl
ugin:1.4.14 or one of its dependencies could not be resolved: Failed to read art
ifact descriptor for ru.yandex.qatools.allure:allure-maven-plugin:jar:1.4.14: Co
uld not find artifact ru.yandex.qatools.allure:allure-maven-plugin:pom:1.4.14 in
central (http://repo.maven.apache.org/maven2) -> [Help 1]
Here is my pom.xml:
<properties>
<allure.version>1.4.14</allure.version>
<aspectj.version>1.8.5</aspectj.version>
</properties>
<dependencies>
<dependency>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-junit-adaptor</artifactId>
<version>${allure.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<testFailureIgnore>false</testFailureIgnore>
<argLine>
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
</argLine>
<properties>
<property>
<name>listener</name>
<value>ru.yandex.qatools.allure.junit.AllureRunListener</value>
</property>
</properties>
</configuration>
<dependencies>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.2.10.v20150310</version>
<configuration>
<webAppSourceDirectory>${project.build.directory}/site/allure-maven-plugin</webAppSourceDirectory>
<stopKey>stop</stopKey>
<stopPort>1234</stopPort>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>ru.yandex.qatools.allure</groupId>
<artifactId>allure-maven-plugin</artifactId>
<version>2.2</version>
</plugin>
</plugins>
</reporting>
This issue seems to be with Corporate Network Proxy. I'm also having same problem using Allure.
I tried setting up Git, clone repo from Github and was not able to do. I fixed that issue by setting in git config. References:
Would it be possible to set http(s) proxy configuration in Allure config file also?
My Batch file:
My Output: