m2eclipse

How do you run the maven-gae-plugin "mvn gae:run" command from inside Eclipse?

From the command line, the maven-gae-plugin can be run by calling: mvn gae:run I am working in a Maven project with a POM file that declares the use of the maven-gae-plugin. I can run this maven command from the command-line in Windows. But, after setting up the source code as a project inside Eclipse, I don't know how to run this c...

Why can't maven compiler resolve class from depedency?

Eclipse can build this project, the dependency jar is in the local repository, the compiler lists the jar. I'm using Eclipse Helios with Maven Integration For Eclipse (0.10.2); And yet it fails because the compiler can't resolve PropertiesEditor from spring-beans-2.5.6.jar. Here is the full report from the build http://wellingtonpeopl...

Pom/Project Properties via Eclipse maven2

I packaging my java project with maven, using the M2 Plug in Eclipse I need to provide a value for the following pom property (module_version), for local packaging this will have a value like “local-SNAPSHOT” <groupId>com.group</groupId> <artifactId>server</artifactId> <packaging>jar</packaging> <version>${module_version}</vers...

Has anyone been able to hotdeploy using m2eclipse on Websphere 6.1 with MyEclipse?

I've been looking around for a while how can I hotdeploy my projects when using m2eclipse plugin on MyEclipse and working with Websphere 6.1. What I've done so far is to deploy my full application using the was6 maven plugin (http://mojo.codehaus.org/was6-maven-plugin/) but that plugin will only deploy the EAR into the Websphere.So when...

How to add parameters/switches to Eclipse/Maven Run Configuration

Hi, I have Eclipse (Galileo) with m2eclipse, GWT Eclispe plugin and the GWT Maven plugin from codehaus installed. I created a new "Maven Build" run configuration in Eclipse and have set the goal to gwt:debug. When I run the configuration I get this error in my console: [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin...

How to integrate maven the right way into Eclipse and into the software development process?

I am new to maven. The main feature I benefit from, yet, is the automatic dependency management. The standardized directory structure seems also to be nice, but Eclipse has a standard directory structure, too. The directory structure is now independent from Eclipse, but now it is dependent from maven. OK, I see, both programs seem to be ...

Problem adding commons-configuration to m2eclipse

I want to use the apache commons configuration jars in my Maven project. When I add it using m2Eclipse it produces this: <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> <version>20041012.002804</version> <type>jar</type> <scope>compile</scope> </dependency> This seems fi...

GWT Maven Eclipse Plugin - Compilation Fails Due to Duplicate Class

Hi, I am using Eclipse 3.5 (Galileo) with m2eclipse and GWT Eclipse plugins installed. I created a project using the gwt-maven-plugin archetype. I have created an RPC service defined with these classes: my.package.client.DataService my.package.client.DataServiceAsync my.package.server.DataServiceImpl When I run mvn clean, the targe...

Eclipse .classpath exlusion pattern

I have seen this: <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/> In my Eclipse .classpath file many times when creating a new Maven project, but I can not seem to figure out - what in the heck does excluding="**" mean? EDIT: I guess what I am trying to get at here, is that though it seem...

Problem with maven and Appfuse (m2eclipse)

hello, could someone help me create a project using Struts2 maven with AppFuse because I meet a lot of blocking problem ..?! ...

Maven missing transitive dependency

Hi, I have a maven project with a dependency (datanucleus-db4o). This dependency has itself a dependency on db4o (db4o:db4o:jar:7.12.126.14142-all-java5). Now maven says: 09.09.10 19:43:09 MESZ: Missing artifact db4o:db4o:jar:7.12.126.14142-all-java5:compile I am new to maven. Is it right that datanucleus-db4o defines its own depe...

help for use maven artifacts

I'm learning Maven and I'd need a little help to get started. I use the m2eclipse plugin (Maven) and I would like to generate a project like Struts 2, Hibernate 3, MySQL. For now I just create a simple project with the archetype: maven-archetype-webapp What are the dependencies I need to add? ...

Eclipse does not recognize content of persistence.xml

Im getting the following error in eclipse: The persistence.xml file does not have recognized content. My persistence.xml file works great in my application but eclipse keeps giving me this error. I got this after moving the file and updating my project configuration with m2eclipse. I did not change the file itself. Anyone knows how to...

Searching repository for plugin struts2-archetype-blank for m2Eclipse

hello, i'm Searching repository for plugin struts2-archetype-blank for m2Eclipse ...

maven2 war overlay and eclipse WTP

Hi, I have a maven war module which run eclipse WTP tomcat server like normal. Now i want to reuse that module artifact by using maven war overlay: i just create a new war project and include that module in project dependencies. The problem is now i cannot use eclipse "Run on server" anymore because i don't have any resource or config f...

Error when i deploy war (TomCat)

hello, when i deploy my war into TomCat i have this error: 14 sept. 2010 11:48:07 org.apache.catalina.core.StandardContext filterStart GRAVE: Exception au démarrage du filtre struts2 Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/...

Is there a way to generate the MANIFEST.MF for an Eclipse plug-in project with m2eclipse?

I have a mavenized Eclipse plug-in project and I would like to be able to generate an OSGi-ready manifest for it. Is this supported by m2eclipse? ...

m2eclipse filtering test resources

I am using m2eclipse and I want to right click and run tests from inside eclipse while the test resources get filtered from Maven. How can I do this? From eclipse when I right click on a test I do not get any m2eclipse options Julia. Similar to: http://stackoverflow.com/questions/2855706/debugging-maven-junit-tests-with-filtered-resou...

How to exclude a folder that is producing warnings/errors in an Eclipse project?

Okay. I'm sick of this problem. This has to have an easy fix, I'm sure of it!! I hope SO can help me to get rid of this once and for all! Question How do we get Eclipse to stop trying to process/compile all files under a particular project directory? The goal is for no errors/warnings to exist in the problems view if t...

Getting Errors and Warning to show In Eclipse via Maven

I'm using the m2eclipse plugin for eclipse to build my project, but I miss having the errors and warning of my build show up in the Problems tab. I use a maven project builder to build my project and don't use the default java builder in eclipse. I would really love a way to get all the errors and warnings that I can see when editing a...