selenium webdriver - about standard directory layout of maven project - Stack Overflow
selenium - Structure of an automation framework components in Maven project - Stack Overflow
Selenium Maven Project - Stack Overflow
How can I use Selenium in my project without using any IDE ?
What is Maven in Selenium?
Is Maven required for Selenium?
What is Selenium Maven dependency?
Videos
Follow the steps mentioned here
pom.xml will also be created automatically. Afterwards you'll have to add required dependencies in it.
Copying a pom file and running install won't create you the relevant folders. In order to generate a new project consider using the archetype plugin.
In your case you will need to manually create the folders and maven will simply use them in both install and eclipse plugins.
I am not sure about the structure of your automation project. I prefer the following hierarchy in MAVEN projects
src
|-----main
| |-----java
| |-----Pages (contains application code arranged as one Class per Page)
| |-----Steps (calls the page objects and methods called in Pages)
|-----test
|------java
| |-----Test (Opens browser and calls steps to perform test - TestNG)
|------resources
|-----InputSheets
|-----Environment Variables
The results are saved in C or D drive and are time stamped to avoid getting overwritten.
The automation helper library is created as a separate Maven project and is added as a dependency to the test project. In this way the helper library is independent from the test project and can be used across all projects if need arises.
All this being said, much of the structure is a matter of choice and varies according to your project requirements.
"src/main/" is for production code or test automation framework, not for test cases. "src/test/" is for testing stuff, including selenium tests. "java" folders are for classes, "resource" folders are for configuration and test data.
I suggest creating a separate maven module for your testing stuff: test framework and test cases.
Please refer maven directory layout page for more information.
UPDATE: I have created sample maven project to show how run selenium test with selenide.