java - Failed to execute goal org.apache.maven.plugins:maven -


i getting error on running maven test

failed execute goal org.apache.maven.plugins:maven-plugin-plugin:3.2:descriptor (default-descriptor) on project amsframeworok: error extracting plugin descriptor: 'no mojo definitions found plugin: ams5.0:amsframeworok.' -> [help 1]

below pom.xml

<?xml version="1.0" encoding="utf-8"?> <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>ams5.0</groupid>     <artifactid>amsframeworok</artifactid>   <version>1.0-snapshot</version>     <packaging>maven-plugin</packaging>      <name>amsframeworok</name>  <url>http://maven.apache.org</url>     <properties>         <project.build.sourceencoding>utf-8</project.build.sourceencoding>         <angulargwt.version>1.1.2</angulargwt.version>          <jdk.version>1.8</jdk.version>         <module.fullname>ams5.0.my</module.fullname>      </properties>      <dependencies>     <dependency>      <groupid>com.mashape.unirest</groupid>      <artifactid>unirest-java</artifactid>      <version>1.4.5</version> </dependency> <dependency>     <groupid>org.apache.httpcomponents</groupid>     <artifactid>httpcore</artifactid>     <version>4.4.4</version> </dependency> <dependency>     <groupid>org.apache.httpcomponents</groupid>     <artifactid>httpclient</artifactid>     <version>4.5.1</version> </dependency>         <dependency>             <groupid>com.google.gwt.gwtmockito</groupid>             <artifactid>gwtmockito</artifactid>             <version>1.1.2</version>             <scope>test</scope>         </dependency>         <dependency>             <groupid>info.cukes</groupid>             <artifactid>cucumber-java</artifactid>             <version>1.2.3</version>             <scope>test</scope>         </dependency>          <dependency>             <groupid>info.cukes</groupid>             <artifactid>cucumber-jvm</artifactid>             <version>1.1.5</version>             <type>pom</type>         </dependency>           <dependency>             <groupid>info.cukes</groupid>             <artifactid>cucumber-junit</artifactid>             <version>1.2.3</version>             <scope>test</scope>         </dependency>         <dependency>             <groupid>info.cukes</groupid>             <artifactid>gherkin</artifactid>             <version>2.12.2</version>         </dependency>          <dependency>       <groupid>junit</groupid>       <artifactid>junit</artifactid>       <version>4.11</version>       <scope>test</scope>     </dependency>     <dependency>             <groupid>org.mockito</groupid>             <artifactid>mockito-all</artifactid>             <version>2.0.2-beta</version>         </dependency>          <dependency>             <groupid>info.cukes</groupid>             <artifactid>cucumber-jvm-deps</artifactid>             <version>1.0.5</version>         </dependency>     <dependency>         <groupid>org.seleniumhq.selenium</groupid>         <artifactid>selenium-java</artifactid>         <version>2.53.0</version>     </dependency>      <dependency>     <groupid>org.apache.maven</groupid>     <artifactid>maven-repository-metadata</artifactid>     <version>2.2.1</version> </dependency>          <dependency>       <groupid>com.sun</groupid>       <artifactid>tools</artifactid>       <version>1.5.0_06</version>       <scope>system</scope>     <systempath>${env.java_home}/lib/tools.jar</systempath>     </dependency>      <dependency>     <groupid>org.apache.maven.plugins</groupid>     <artifactid>maven-surefire-plugin</artifactid>     <version>2.19.1</version> </dependency>       </dependencies> <build>     <plugins>         <plugin>             <groupid>org.apache.maven.plugins</groupid>             <artifactid>maven-plugin-plugin</artifactid>             <version>3.2</version>             <configuration>                 <goalprefix>amsframeworok</goalprefix>             </configuration>             <executions>                 <execution>                     <id>default-descriptor</id>                     <goals>                         <goal>descriptor</goal>                     </goals>                     <phase>process-classes</phase>                 </execution>                 <execution>                     <id>help-descriptor</id>                     <goals>                         <goal>helpmojo</goal>                     </goals>                     <phase>process-classes</phase>                 </execution>             </executions>         </plugin>     </plugins> </build>  </project> 

try running:

mvn clean install -u 

then import command eclipse:

mvn clean install eclipse:clean eclipse:eclipse -dskiptests=true 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -