Maven学习笔记(二)Eclipse插件安装(m2eclipse)
如何安装Eclipse插件 关于如何安装Eclipse插件可以参考http://www.blogjava.net/wealupa/archive/2010/09/09/331493.html Eclipse3.5以后版本推荐使用dropions的安装插件名称区分方式安装插件 eclipse/ dropins/ resourcebundleeditor/ features/ plugins/ m
- 如何安装Eclipse插件
关于如何安装Eclipse插件可以参考http://www.blogjava.net/wealupa/archive/2010/09/09/331493.html
Eclipse3.5以后版本推荐使用dropions的安装插件名称区分方式安装插件
eclipse/ dropins/ resourcebundleeditor/ features/ plugins/ m2eclipse/ features/ plugins/
- m2eclipse插件下载及安装
m2eclipse是由Sonatype开发的插件,官网为http://m2eclipse.sonatype.org/。
对于m2eclipse插件的安装做一个小小的总结:
到目前(2012-12-24)Sonatype公司声称已经和Eclipse进行了交接,1.0以后版本插件的官方网站地址为http://eclipse.org/m2e/,下载地址为http://download.eclipse.org/technology/m2e/releases/
于是到eclipse的官网去寻找,但打开上述地址发现该地址目前已经失效了,而且Eclipse官网说目前此插件还不兼容Eclipse3.6和3.7版本
还好Sonatype仍然提供了0.12版本,以及扩展插件。
关于在插件安装过程中遇到的问题可以参考http://hi.baidu.com/xuemin_q/blog/item/597b918ea7d98cf5513d92da.html
目前使用eclipse-jee-indigo-SR1版本直装此插件,没遇到任何问题。
- 安装后Eclipse的相关配置
- 配置本地指定的maven
由于m2eclipse插件有内嵌的maven,而安装后默认使用内嵌的maven版本,可以通过配置更改maven为本地指定版本
Window->Perference->Maven->Installations -->点击Add 选择本地的maven根目录,确认然后在新加的配置上打勾,确定。 - 配置Eclipse运行的Java环境
Eclipse默认是运行在jre上的,而m2eclipse的一些功能需要jdk的支持,所以需要修改eclipse的配置。修改Eclipse安装路径的eclipse.ini配置文件,在-vmargs前增加如下配置:
-vm D:\Program Files\Java\jdk1.7.0\bin\javaw.exe -vmargs ......
Copy after login
修改Eclispe的Installed JREs :
Window->Perference->Java->Installed JREs->||Add->Standard VM->Next 然后选择jdk里面的jre路径
Window->Perference->Java->Installed JREs->Execlution Eveiroments 让默认的j2se(利用maven插件创建的project默认的jre是1.5,)使用刚刚配置的jreD:\Program Files\Java\jdk1.7.0\jre
Copy after login

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



How to delete Xiaohongshu notes? Notes can be edited in the Xiaohongshu APP. Most users don’t know how to delete Xiaohongshu notes. Next, the editor brings users pictures and texts on how to delete Xiaohongshu notes. Tutorial, interested users come and take a look! Xiaohongshu usage tutorial How to delete Xiaohongshu notes 1. First open the Xiaohongshu APP and enter the main page, select [Me] in the lower right corner to enter the special area; 2. Then in the My area, click on the note page shown in the picture below , select the note you want to delete; 3. Enter the note page, click [three dots] in the upper right corner; 4. Finally, the function bar will expand at the bottom, click [Delete] to complete.

As a Xiaohongshu user, we have all encountered the situation where published notes suddenly disappeared, which is undoubtedly confusing and worrying. In this case, what should we do? This article will focus on the topic of "What to do if the notes published by Xiaohongshu are missing" and give you a detailed answer. 1. What should I do if the notes published by Xiaohongshu are missing? First, don't panic. If you find that your notes are missing, staying calm is key and don't panic. This may be caused by platform system failure or operational errors. Checking release records is easy. Just open the Xiaohongshu App and click "Me" → "Publish" → "All Publications" to view your own publishing records. Here you can easily find previously published notes. 3.Repost. If found

Installing Android applications on Linux has always been a concern for many users. Especially for Linux users who like to use Android applications, it is very important to master how to install Android applications on Linux systems. Although running Android applications directly on Linux is not as simple as on the Android platform, by using emulators or third-party tools, we can still happily enjoy Android applications on Linux. The following will introduce how to install Android applications on Linux systems.

If you have used Docker, you must understand daemons, containers, and their functions. A daemon is a service that runs in the background when a container is already in use in any system. Podman is a free management tool for managing and creating containers without relying on any daemon such as Docker. Therefore, it has advantages in managing containers without the need for long-term backend services. Additionally, Podman does not require root-level permissions to be used. This guide discusses in detail how to install Podman on Ubuntu24. To update the system, we first need to update the system and open the Terminal shell of Ubuntu24. During both installation and upgrade processes, we need to use the command line. a simple

While studying in high school, some students take very clear and accurate notes, taking more notes than others in the same class. For some, note-taking is a hobby, while for others, it is a necessity when they easily forget small information about anything important. Microsoft's NTFS application is particularly useful for students who wish to save important notes beyond regular lectures. In this article, we will describe the installation of Ubuntu applications on Ubuntu24. Updating the Ubuntu System Before installing the Ubuntu installer, on Ubuntu24 we need to ensure that the newly configured system has been updated. We can use the most famous "a" in Ubuntu system

Optimize Maven build tools: Optimize compilation speed: Take advantage of parallel compilation and incremental compilation. Optimize dependencies: Analyze dependency trees and use BOM (bill of materials) to manage transitive dependencies. Practical case: illustrate optimizing compilation speed and dependency management through examples.

Detailed steps to install Go language on Win7 computer Go (also known as Golang) is an open source programming language developed by Google. It is simple, efficient and has excellent concurrency performance. It is suitable for the development of cloud services, network applications and back-end systems. . Installing the Go language on a Win7 computer allows you to quickly get started with the language and start writing Go programs. The following will introduce in detail the steps to install the Go language on a Win7 computer, and attach specific code examples. Step 1: Download the Go language installation package and visit the Go official website

Installing Go language under Win7 system is a relatively simple operation. Just follow the following steps to successfully install it. The following will introduce in detail how to install Go language under Win7 system. Step 1: Download the Go language installation package. First, open the Go language official website (https://golang.org/) and enter the download page. On the download page, select the installation package version compatible with Win7 system to download. Click the Download button and wait for the installation package to download. Step 2: Install Go language
