m2e

Maven for Eclipse 1.5.0 plugin cannot be installed under Kepler

强颜欢笑 提交于 2019-12-02 19:57:02
I downloaded Eclipse Kepler and tried to install M2Eclipse from its update site . After selecting Maven Integration for Eclipse, I clicked Next and got the following error: Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found So I searched through the internet to find out how to install the Guava Eclipse plugin. Some say it's from the Eclipse marketplace, but it cannot be downloaded. I downloaded the binary and tried to copy it to Eclipse's plugin directory.

m2e: Generated code with exec-maven-plugin

守給你的承諾、 提交于 2019-12-02 19:17:33
I have been using m2eclipse for 2 years or so and have now switched to m2e . Unfortunately, this has broken some functionality for me. In many projects, I have generated Java code, usually generated through a main class in a library project. Here's a typical setup: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>generateDTOs</id> <phase>generate-sources</phase> <goals> <goal>java</goal> </goals> <configuration> <classpathScope>test</classpathScope> <mainClass>com.somecompany.SomeCodeGenerator</mainClass> <arguments>

How to configure maven install to skip tests in eclipse?

大城市里の小女人 提交于 2019-12-02 17:37:16
i was wondering if it's possible to configure run as maven install in eclipse to skip unit tests, if such thing is doable, then please tell me how to do it, thanks in advance. Ensure Maven is configured for your project Right-click on your project Go to 'Run As' Select 'Run Configurations' In the left-hand column, right-click 'Maven Build' and select 'New' Select the base directory (the project) you want to build from Write 'install' and any other goals you want in the 'Goals' field Click the 'Skip Tests' radio button Click Run! Hope that helps. It depends on maven test plugin that you use.

Where is m2e-subclipse connector for using svn 1.8.x, subclise 1.10?

半世苍凉 提交于 2019-12-02 17:36:47
I read that the producers of m2e has stopped producing m2e connectors for anything beyond svn 1.7. And Tigris has apparently taken up the slack to maintain the m2e-subclipse connector. Q1 . My question is, where is the eclipse update url for using svn 1.8.x? As I realise, svn 1.8.x interface is implemented in subclipse 1.10. But where is the update url to update eclipse to use m2e with subclipse 1.10? Q2 . Otherwise, is there an alternative toward having maven access svn 1.8.x in eclipse? Stijn Maller Once upon a time I answered this very question, but for Subclipse 1.8.x You're right, getting

Web resources filtering with Maven war plugin does not work in Eclipse with m2e

孤街浪徒 提交于 2019-12-02 15:38:15
I'm trying to filter a Spring configuration file using Maven filtering. My POM is configured like this: ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.2</version> <configuration> <webResources> <resource> <filtering>true</filtering> <targetPath>WEB-INF/context</targetPath> <directory>src/main/webapp/WEB-INF/context</directory> <includes> <include>applicationContext.xml</include> </includes> </resource> </webResources> </configuration> </plugin> ... and <profiles> <profile> <id>desarrollo</id> <activation> <activeByDefault>true<

M2E Cron jobs not automatically running in Magento [closed]

*爱你&永不变心* 提交于 2019-12-02 10:45:00
We've installed M2E on a Magento installation for a client - all the Cron jobs are set to run but unless we do them manually, they just aren't running. Running them manually does work fine. I have read through lots of documentation and support tickets but there seems to be no identification of a similar problem or fix for it. The sync tab has a message saying: Last synchronization was performed by cron more than 12 hours ago. Please check Magento cron job configuration. Does anyone have any helpful solutions? I would take a look at the table cron_schedule and ensure that cron.php is setup and

How do i uninstall m2e in eclipse kepler

天涯浪子 提交于 2019-12-02 07:41:59
I just download eclipse kelper and found out the m2e and m2e-wtp plugins had been installed,and the new m2e plugins has no "package" of the lifecycle,how do i uninstall it? ================================================= http://m2eclipse.sonatype.org/sites/m2e this is the update site i used in eclipse juno(now it seems 404 error). Click Help-> About Eclipse -> Installation Details -> Installed Software Find out your software Click uninstall Download fresh copy of Eclipse Kepler. If you want m2e, use this link http://eclipse.org/m2e/download/ many other m2e plugins are old and stopped

Maven dependencies are not copied to WEB-INF/lib in eclipse

家住魔仙堡 提交于 2019-12-02 07:21:47
I have a maven web project in Eclipse (Spring Tool Suite to be precise), and for some reason my maven dependencies do not end up in WEB-INF/lib, so I get all sorts of runtime errors. This was working last week, and I'm not sure what action caused it to stop working. Project Properties -> Deployment Assembly shows Maven Dependencies deploying to WEB-INF/lib, and I've tried to do Maven -> Update Project, restart the IDE, clean/install, etc. Here is my POM: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema

No Maven menu items in Eclipse Indigo SR2 EE even after m2e + DWM install

◇◆丶佛笑我妖孽 提交于 2019-12-02 02:18:13
I've installed Eclipse Indigo SR2 EE: Eclipse Java EE IDE for Web Developers. Version: Indigo Service Release 2 Build id: 20120216-1857 and even after installing m2e from Marketplace I don't have any Maven menu items in File->Import, File->New->Project..., or Window->Preferences. I'm really confused. I'm on a Fedora 17 x64 machine - and my other Fedora 17 x64 machine at work works fine with the same version of Eclipse! m2e is clearly shown in "Installed Software": m2e - Maven Integration for Eclipse 1.0.200.20111228-1245 org.eclipse.m2e.feature.feature.group Eclipse.org - m2e ... and appears

m2e cannot transfer metadata from nexus, but maven command line can

痞子三分冷 提交于 2019-12-01 13:28:43
I'm using nexus to host my maven repository, and maven command line (both win32 and linux) can transfer artifacts from this nexus successfully, using same command and same setting.xml. But m2e will fail as follows: [WARNING] Could not transfer metadata m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from/to Nexus (http://1.2.3.4:8080/nexus/content/groups/public): Failed to create a selector. to http://1.2.3.4:8080/nexus/content/groups/public/m3-app/m3/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Failure to transfer m3-app:m3:1.0-SNAPSHOT/maven-metadata.xml from http://1.2.3.4:8080/nexus/content/groups