i read lots of questions, tutorials but it is not working & there is nothing for beginners. i have created a simple project in maven selenium & it opens https://www.google.com, i want to Run this using Jar file instead of alway running this in Eclipse. to creating JAR i have tried Eclipse Export method but it shows errors such as "Main class not found" . so JAR did not worked. then i heard to use something "maven-assembly-plugin" for creating runnable JAR, but i did not found step by step guide anywhere for beginners. here is my code of my main project file
package com.org.learningMaven;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Test;
public class HelloWorldTest {
@Test
public void login() {
    System.out.println("Opening Google!");
    WebDriver driver = new FirefoxDriver();
    driver.get("https://www.google.com/");
}
}
2nd method i tried, i added this in pom.xml
     <build>
  <plugins>
    <plugin>
      <artifactId>maven-assembly-plugin</artifactId>
       <configuration>
        <descriptorRefs>
          <descriptorRef>jar-with-dependencies</descriptorRef>
            </descriptorRefs>
            <archive>
          <manifest>
        <mainClass>HelloWorldTest</mainClass>
          </manifest>
        </archive>
      </configuration>
    </plugin>
  </plugins>
</build>
then right click on project run as>5 maven build... and i write "clean compile assembly:single" in Goal then clicked apply & Run. and i found a new jar file in "Target" directory of project, by nothing happened when clicked that JAR. can someone plz tell me easy steps for Runnable JAR file of Maven? Thanks
