Features can be built in the same way as plug-ins, although this time the packaging type is eclipse-feature
.
Move the
com.packtpub.e4.feature
project underneath thecom.packtpub.e4.parent
project.Add the line
<module>com.packtpub.e4.feature</module>
to the parentpom.xml
file.Copy the
pom.xml
file from the clock plug-in to the feature project.Modify the packaging type to
<packaging>eclipse-feature</packaging>
.Change the
artifactId
tocom.packtpub.e4.feature
.The resulting
pom.xml
file will look like:<?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> <parent> <groupId>com.packtpub.e4</groupId> <artifactId>com.packtpub.e4.parent...