Now that Maven is installed, it's time to build a plug-in with Tycho. Tycho is a set of plug-ins for Maven 3 that emulates the PDE build system used by Eclipse. The Eclipse platform has moved to building with Tycho and Maven 3.
Change into the
com.packtpub.e4.clock.ui
project created in Chapter 2, Creating Views with SWT.Tip
The project can also be downloaded from the site's GitHub repository at https://github.com/alblue/com.packtpub.e4/
Create a file called
pom.xml
at the root of the project, with the following empty contents:<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> </project>
This can be copied from the
pom.xml
file generated in the previous section, since everypom...