Maven 2 plugin for Eclipse
Integrate Maven 2 in Eclipse.
Download Maven 2 plugin for Eclipse 0.0.10 for EasyEclipse 1.2.2:
Maven 2 is a build and project management tool. The Maven 2 plugin for Eclipse provides Maven 2.0 integration, including transient dependencies support, running Maven goals, and adding dependencies from repository.
Comments are currently disabled on this page.'; ?>
Installing this plugin
This plugin is not shipped in any distribution. You must manually install it on an EasyEclipse distribution.
The dependent plugin Eclipse Java Development Tools must be present in the EasyEclipse distribution you use, or must be installed separately.
Getting started
To adding needed libraries to a project requiring them, you should:
- Enable Maven 2 on the project, by right-clicking on a project and selecting Maven > Enable; the group ID can have any value.
- Add the needed dependencies, by right-clicking on the project and selecting Maven > Add Dependencies. You can then search the repository by providing a part of the name of the libraries. For example, typing
junitwill show all JUnit libraries. - The libraries are then downloaded automatically when the project is built.
Tests
(Notes that tests are only displayed if the page is served statically)- Passing:
- new java project - new file, call it "SimpleTest.java" - paste this: import junit.framework.TestCase; public class SimpleTest extends TestCase { public void testSimple() { assertNotNull(new String()); } } - project fails to compile - right-click on project, select "Maven2 > Enable"; enter a group id (same as project name for example), click finish - right-click on project, select "Maven2 > Add Dependencies". - type "junit", select junit-3.8.1.jar, click OK - project rebuilds, should build correctly
Useful links
- Maven 2 plugin for Eclipse home
- Maven 2 plugin for Eclipse provides support for the Maven application.
- Tutorial
Changelog
Changes in EasyEclipse 1.2.2:
- Upgraded to Maven 2 plugin for Eclipse 0.0.10.
- Initial release (with Maven 2 plugin for Eclipse 0.0.5).
- Upgraded to Maven 2 plugin for Eclipse 0.0.9.
Credits and License
Credits:
Copyright (c) 2005 Mergere, Inc.
This plugin is licensed under the Apache License 2.0 license.
Copyright 2005 Mergere, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
(12MB)
(13MB)
(12MB)