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:

  1. Navigate to

Get Implementing Domain-Specific Languages with Xtext and Xtend - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.