Re: maven + eclipse server adapter
Hi Arnaud, Thank you for the info! I tried it out and was able to successfully run the project using WTP. Looking forward to the final release. -C Arnaud HERITIER wrote: We are actually working on the support for WTP 2.0. It's available in the current 2.5-SNAPSHOT. If if we don't discover an important issue, I'll release it between Xmas and the new year's day. To use it you have to add in your settings a new profile : profile idapache.snapshots/id repositories repository releases enabledfalse/enabled /releases snapshots/ idapache.snapshots/id nameMaven Snapshots/name urlhttp://people.apache.org/maven-snapshot-repository/url /repository /repositories pluginRepositories pluginRepository releases enabledfalse/enabled /releases snapshots/ idapache.plugin.snapshots/id nameMaven Plugin Snapshots/name urlhttp://people.apache.org/maven-snapshot-repository/url /pluginRepository /pluginRepositories /profile And then you can use it with : mvn org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse-Dwtpversion= 2.0 -Papache.snapshots Arnaud On Dec 13, 2007 2:16 AM, cailie [EMAIL PROTECTED] wrote: Good point I tried that and received the following: Unsupported WTP version: 2.0. This plugin currently supports only the following versions: 1.0 1.5 R7 none. I am using Eclipse Europa, so that includes WTP 2.0. So I tried to see if specifying 1.5 or R7 would work. It didn't it looked like it might work, but then deployment failed with a weird error: Could not publish to the server. index=0, size=0 There is no problem with my EAR file -- it deploys fine with the Glassfish asadmin tool. Arnaud HERITIER wrote: Did you generated your eclipse settings with the WTP option of the eclipse plugin ? It should activate the support required to deploy your artifacts in the application server Arnaud On Dec 12, 2007 6:37 PM, cailie [EMAIL PROTECTED] wrote: I have a multi-module POM project that packages three modules: EAR, EJB, and WAR. To deploy the EAR module, I use the codehaus exec-maven-plugin. Now, I would like to use the Glassfish V2 Java EE 5 server adapter for Eclipse and manage the deployment through the IDE. Not surprisingly, this is not as simple as it is for Eclipse-generated web projects -- I cannot right-click on the server under the Server view and add my multi-module project, nor any of its modules. They are not presented as choices in the Add and Remove Projects wizard. Ideally, I would like to configure my project using Maven so that it can be automatically run via the Eclipse server adapter. Anyone have ideas on this? * I have searched for related posts in this forum, but did not find anything. If you find something, please let me know. -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14300046.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14307863.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14451998.html 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 + eclipse server adapter
I have a multi-module POM project that packages three modules: EAR, EJB, and WAR. To deploy the EAR module, I use the codehaus exec-maven-plugin. Now, I would like to use the Glassfish V2 Java EE 5 server adapter for Eclipse and manage the deployment through the IDE. Not surprisingly, this is not as simple as it is for Eclipse-generated web projects -- I cannot right-click on the server under the Server view and add my multi-module project, nor any of its modules. They are not presented as choices in the Add and Remove Projects wizard. Ideally, I would like to configure my project using Maven so that it can be automatically run via the Eclipse server adapter. Anyone have ideas on this? * I have searched for related posts in this forum, but did not find anything. If you find something, please let me know. -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14300046.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse projects + multiple modules
I have a parent project (POM packaging) with that has 3 modules: EJB, WAR, and EAR So the folder structure is like this: POM Project Folder -- EAR Project Folder -- EJB Project Folder -- WAR Project Folder I am using Eclipse, and I would like to import the parent project, and have it recognized by Eclipse as one big happy Java project. Right now, if I edit any of the Java files from within the parent project, I get the usual This compilation unit is not on the build path of a Java project. My workaround is to open up the EJB and WAR modules as separate Java projects. Does anybody have advice on how to configure this multi-module project such that Eclipse recognizes it as a Java project? -- View this message in context: http://www.nabble.com/eclipse-projects-%2B-multiple-modules-tp14305809s177p14305809.html 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: eclipse projects + multiple modules
Thanks for your response... actually, I've got the parent project open too -- for a total of 4 projects open in Eclipse. Arnaud HERITIER wrote: It's not possible, I think. Eclipse doesn't support the logic of modules. You'll have 3 projects in eclipse. The problem is that you'll not have the parent pom. Arnaud On Dec 12, 2007 11:46 PM, cailie [EMAIL PROTECTED] wrote: I have a parent project (POM packaging) with that has 3 modules: EJB, WAR, and EAR So the folder structure is like this: POM Project Folder -- EAR Project Folder -- EJB Project Folder -- WAR Project Folder I am using Eclipse, and I would like to import the parent project, and have it recognized by Eclipse as one big happy Java project. Right now, if I edit any of the Java files from within the parent project, I get the usual This compilation unit is not on the build path of a Java project. My workaround is to open up the EJB and WAR modules as separate Java projects. Does anybody have advice on how to configure this multi-module project such that Eclipse recognizes it as a Java project? -- View this message in context: http://www.nabble.com/eclipse-projects-%2B-multiple-modules-tp14305809s177p14305809.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... -- View this message in context: http://www.nabble.com/eclipse-projects-%2B-multiple-modules-tp14305809s177p14306661.html 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 + eclipse server adapter
Good point I tried that and received the following: Unsupported WTP version: 2.0. This plugin currently supports only the following versions: 1.0 1.5 R7 none. I am using Eclipse Europa, so that includes WTP 2.0. So I tried to see if specifying 1.5 or R7 would work. It didn't it looked like it might work, but then deployment failed with a weird error: Could not publish to the server. index=0, size=0 There is no problem with my EAR file -- it deploys fine with the Glassfish asadmin tool. Arnaud HERITIER wrote: Did you generated your eclipse settings with the WTP option of the eclipse plugin ? It should activate the support required to deploy your artifacts in the application server Arnaud On Dec 12, 2007 6:37 PM, cailie [EMAIL PROTECTED] wrote: I have a multi-module POM project that packages three modules: EAR, EJB, and WAR. To deploy the EAR module, I use the codehaus exec-maven-plugin. Now, I would like to use the Glassfish V2 Java EE 5 server adapter for Eclipse and manage the deployment through the IDE. Not surprisingly, this is not as simple as it is for Eclipse-generated web projects -- I cannot right-click on the server under the Server view and add my multi-module project, nor any of its modules. They are not presented as choices in the Add and Remove Projects wizard. Ideally, I would like to configure my project using Maven so that it can be automatically run via the Eclipse server adapter. Anyone have ideas on this? * I have searched for related posts in this forum, but did not find anything. If you find something, please let me know. -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14300046.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .. Arnaud HERITIER .. OCTO Technology - aheritier AT octo DOT com www.octo.com | blog.octo.com .. ASF - aheritier AT apache DOT org www.apache.org | maven.apache.org ... -- View this message in context: http://www.nabble.com/maven-%2B-eclipse-server-adapter-tp14300046s177p14307863.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configuring JRE System Library: Two JREs are added
Hello there... I am having a problem configuring the JRE System Library for my Eclipse project. When I run mvn eclipse:eclipse (after removing libraries and cleaning), both the Java 1.4 and the Java 5 system libraries are added to my project (shown in the Package Explorer). I just want Java 5. Here is my plugins configuration (pom.xml): plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target excludes / /configuration /plugin plugin artifactIdmaven-eclipse-plugin/artifactId configuration downloadSourcestrue/downloadSources classpathContainers buildcommandorg.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java 5/buildcommand buildcommandorg.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.5/buildcommand buildcommandorg.eclipse.jst.j2ee.internal.web.container/artifact/buildcommand /classpathContainers /configuration /plugin /plugins Thank you in advance for your help. I did search the forums, but please let me know if I overlooked a relevant thread! -- View this message in context: http://www.nabble.com/Configuring-JRE-System-Library%3A-Two-JREs-are-added-tf2695132s177.html#a7516230 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]