Rajno1 commented on issue #251: roadmap chart
URL: https://github.com/apache/maven-surefire/pull/251#issuecomment-596204307
 
 
   HI I am trying to a maven project through terminal (MAC), by using command 
'mvn verify'.
   BUILD SUCCESS message is coming but T E S T S are not running. please check 
and advice
   following is my pom.xml file 
   
   <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>nopCommerseV001_cucumber</groupId>
     <artifactId>nopCommerseV001_cucumber</artifactId>
     <version>0.0.1-SNAPSHOT</version>
     <packaging>jar</packaging>
   
     <name>nopCommerseV001_cucumber</name>
     <url>http://maven.apache.org</url>
   
     <properties>
       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
       <maven.compiler.source>1.6</maven.compiler.source>
       <maven.compiler.target>1.6</maven.compiler.target>
     </properties>
      
      
    
    <dependencies>
   
   <!-- 
https://mvnrepository.com/artifact/org.apache.maven.plugins/maven-compiler-plugin
 -->
   <dependency>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-compiler-plugin</artifactId>
       <version>3.8.1</version>
   </dependency>
   
   
   <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-junit -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-junit</artifactId>
       <version>5.4.2</version>
       <scope>test</scope>
   </dependency>
   
   <!-- https://mvnrepository.com/artifact/junit/junit -->
   <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <version>4.13</version>
       <scope>test</scope>
   </dependency>
   
      <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-java</artifactId>
       <version>5.0.0-RC1</version>
   </dependency>
   
      
      <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-core -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-core</artifactId>
       <version>5.0.0-RC1</version>
   </dependency>
   
   <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-jvm -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-jvm</artifactId>
       <version>5.0.0-RC1</version>
       <type>pom</type>
   </dependency>
   
   <!-- https://mvnrepository.com/artifact/net.masterthought/cucumber-reporting 
-->
   <dependency>
       <groupId>net.masterthought</groupId>
       <artifactId>cucumber-reporting</artifactId>
       <version>4.11.0</version>
   </dependency>
   
   <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-jvm-deps -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-jvm-deps</artifactId>
       <version>1.0.6</version>
       <scope>provided</scope>
   </dependency>
   
     <dependency>
           <groupId>org.seleniumhq.selenium</groupId>
           <artifactId>selenium-java</artifactId>
           <version>3.141.59</version>
       </dependency>  
     
     <!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-testng -->
   <dependency>
       <groupId>io.cucumber</groupId>
       <artifactId>cucumber-testng</artifactId>
       <version>5.0.0-RC1</version>
   </dependency>
   
     <!-- https://mvnrepository.com/artifact/log4j/log4j -->
   <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
       <version>1.2.17</version>
   </dependency>
   
     </dependencies>
     
   <build>
       <pluginManagement>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <version>3.0.0-M4</version>
           </plugin>
         </plugins>
       </pluginManagement>
     </build>
   
     
    </project>
   
   
    ************** following is my terminal output ***************
   
   [INFO] Scanning for projects...
   [INFO] 
   [INFO] ---------< nopCommerseV001_cucumber:nopCommerseV001_cucumber 
>----------
   [INFO] Building nopCommerseV001_cucumber 0.0.1-SNAPSHOT
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO] 
   [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
nopCommerseV001_cucumber ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] skip non existing resourceDirectory 
/Users/rajasekhar/eclipse-workspace/nopCommerseV001_cucumber/src/main/resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
nopCommerseV001_cucumber ---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) 
@ nopCommerseV001_cucumber ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] skip non existing resourceDirectory 
/Users/rajasekhar/eclipse-workspace/nopCommerseV001_cucumber/src/test/resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
nopCommerseV001_cucumber ---
   [INFO] Nothing to compile - all classes are up to date
   [INFO] 
   [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ 
nopCommerseV001_cucumber ---
   [INFO] 
   [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ nopCommerseV001_cucumber 
---
   [WARNING] JAR will be empty - no content was marked for inclusion!
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  2.295 s
   [INFO] Finished at: 2020-03-08T18:40:31+05:30
   [INFO] 
------------------------------------------------------------------------
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to