Hi!
I am trying to use maven-pde-plugin but without any success.
When I do mvn install to a plug in project, maven-pde-plugin is not able to
resolve the pom.xml's dependencies.
I am unable to locate any relevant document over net.

Could someone please help me? It has been continuously 2nd day when I am
stuck with it.

The build.xml that maven-pde-plugin is generating doesn't have the pom.xml's
dependenies in the classpath items. It has only the Plugin dependenies.

Is there any workaround for the same?

As linked to by Dan I tried
http://mojo.codehaus.org/pde-maven-plugin/examples/m2eclipse.html this as
well. Any plugin with only plugin dependencies is working fine, but as soon
as I describe dependencies in pom.xml compilation errors start coming owing
to the non availability of the dependencies in the jar file.


Many thanks in anticipation.

Regards,


On Feb 13, 2008 2:48 PM, Dan Tran <[EMAIL PROTECTED]> wrote:

> IT = integration test
>
> try this http://mojo.codehaus.org/pde-maven-plugin/examples/m2eclipse.html
>
> On Feb 13, 2008 12:54 AM, amit kumar <[EMAIL PROTECTED]> wrote:
> > Pardon me Dan, but I did not get it? IT tests?
> >
> >
> > On Feb 13, 2008 1:27 PM, Dan Tran <[EMAIL PROTECTED]> wrote:
> >
> > > are you able to try other IT tests?
> > >
> > > On Feb 12, 2008 11:17 PM, amit kumar <[EMAIL PROTECTED]>
> wrote:
> > > > Hi,
> > > > No one has any idea of the problem? I am still awfully stuck with
> PDE
> > > plug
> > > > in and not able to build eclipse plugin projects using it. Could
> someone
> > > > please help?
> > > > Any aware of any helpful content regarding the same?
> > > >
> > > >
> > > > Please.
> > > >
> > > > Regards,
> > > > Amit
> > > >
> > > >
> > > > On Feb 12, 2008 11:09 AM, amit kumar <[EMAIL PROTECTED]>
> wrote:
> > > >
> > > > > While following the tutorial at pde-maven-plugin page. When I
> tried to
> > > > > run "mvn install" I am getting the following errors:
> > > > >
> > > > > [ERROR] BUILD ERROR
> > > > > [INFO]
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > [INFO] Compilation failure
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[3,34]
> > > > > package org.eclipse.jface.resource does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[4,29]
> > > > > package org.eclipse.ui.plugin does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[5,26]
> > > > > package org.osgi.framework does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[10,31]
> > > > > cannot find symbol
> > > > > symbol: class AbstractUIPlugin
> > > > > public class Activator extends AbstractUIPlugin {
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[28,26]
> > > > > cannot find symbol
> > > > > symbol  : class BundleContext
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[37,25]
> > > > > cannot find symbol
> > > > > symbol  : class BundleContext
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[58,22]
> > > > > cannot find symbol
> > > > > symbol  : class ImageDescriptor
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[3,32]
> > > > > package org.eclipse.jface.action does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[4,33]
> > > > > package org.eclipse.jface.viewers does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[5,22]
> > > > > package org.eclipse.ui does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[6,22]
> > > > > package org.eclipse.ui does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[7,33]
> > > > > package org.eclipse.jface.dialogs does not exist
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[17,37]
> > > > > cannot find symbol
> > > > > symbol: class IWorkbenchWindowActionDelegate
> > > > > public class SampleAction implements
> IWorkbenchWindowActionDelegate {
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[18,16]
> > > > > cannot find symbol
> > > > > symbol  : class IWorkbenchWindow
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[31,24]
> > > > > cannot find symbol
> > > > > symbol  : class IAction
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,37]
> > > > > cannot find symbol
> > > > > symbol  : class IAction
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,53]
> > > > > cannot find symbol
> > > > > symbol  : class ISelection
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[61,25]
> > > > > cannot find symbol
> > > > > symbol  : class IWorkbenchWindow
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[29,16]
> > > > > cannot find symbol
> > > > > symbol  : variable super
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[39,16]
> > > > > cannot find symbol
> > > > > symbol  : variable super
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[59,23]
> > > > > cannot find symbol
> > > > > symbol  : method imageDescriptorFromPlugin(java.lang.String,
> > > > > java.lang.String)
> > > > > location: class test.pde_maven_plugin.simple_plugin.Activator
> > > > >
> > > > >
> > > > >
> > >
> E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[32,16]
> > > > > cannot find symbol
> > > > > symbol  : variable MessageDialog
> > > > > location: class
> > > test.pde_maven_plugin.simple_plugin.actions.SampleAction
> > > > >
> > > > >
> > > > > As far as I can conclude upon it, this is because besides pom
> > > > > dependencies there is still something like Plug in dependencies,
> which
> > > > > the maven is not able to comprehend.
> > > > > I have tried the plug in long back, but faced same error. Then had
> to
> > > > > drop it for a while.
> > > > > Could someone please help me out, who knows the workaround of the
> > > > > solution for the problem.
> > > > >
> > > > > If I am not wrong, in one line pde plugin is not able to handle
> the
> > > > > plug in dependencies for the project.
> > > > >
> > > > >
> > > > > Thanks in anticipation.
> > > > >
> > > > > Regards,
> > > > > Amit
> > > > >
> > > > > On 2/12/08, amit kumar <[EMAIL PROTECTED]> wrote:
> > > > > > Hi,
> > > > > > Could anyone please help on a good
> document(blog/tutorial/article)
> > > on
> > > > > > PDE plug in, I followed
> http://mojo.codehaus.org/pde-maven-plugin/but
> > > > > > could not able to mavenize an already existing plug in project.
> > > > > >
> > > > > > Regards,
> > > > > > Amit
> > > > > >
> > > > > > On 1/4/08, amit kumar <[EMAIL PROTECTED]> wrote:
> > > > > > > But I doubt for any jar unavailable, because I am downloading
> the
> > > jars
> > > > > > from
> > > > > > > central repository.
> > > > > > > I will email the pom.xml and stack trace.
> > > > > > >
> > > > > > >
> > > > > > > On Jan 4, 2008 6:56 PM, Vikramaditya Garg <
> > > > > [EMAIL PROTECTED]>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Please sent the exceptions and error what you are
> > > getting.Probable
> > > > > > reason
> > > > > > > > include that u may not be having some jar in your local repo
> > > which
> > > > > may
> > > > > > be
> > > > > > > > cause of the concern.
> > > > > > > >
> > > > > > > > Also check ur proxy settings...
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Vikramaditya Garg
> > > > > > > > Technical Specialist
> > > > > > > > BCM-ADGE
> > > > > > > > Infosys Technologies Ltd.
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: amit kumar [mailto:[EMAIL PROTECTED]
> > > > > > > > Sent: Friday, January 04, 2008 6:52 PM
> > > > > > > > To: Maven Users List
> > > > > > > > Subject: PDE Plugin
> > > > > > > >
> > > > > > > > Has anyone successfully worked out with maven-pde-plugin for
> > > > > eclipse.
> > > > > > This
> > > > > > > > is this eclipse plug in project that i have been trying to
> > > build.
> > > > > But
> > > > > > > > maven
> > > > > > > > is not able to resolve the plug in dependencies ( the one
> > > defined in
> > > > > > > > eclipse). i am trying to build it from command line.
> > > > > > > > I followed the tutorial on codehaus but it did not work.
> > > > > > > >
> > > > > > > > Link I have been following
> > > > > http://mojo.codehaus.org/pde-maven-plugin/
> > > > > > > >
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Amit
> > > > > > > >
> > > > > > > > **************** CAUTION - Disclaimer *****************
> > > > > > > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION
> > > > > intended
> > > > > > > > solely for the use of the addressee(s). If you are not the
> > > intended
> > > > > > > > recipient, please notify the sender by e-mail and delete the
> > > > > original
> > > > > > > > message. Further, you are not to copy, disclose, or
> distribute
> > > this
> > > > > > e-mail
> > > > > > > > or its contents to any other person and any such actions are
> > > > > unlawful.
> > > > > > > This
> > > > > > > > e-mail may contain viruses. Infosys has taken every
> reasonable
> > > > > > precaution
> > > > > > > to
> > > > > > > > minimize this risk, but is not liable for any damage you may
> > > sustain
> > > > > as
> > > > > > a
> > > > > > > > result of any virus in this e-mail. You should carry out
> your
> > > own
> > > > > virus
> > > > > > > > checks before opening the e-mail or attachment. Infosys
> reserves
> > > the
> > > > > > right
> > > > > > > > to monitor and review the content of all messages sent to or
> > > from
> > > > > this
> > > > > > > > e-mail address. Messages sent to or from this e-mail address
> may
> > > be
> > > > > > stored
> > > > > > > > on the Infosys e-mail system.
> > > > > > > > ***INFOSYS******** End of Disclaimer ********INFOSYS***
> > > > > > > >
> > > > > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to