I am using MyEclipse 6.5
I downloaded “Introduction to Hibernate Search” which is a maven project
Things are fine if I build/clean/test via the “run as” menu but I want to
configure/change/create a Maven builder so that i dont see all the Red in the editor. I tried using “build” but got errors, see below. What do I need
to put into the Goals so this works properly?
Thanks
project -> properties->Builders>new
X Java Builder
X Faceted Project Validation Builder
X Validation
X Spring Project Builder
->New …
[Main]
Auto Build Goals: (build) <What should I put here?>
Manual Build Goals: (build) <What should I put here?>
During a Clean Goals: (clean) <What should I put here?>
After a Clean Goals: <What should I put here?>
console output:
[ERROR]
Invalid mojo or lifecycle phase: build
Original error message was: Invalid task ‘build’: you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal
run as: (these work fine)
Maven assembly:assembly
Maven Build
Build …
Clean
generate sources
install
package
source:jar
test