Enterprise Application Project done in Eclipse to Maven Structure
I already have an Enterprise Application Project Developed in WSAD, now I want to convert it to Maven Struture. How to do it. Its Urgent. -- View this message in context: http://www.nabble.com/Enterprise-Application-Project-done-in-Eclipse-to-Maven-Structure-tf4574632s177.html#a13057758 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to use mvn eclipse:eclipse
I created a EAR Project using the following cammand mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app -Dpackagename=com.mycompany.app -DarchetypeArtifactId=maven-archetype-j2ee-simple Then I ran mvn eclipse:eclipse I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project files are created within my sub - modules inside my-ear-app and not in my-ear-app folder, so how to see the whole of EAR in WSAD with all the modules. Regards Luke -- View this message in context: http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to use mvn eclipse:eclipse
I copied the .project and changed the name and the project tag details. Rest removed. And from the all sub modules, I removed the .project and .classpath files. In the main module .classpath is it required. Then I imported it as existing workspace in Eclipse 3.3. Now I could select pom.xml and run the build right and the EAR will be created right. Dave Feltenberger wrote: Yes, unfortunately the Eclipse plugin isn't smart enough to put a blank .project and .classpath file in the typepom/type project(s). Copy the .project from one of the sub-modules, change the project name, and remove all the project references. Then do the same with the .classpath, removing the classpath entries from it. On 10/4/07, LukeLallu [EMAIL PROTECTED] wrote: I created a EAR Project using the following cammand mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-ear-app -Dpackagename=com.mycompany.app -DarchetypeArtifactId=maven-archetype-j2ee-simple Then I ran mvn eclipse:eclipse I wanted to open as an Exsisting project(my-ear-app) in WSAD but .project files are created within my sub - modules inside my-ear-app and not in my-ear-app folder, so how to see the whole of EAR in WSAD with all the modules. Regards Luke -- View this message in context: http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13033901 Sent from the Maven - Users mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/How-to-use-mvn-eclipse%3Aeclipse-tf4566235s177.html#a13053629 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Plugin for Eclipse 2.0
I am very new to Maven, How do I do 'mvn eclipse:eclipse' when plugin could not be installed. I am trying to install the plugin in the WSAD. The Error I get is -- Feature requires feature com.ibm.wswb (2.1.1), or compatible. WebSphere Application Server - Express (5.1.0): Feature requires feature com.ibm.wswb (2.1.1), or compatible. XML Tools (5.1.0): Feature requires feature com.ibm.wswb (2.1.1), or compatible Please do help. I stuck for the whole day. Regards Luke Wendy Smoak-3 wrote: On 10/3/07, LukeLallu [EMAIL PROTECTED] wrote: But could not install it as all these versions are COMPLIANT with Eclipse 3.1 and above. I am using WSAD 5.1.0 version is having Eclipse 2.0 version I don't know that there's an IDE plugin available for something that old. Have you tried 'mvn eclipse:eclipse' at the command line to generate the .project and .classpath files, then opening the project? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Plugin-for-Eclipse-2.0-tf4562031s177.html#a13019963 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Plugin for Eclipse 2.0
Downloaded the maven plugin also from http://m2eclipse.codehaus.org/ http://m2eclipse.codehaus.org/update-dev/ http://m2eclipse.codehaus.org/update/ (Site given by Apache itself) Tried from http://www.eclipseplugincentral.com/modules.php too But could not install it as all these versions are COMPLIANT with Eclipse 3.1 and above. I am using WSAD 5.1.0 version is having Eclipse 2.0 version Please do Help Regards Luke -- View this message in context: http://www.nabble.com/Maven-Plugin-for-Eclipse-2.0-tf4562031s177.html#a13019598 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Plugin for Eclipse 2.0
Thank You so much for the reply for it is something like this for a web project right Step 1 : After Maven 2.0.7 installtion mvn -U archetype:create -DgroupId=com.mycompany.app -DartifactId=my-web-app -Dpackagename=com.mycompany.app -DarchetypeArtifactId=maven-archetype-webapp Create a Web Project Step 2: cd my-web-app Step 3: As u said from my-web-app folder run mvn eclipse:eclipse right Step 4 : Make the Parent Folder of my-web-app as the workspace in Eclipse and open my-web-app (This part alone not very clear) Thanks and Regards Luke Wayne Fay wrote: As Wendy already told you, there is no Maven plugin for Eclipse 2.0. If you want to use a Maven plugin Eclipse, you will need to upgrade to a newer release ie Eclipse 3.3. Assuming you have installed Maven 2.0.7 properly (and set up an Internet proxy etc if necessary), go to your project directory (which has a pom.xml file) and run mvn eclipse:eclipse to generate the .classpath and .project files for Eclipse. Then you can point Eclipse at those files and it should successfully open/import your project. Wayne On 10/3/07, LukeLallu [EMAIL PROTECTED] wrote: I am very new to Maven, How do I do 'mvn eclipse:eclipse' when plugin could not be installed. I am trying to install the plugin in the WSAD. The Error I get is -- Feature requires feature com.ibm.wswb (2.1.1), or compatible. WebSphere Application Server - Express (5.1.0): Feature requires feature com.ibm.wswb (2.1.1), or compatible. XML Tools (5.1.0): Feature requires feature com.ibm.wswb (2.1.1), or compatible Please do help. I stuck for the whole day. Regards Luke Wendy Smoak-3 wrote: On 10/3/07, LukeLallu [EMAIL PROTECTED] wrote: But could not install it as all these versions are COMPLIANT with Eclipse 3.1 and above. I am using WSAD 5.1.0 version is having Eclipse 2.0 version I don't know that there's an IDE plugin available for something that old. Have you tried 'mvn eclipse:eclipse' at the command line to generate the .project and .classpath files, then opening the project? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Maven-Plugin-for-Eclipse-2.0-tf4562031s177.html#a13019963 Sent from the Maven - Users mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Maven-Plugin-for-Eclipse-2.0-tf4562031s177.html#a13020769 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]