Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 0.205 s
- [INFO] Finished at: 2017-12-15T13:52:00-02:00
- [INFO] Final Memory: 8M/155M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Could not find goal 'pmd:check' in plugin org.apache.maven.plugins:maven
- -pmd-plugin:2.7.1 among available goals check, pmd, cpd, help, cpd-check -> [Hel
- p 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
- ch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please rea
- d the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoNotFoundEx
- ception
- <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>Selenium</groupId>
- <artifactId>Selenium</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.12</version>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium</groupId>
- <artifactId>selenium-java</artifactId>
- <version>3.8.1</version>
- </dependency>
- <dependency>
- <groupId>org.seleniumhq.selenium</groupId>
- <artifactId>selenium-server</artifactId>
- <version>3.8.1</version>
- </dependency>
- <dependency>
- <groupId>net.sourceforge.pmd</groupId>
- <artifactId>pmd</artifactId>
- <version>5.8.1</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- <build>
- <sourceDirectory>src</sourceDirectory>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.7.0</version>
- <configuration>
- <source>1.8</source>
- <target>1.8</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>2.7.1</version>
- <configuration>
- <verbose>true</verbose>
- <sourceEncoding>utf-8</sourceEncoding>
- <skipEmptyReport>false</skipEmptyReport>
- <includeTests>true</includeTests>
- <aggregate>true</aggregate>
- <minimumTokens>100</minimumTokens>
- <linkXRef>false</linkXRef>
- <targetJdk>1.6</targetJdk>
- <rulesets>
- <ruleset>/rulesets/basic.xml</ruleset>
- </rulesets>
- <failOnViolation>true</failOnViolation>
- </configuration>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>pmd</goal>
- <goal>check</goal>
- <goal>cpd</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
Add Comment
Please, Sign In to add comment