I get a obscure error meesage, if i want to build my maven project with command "maven clean install":
Internal error in the plugin manager executing goal 'com.samaxes.maven:minify-maven-plugin:1.7:minify': Unable to find the mojo 'minify' (or one of its required components) in the plugin 'com.samaxes.maven:minify-maven-plugin'
com/samaxes/maven/minify/plugin/MinifyMojo : Unsupported major.minor version 51.0**
Was anybody an idea, how i can solve this problem?
//EDIT It is possible to solve this problem without changing the current JDK 6 to JDK 7 ?
//EDIT again
Ok i could build my maven project. I have done the follwoing step but i´m not sure, if this was a good way of solution:
<plugin>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
<version>1.6</version>
</plugin>
I have changed the version from 1.7 to 1.6 and now i can build the maven project. But is that really the best solution?