Although building against a remote repository works as expected, it may have dependencies on plug-ins or features that aren't represented in the target platform created in Chapter 10, Using a Target Platform. To compile against a target platform, a new Maven module needs to be created.
Move the
com.packtpub.e4.target.mars
project underneath thecom.packtpub.e4.parent
project.Add the line
<module>com.packtpub.e4.target.mars</module>
to the parentpom.xml
file.Comment out the
repositories
tags in the parentpom.xml
file.In the
configuration
element of thetarget-plugin-configuration
entry, add the co-ordinates of thecom.packtpub.e4.target.mars
project:<plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-platform-configuration</artifactId> <version>${tycho.version}</version> <configuration> <target> <artifact> <groupId>com.packtpub.e4...