User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 OracleBeehiveExtension/1.0.0.2-OracleInternal ObetStats/LAFCATCAF_1294839879169-914923201 Thunderbird/3.1.10
Piyush,
First, I'm assuming you have m2e installed. If so, you can run from
your build within eclipse by selecting the parent (or aggregator
project - see the tycho-demo), and selecting "run as..." from the
right-mouse menu. Choose "Maven build" (if the ide recognizes it as
a maven project - the project has been converted to maven, or you've
select the pom you want to run).
-Eric
On 20/01/2012 4:06 AM, PIYUSH BAJAJ wrote:
Hi Eric,
Thanks for your reply, i have installed "Tycho Project
Configurator" but did not find any information as how to use
this plugin for build.
I have a simple plugin project in my workspace and want to
build it.
It says : “Maven
support for building Eclipse and OSGI artifacts on command
line”
You need to install the "tycho project configurators". I
can never remember the exact procedure, but a quick search
on the web for "install tycho configurators" looks like it
should get you what you need.
-Eric
On 19/01/2012 12:34 AM, PIYUSH BAJAJ wrote:
Hi Igor,
Thanks for your reply.
We have the pom.xml created via script, but i
want to eliminate the step where <build> tag
is added to pom.xml manually.
If this is not done getting the error as -
( [ERROR] Unknown packaging: eclipse-plugin @ line
8, column 14 ) while doing mvn install.
Do you know any way i can do this automatically
or in a different way.
Regarding your other point about p2
repositories, can you please let me know how the
command will look like? I don't have much
background.
Best Regards,
Piyush
On Wed, Jan 18, 2012 at
9:27 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx>
wrote:
Couple
of comments
* Regardless of how pom.xml was created, i.e.
manually or generated via
script, pom.xml file is expected to be part of
project source tree. This
will eliminate any manual steps during actual
project build.
* -Dtycho.targetPlatform is deprecated and
strongly discouraged. Use
remote p2 repositories to resolve project
dependencies.
--
Regards,
Igor
Check in pom.xml
On 12-01-18 7:42 AM, PIYUSH BAJAJ wrote:
Hi Experts,
I have a use case in which a plug-in
project (PDE) needs to be build
using maven.
I am following these steps:
-------------------------------------------------------------------------------------------------------
1.Created a simple plug-in project
Build success. Pom created using the above
command.
3.Ran following command for installation:
mvn clean install
Build Failed, [ERROR] Unknown packaging:
eclipse-plugin @ line 8, column
14 : Added Tycho related build in pom.xml
(manually)
This manual add was required since
eclipse-plugin is not known to maven,
and tycho being an extension of maven
knows about it.
Now the build is done, is there a
possibility I can eliminate the manual
step of adding tycho related tags in
pom.xml as in step 3 above, and the
complete build is achieved by just
commands?