maven-eclipse-plugin

How to manage shared resources for several web apps in Maven AND Eclipse?

女生的网名这么多〃 提交于 2020-01-09 10:06:40
问题 Note: I didn't get any response in the first version of this question, so I modified it to be more generic... Context My project is divided into several maven modules and several web-applications. Here is the structure: my-project + pom.xml +-- commons +-- persistence +-- ... +-- web-app-1 +-- web-app-2 +-- ... All the web applications share common resources, such as JS, CSS and images files. Instead of duplicating these resources in each web-app-X , I decided to create another project called

Write custom maven command set using eclipse plugin

会有一股神秘感。 提交于 2020-01-06 14:40:33
问题 from command line I can write mvn install -Pauto-deploy Is it possible to store this command in my eclipse maven plugin. I want to execute this command by click. I see only standart things in maven menu: build clean install test I want see at this list my_autodeploy_command I am sure it is possible but I don't know how. Can you show how? where can I write mvn install -Pauto-deploy ? Somewhere here? UPDDATE for taringamberini 回答1: The dialog is the correct one. Install, the lifecycle phase to

Very lightweight Eclipse-Maven integration - dependency management only?

限于喜欢 提交于 2019-12-19 10:26:46
问题 From my experience, Maven is often an overkill in small/experimental applications. But depencency management is very useful feature of Maven and actually the only one that can be really helpful in mentioned type of applications. I wonder if I can have a very minimal and lightweight Eclipse-Maven integration that provides only adding Maven dependencies to Eclipse project classpath in the simpliest possible way. Especially I don't want to: apply to any Maven conventions (including project

how install maven on eclipse

[亡魂溺海] 提交于 2019-12-18 04:41:25
问题 i want to install maven plug in on eclipse. but when add the maven site in install software section, and beginning to download and install it, an error occurred about dependency. how can fix it? i want a complete installation guide... 回答1: first which dependencies are missing? A good maven plugin for eclipse is the eclipse maven sonatype, m2eclipse. 回答2: Do these steps: In Eclipse, go to "Help->Install New Software". Press "Add" in the upper right button in the opened window. Set the name

How to change project name in .project created from mvn eclipse:eclipse?

守給你的承諾、 提交于 2019-12-11 13:20:54
问题 Here is the content of my pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <url>http://maven.apache.org</url> <name>SomeProject</name> <groupId>com.test.te</groupId> <artifactId>testjar</artifactId> <version>1.1.6</version> <packaging>jar</packaging> <dependencies> .... .... </dependencies> <build>

Convert java plugin into maven project with eclipse-plugin packaging

我的未来我决定 提交于 2019-12-08 07:09:05
问题 I am quite experienced with java but i'm using maven for the first time. i have installed Eclipse Kepler (Eclipse for RCP and RAP Developers), I have installed Tychus as well with the "add new software" button. There is an Internet of things project that I cloned and built called OM2M. I followed the install wiki step by step and everything work until then. cloning wiki here I want to develop my own OSGI module so I went to the 'developer' section of the wiki and once again and created a new

Maven/Eclipse: The default build path for resources excluded everything

Deadly 提交于 2019-12-07 01:24:21
问题 I'm using M2E for maven integration with eclipse. My unit tests reference property files in the resources/ directory. Well, everything fine in the command line test ( mvn test ). However, in Eclipse, the resources couldn't be found. Check the Java Build Path, there, all resources entries are marked with Excluded: ** . (I deem it should only exclude .java/ .class files) Then, after removed the exclude pattern, the problem fixed. I'm not sure whether I should remove all Excluded ** by hand, or

Maven/Eclipse: The default build path for resources excluded everything

陌路散爱 提交于 2019-12-05 04:45:59
I'm using M2E for maven integration with eclipse. My unit tests reference property files in the resources/ directory. Well, everything fine in the command line test ( mvn test ). However, in Eclipse, the resources couldn't be found. Check the Java Build Path, there, all resources entries are marked with Excluded: ** . (I deem it should only exclude .java/ .class files) Then, after removed the exclude pattern, the problem fixed. I'm not sure whether I should remove all Excluded ** by hand, or maybe I doesn't use M2E correctly. P.S. The projects are imported by Existing Maven Projects . It does

Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

ε祈祈猫儿з 提交于 2019-12-03 07:34:50
问题 Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the appropriate Eclipse project files. However, it seems now that the M2Eclipse plugin has been swallowed up by Eclipse and importing Maven projects now seems to read the pom and try to do the Right Thing. Does this mean the maven-eclipse-plugin is

Is maven-eclipse-plugin no longer needed with the new M2Eclipse in Indigo?

邮差的信 提交于 2019-12-02 21:02:48
Historically, its been a major hassle for our team to import our multi-module Maven project into Eclipse given all the Flex, WTP, and GWT stuff in there. We were recently thinking that the maven-eclipse-plugin could help us by generating the appropriate Eclipse project files. However, it seems now that the M2Eclipse plugin has been swallowed up by Eclipse and importing Maven projects now seems to read the pom and try to do the Right Thing. Does this mean the maven-eclipse-plugin is essentially obsolete? What can we do to help our projects import into Eclipse in the best possible way? maven