|Home > Documentation > Developing > Tutorials > Getting familiar with the development environment > Getting familiar with Geronimo Eclipse Plugin (GEP) > Importing applications built with car-maven-plugin into GEP|
Projects setup using maven car-maven-plugin can be imported into Eclipse IDE, so that you can develop, test or debug them with GEP.
We start with the Geronimo sample application calculator and demonstrate how to import those appplications built with car-maven-plugin into eclipse IDE, and make them run on GEP.
mvn eclipse:eclipse. See Maven Guide to using Eclipse with Maven 2.x for more information about this command.
calculator-ear-2.1.2.ear. This will create three projects in Eclipse: calculator-ear-2.1.2, calculator-ejb-2.1.2, calculator-war-2.1.2.
\samples\tags\samples-parent-2.1.2\samples\calculator\calculator-ejb\src\main\java\org\apache\geronimo\samples\slsb\calculatorinto the Eclipse package
org.apache.geronimo.samples.slsb.calculatorfor the calculator-ejb-2.1.2 project. This package should have been created for you during the import; if not, create it yourself prior to copying java files.
\samples\tags\samples-parent-2.1.2\samples\calculator\calculator-war\src\main\java\org\apache\geronimo\samples\calculator\CalculatorServlet.javainto the package
Now you can test and debug your applpication in Eclipse.
This turotial aims at importing existing Java EE artifacts into Eclipse. It does not work if you want your Java EE artifacts to build successfully in both maven and Eclipse.