About

Jadira is the home for Sousan and Chris Pheby's open source projects. These are reusable open source Java modules that provide first class solutions using the most effective current JEE technologies.

Search
Tag Cloud
...
Login
« On Enterprise Architecture | Main | Eclipse Indigo »
Friday
Jul152011

Suppressing m2e Warnings

With the release of Eclipse Indigo, I've started migrating from using Maven's eclipse plugin to m2e for managing the integration of my projects into the Eclipse IDE.

This brings with it a host of new warnings relating to the use of plugins such as toolchains and enforcer. The resolution of these errors is the inclusion of the a section such as the following in the pom.xml of the affected project:

		
			m2e
			
				
					m2e.version
				
			
			
				
					
						
							org.eclipse.m2e
							lifecycle-mapping
							1.0.0
							
								
									
										
											
												org.apache.maven.plugins
												maven-toolchains-plugin
												[1.0,)
												
													toolchain
												
											
											
												true
											
										
										
											
												org.apache.maven.plugins
												maven-enforcer-plugin
												[1.0,)
												
													enforce
												
											
											
												true
											
										
									
								
							
						
					
				
			
		

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>