You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:46:23 UTC

[jira] [Closed] (MECLIPSE-720) Strange issue related to running plugin with -Peclipse profile on ver 2.9 vs 2.8 of plugin

     [ https://issues.apache.org/jira/browse/MECLIPSE-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed MECLIPSE-720.
-----------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.

> Strange issue related to running plugin with -Peclipse profile on ver 2.9 vs 2.8 of plugin
> ------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-720
>                 URL: https://issues.apache.org/jira/browse/MECLIPSE-720
>             Project: Maven Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Workspace settings
>    Affects Versions: 2.9
>         Environment: Ubuntu 10.04 LTS
>            Reporter: Mats Aune
>            Priority: Minor
>         Attachments: JettyStart.java, eclipse_ver_2.8_build.log, eclipse_ver_2.9_build.log, errorStack.log
>
>
> Some time ago we experienced a strange issue after creating eclipse project files from the eclipse plugin (I do not have dates for this exactly). After importing projects and running with our inhouse (contextPath=/pays webInfDir=src/main/webapp port=8080) JettyStart.java from within eclipse our web app would fail with the included stack trace (Basically fails with this: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.add(Lorg/hibernate/util/xml/XmlDocument;)V:). 
> However running the same plugin under eclipse profile in maven, somehow creates different eclipse project files, that resolves the problem and the webapp starts and runs ok. 
> After upgrading to ver 2.9 of the plugin, usage of the -Peclipse profile, has no effect and consequently the webapp fails to run. If we revert back to the 2.8 ver of the plugin, rerun with -Peclipse -> import -> rerun -> ok. So basically all usage of the 2.9 plugin "fails" for us and forces usage of the 2.8 version with an eclipse profile.
> What is the consequence of running this plugin under eclipse profile? How does ver 2.8 differ from ver 2.9 when running under eclipse profile?
> Do you need anymore input data do not hesitate to contact me.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)