gavioto / m2e-extensions

Automatically exported from code.google.com/p/m2e-extensions
0 stars 0 forks source link

Using a custom header file via the <headerLocation> results in an error #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure the maven plugin using the <headerLocation> element in <plugin> 
configuration (all in the project pom)
2. In the checkstyle configuration, reference the header using the maven 
defined property:  <property name="headerFile" 
value="${checkstyle.header.file}"/>
3. Import the project into Eclipse

What is the expected output? What do you see instead?
Expected: m2eclipse would setup the property ${checkstyle.header.file} based 
upon the <headerLocation> element in the pom configuration and configure the 
eclipse plugin accordingly

Actual: m2eclipse does not configure the eclipse plugin with the details of the 
property.  Instead I get errors when attempting to use checkstyle noting: 
unable to parse configuration stream - Property ${checkstyle.header.file} has 
not been set

What version of the product are you using? On what operating system?

Eclipse Indigo
Ubunto 11.10
m2eclipse: 1.0.0.20110607-2177
Checkstyle configuration plugin for M2Eclipse:  1.0.0.201106081737  

Original issue reported on code.google.com by tschai...@gmail.com on 22 Oct 2011 at 11:34

GoogleCodeExporter commented 9 years ago
Any known work arounds?

Original comment by ja...@pollock.ca on 28 Oct 2012 at 9:48