How to Mavenize an OEPE project?

Hello all,
I am having difficulties to Mavenize an OEPE web project. Shall I start that as a Maven project instead?
I need to use OEPE to create Java EE + Glassfish projects.
I have OEPE and m2Eclipse installed on my Helios 3.6 environment.
The problem is that if I "mavenize" the project I can not do a mvn eclipse:clean and then try to use the same project on another machine as it removes all my OEPE settings.
So what I do is I create a Dynamic web app with OPE and then mavenize it using m2Eclispe. OK, if I keep working on it I can deploy to Glassfish and normally code. Until I have to share this project with someone else with Eclipse + OEPE and m2Eclipse installed on their dev environment. So I do a mvn eclipse:clean and share the code. When I open the project again, boom all my OEPE + Glassfish settings are gone!
So I get the clean project with the code, put on another machine and perform a mvn eclipse:eclipse. At that point I can open the projects but it is not a Dynamic web project with Glassgfish.
OEPE does not support Maven.
Looking online I've found this small article http://lofidewanto.blogspot.com/2009/11/how-to-oepe-with-maven2-and-m2eclipse.html
Still doing that removes all my project settings as far as OEPE and Glassfish.
Hence how can I fix that?
I have been looking at the .setting folder on my project and there is a file called org.eclipse.wst.common.project.facet.core.xml Inside I have the following:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="GlassFish Server Open Source Edition 3 (Java EE 6)" />
<fixed facet="jst.web" />
<fixed facet="java" />
<fixed facet="wst.jsdt.web" />
<installed facet="java" version="1.6" />
<installed facet="jst.web" version="3.0" />
<installed facet="sun.facet" version="9" />
<installed facet="wst.jsdt.web" version="1.0" />
</faceted-project>
This file gets remove if I do a mvn eclipse:clean, and of course does get rebuilt if I do a mvn eclipse:eclipse.
However, maybe I can add those settings to the pom so that it can get restored. In fact, all OEPE + Glassfish settings would have to be restored.
How shall I do that with Maven? If not, what is the manual stuff I have to do on eclipse once I open the project so that I can deploy to Glassfish with OEPE as if the project was created there to begin with?
Thanks.

OEPE does not support Maven.That is correct. In fact in general you could say that Maven and Eclipse don't work well together. The state of the Maven tooling at Eclipse is such that only those users with high tolerance for pain can put up using it. The OEPE team does not recommend or support using any of the Maven integration plugins. Note that you can still use Maven for your commandline build. Just keep it out of Eclipse and manage Eclipse metadata via normal means.
If you still wish to continue on the path of using m2eclipse plugin, you might find help from other Mavenittes on this forum or you can seek help on the m2eclipse forum on eclipse.org, but I wanted to make it clear that there is no official support from Oracle for this path.
- Konstantin

Similar Messages

  • How can I open a project made in 2000 on Final Cut Pro to migrate it to a new version?

    how can I open a project made in late 2000 on Final Cut Pro to migrate it to a new version to finish editing it? files, timeline and unfinished edit are all stored on hard drive since early 2001, with all the original miniDV tapes still in hand

    Do you still have legacy FCP? If you not you need to find someone who will open the project in FCP6.0.6 or later. Export an XML file of the project. Use 7toX to convert it to an XML format that works with FCPX. Import the converted XML file to FCP.

  • How to modify Apple's "Project Proposal" template in Pages 5.0?

    In Pages 5.0 I want to use Apple's "Project Proposal" template for my project proposals, but I need to modify Apple's original template.
    Removing the image works in the "Modern Report" template - but does not work in the "Project Proposal" template.
    What is the difference in how the image is places in the "Modern Report" template vs the "Project Proposal" template?
    In Apple's original version on the first page, there is a large image, followed by:
    Project Proposal
    Prepared for: Trenz Pruca, Title
    Prepared by: Urna Semper, Job Title
    2013年10月26日
    Proposal number: 123-4567
    I need to remove the image, and start my text from the top of the first page. I could manage to remove Apple's original image easily, but the space previously occupied by the image remains as empty space. I tried for a couple of hours to eliminate this empty space (previously occopied by the image) and move the "Project Proposal etc" text to the top, but could not find a way to do that.
    Where can I find and modify the offset of the text from the top of the page, or eliminate the empty space previously occupied by the image.
    There seem to be some controls hidden somewhere in the Pages software, or of the template itself, which I could not find yet, where this text offset from the top is controlled.
    Any help greatly appreciated.
    Gerhard

    I encounter the same problem today when trying to use this template, and after reading previous replies, I went and copy all the elements (Select All) into a new blank document (don't have an older Pages version) and it worked just fine for me, no overlaping or anything, as you can see on the image below, the layout doesn't start after the image, I just had to tweak it a little, like moving the company name and upper line to the top (and move them to section master) and manually adding the bottom line.
    I'm new here, so if any of you can tell me if and how can I upload my Project Proposal template I just created to this discussion, I'll be happy to share it with all of you.

  • How can I export a project on an external drive in the latest version of iMovie?

    Before the latest release of iMovie I easily managed to export a project on an external usb drive and re-import such project on a different Mac... In the latest iMovie version, however, I cannot see my drive any more..
    So, how can I export a project on an external drive in the latest version of iMovie?
    Thank you in advance

    I'm not sure this is the best way, but you could create a new iMovie Library, move your project to that Library, then close the library. Then move the Library to your USB drive. Then, on the other Mac, in iMovie open the Library.

  • I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?

    I have no problems copying iMovie Events from one Mac to another, however, how can I copy iMovie Projects from one Mac to another?  Any help will be appreciated.  Thank you.

    This should give you some good insight, I'd probably store them on an External HD on the old machine and then just drag and drop to the new machine.
    https://discussions.apple.com/docs/DOC-4141

  • How can I move my project from external hard drive to my macbook pro?

    How can I move my project from external hard drive to my macbook pro? every time I try to do some editing, the sequence is very slow, thanks in advance

    Try here...
    Setting-up a new Mac from an old one, its backups, or a PC

  • How can I share a project specific calendar I created on Entourage 2008 ?

    How can I share a project specific calendar I created on Entourage 2008 without showing my personal calendar? I created a project specific calendar using Entourage 2008 for Mac. I want to add someone that uses Outlook from a PC. We are in the same exchange network.  I have added this person in under the sharing tab, but don't see a way to invite her to view it, and it does not appear on her Outlook list of shared calendars. I was able to invite her to view my main calendar, but not the project specific one. Any suggestions?

    http://www.microsoft.com/mac/support

  • How to run the ejb project in j2ee server

    How to run the EJB project.
    I give like
    java conveterClient converterClient.jar
    here conveterClient is class file name and converterClient.jar is deployed file
    like wise i give some exception is come
    give some help pls friends

    Navigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database

  • How can I import an project .imoviemobile file to imovie 10.0.6 on my mac book for further processing

    How can I import an project .imoviemobile file to imovie 10.0.6 on my mac book for further processing?

    You can't.  (http://www.macworld.com/article/2057972/imovie-for-ios-projects-no-longer-work-o n-the-mac.html)
    Geoff.

  • How do I move a project from one library to a different existing library in Aperture 3.2.3?

    How do I move a project from one library to a different existing library in Aperture 3.2.3?

    Export as a Library, then import into the second (already existing) Library.
    From the User Manual:
    In the Library inspector, select the items you want to transfer, then choose File > Export > Items as New Library.

  • How do you purchase multiple projects?

    How do you purchase multiple projects in iPhoto? I am trying to buy a calendar and 4 different books that I created on iPhoto. WHen I click the buy button it takes me to a purchasing page, but I can't figure out how to get other projects. There isn't a "shopping cart" that I can find. I'd like to pay just 1 shipping fee. Is this possible?

    You can't combine those into one order.
    (117833)

  • How can you open a project file backup if the main project won't load?

    This has only started happening in the last couple of weeks. I'm on Logic 10.0.7, OSX 10.8.5. On one particular project, it will be loading seemingly normally, then it just disappears with no crash log, nothing.
    Presumably there is some sort of corruption in the project file.
    In the old pre package days, you would just go to the project file backups folder and pick a previous one. Bingo, you have only lost a little bit of work.
    Now when I show package contents, the project file backups folder has project data files that won't open logic, and are invisible until you have logic open. Which I can't do.
    Rue the day I selected the package option rather than folder.
    Any suggestions?
    Or to put the question another way, how can I convert the project data in the project file backups folder to a file that Logic can recognise and open?

    Having his install the trial is the way to go. Working between AI versions is a pain and as you are finding out almost impossible with 5 versions between the collaborators.

  • How do i transfer a project to a cd for further mastering?

    i know this is a simple question but how do i transfer a project to a cd or dvd-r for further mastering?also i am thinking about getting a macbook and am wondering how i would transfer my work in logic 8 on the imac to a brand new macbook?

    Hi,
    1st: If you want to give your project to a studio, give them the whole Logic Project if they have logic, too. Once it is bounced, they can't to more than tweak the final mix.
    If you have to bounce it for the studio, bounce it with 24 bit PCM and inportant : Do not use dithering! This step will added by the studio after mastering.
    2nd: To export a project, make shure all Audio, Samples and all these things are saved inside the project folder. There is an option in the preferences when you make a new project. Try this out.
    Fox

  • How do I create a project site after I publish a project in Project Server 2013?

    How do I create a project site after I publish a project from project pro 2013 in Project Server 2013? I'm trying to look for an option in the ribbon but haven't found any. 
    Thanks
    James T.F

    Hi James,
    See in the article the procedure for site provisionning settings.
    Note that the project site is created based on the template associated to the chosen project type (EPT) when the user first publishes his project. Be aware that if you allow the user to choose weither or not he'll create a sharepoint site when publishing
    his project, he will be prompted in Project Pro with a dialog box giving the choice to create or not the site.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How can i create a project with my exisiting java code

    Hi All,
    I have a source code of one project and i want to execute this in jdeveloper 10.1.3.1.0 version.
    can u please suggest me how can i execute that project
    its using struts and ejb's
    i need clear steps of this.
    Thanks in Advance.
    Regards,
    588872

    Under file->new->Projects you'll find two options that are relevant to you:
    One is called project from WAR file - this will allow you to point to a project that has been packaged as a WAR and will create a JDeveloper project for it.
    The other option is called "Project from existing source" this will allow you to point to your existing code directory and will create the JDeveloper project for this.
    After you created the project, you might want to do a bit of tweaking under the project properties->content and sub categories for Web content, resources etc...
    And you might also need to add any missing JAR files you are depending on to the libraries node of your project properties.

Maybe you are looking for