Using the Xtext project wizard
Setting up pom files is not easy, especially if you are not familiar with Maven, Tycho, their plugins and their building lifecycle. An introduction to Maven is out of the scope of this book. On the Maven website, you find some "Getting Started" tutorials; the Tycho documentation can be found here https://eclipse.org/tycho/documentation.php.
Fortunately, the Xtext project wizard can create all the pom files in all the projects for you. These generated pom files are surely enough to get you started building your DSL with Maven/Tycho, and for most DSLs, they do not need to be customized at all.
In this section, we will create a new example DSL project to demonstrate the building and releasing mechanisms:
- Navigate to File | New | Project...; in the dialog, navigate to the Xtext category and select Xtext Project.
- In the next dialog, you should specify the following names:
- Project name:
org.example.hellomaven
- Name:
org.example.hellomaven.HelloMaven
- Extensions...
- Project name: