Skip to content
hursevich edited this page Sep 19, 2016 · 7 revisions

Environment requirements

mvn -Dworkspace=<path_to_workspace> eclipse:configure-workspace

Generating project

The easiest way to initialize new project is to you Carina archetype, you will get correct project structure along with test samples. First clone archetype repo:

git clone https://github.com/qaprosoft/carina-archetype.git

Navigate to cloned repo and execute:

mvn install

Now go to folder where you need to generate new project and execute (do not forget to set groupId, artifactId, name, url, version):

mvn archetype:generate -DarchetypeGroupId=com.qaprosoft \
                       -DarchetypeArtifactId=carina \
                       -DarchetypeVersion=1.0 \
                       -DgroupId=<your_groupId> \ 
                       -DartifactId=<your_artifactId> \ 
                       -Dname="<you_proj_name>" \
                       -Durl=<your_proj_url> \
                       -Dversion=<your_proj_version>

Generate eclipse workspace using command:

mvn clean eclipse:eclipse

Now you are ready to import project into eclipse.

Clone this wiki locally