[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] Building An Eclipse-Plugin Via Maven
|
Folks,
I am new to the world of tycho and using
tycho to generate eclipse artifacts. Here is what I am trying to do.
I am working on developing an RCP application
that has two components. One is the base RCP "platform" that
will serve as the platform for all other components to run on. In other
words, the platform project is the base that is required to run RCP applications.
This project is structured in the following way,
platform.build - master build that builds
the modules
platform.core - plugin that is required
by the ui
platform.ui - plugin that contains ui
code and has a dependency on core
platform.feature - collection of the
above plugins
platform.product - product that contains
the features required to run the application
platform.target - target definition
that contains links to the p2 repositories containing the features
I have the maven build working. I used
Lars Vogel's great tutorial on how to build Eclipse applications as my
starting point.
In addition to this, I also have a separate
dependency required by platform.core. This dependency is an eclipse-plugin
and is composed of some jars that are built via maven and some jars that
are present in nexus. The main issue I am running into is I am not able
to get the pom file for this project configured correctly in order to have
tycho generate this plugin. This plugin is called "datagrid".
The way I am trying to build this plugin
is by first copying the jars that are required into a folder called "lib"
in the project and then invoking the tycho-packaging-plugin to create the
eclipse-plugin. However, this approach is not working. I am also attaching
the pom file from the project.
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>tip.epm</groupId>
<artifactId>tip.epm.platform.build</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../tip.epm.platform.build/pom.xml</relativePath>
</parent>
<groupId>tip.epm</groupId>
<artifactId>tip.epm.datagrid</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
<dependencies>
<dependency>
<groupId>tip.epm</groupId>
<artifactId>datagrid-region</artifactId>
<version>14.050.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>tip.epm</groupId>
<artifactId>source-datagrid</artifactId>
<version>14.050.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.gemstone.gemfire</groupId>
<artifactId>gemfire</artifactId>
<version>7.0</version>
</dependency>
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<version>2.7.7</version>
</dependency>
</dependencies>
<!--
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<excludeTransitive>true</excludeTransitive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>0.17.0</version>
<executions>
<execution>
<id>package-plugin</id>
<phase>package</phase>
<goals>
<goal>package-plugin</goal>
</goals>
<configuration>
<additionalFileSets>
<fileSet>
<directory>${project.build.directory}/sample/</directory>
<includes>
<include>**/*</include>
</includes>
</fileSet>
</additionalFileSets>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
-->
</project>
Any thoughts on how to go about doing
this or pointers on what I am doing incorrectly would be helpful?
Regards
Samarth
CONFIDENTIALITY STATEMENT. The information contained in this e-mail message, including attachments, is the confidential information of, and/or is the property of, Vanguard. The information is intended for use solely by the individual or entity named in the message. If you are not an intended recipient or you received this in error, then any review, printing, copying, or distribution of any such information is prohibited, and please notify the sender immediately by reply e-mail and then delete this e-mail from your system.