I have a java project that is being built with Maven. Instead of generating the packages from the command line with “mvn package”, I would like to generate them from Eclipse. Looking at the Project->Properties->Maven->Life Cycle mappings, I see that plugin execution for “war:war” within the lifecyle phase “package” is “ignored” and the source is “uninteresting”. Where is this data maintained? How do I change it? I tried the obvious, double or right clicking on this war:war and package nodes in Eclipse.
I see lifecycle-mapping-metadata.xml. But, I see no mention of package or war in here.
Any help is appreciated.
Thanks,
Scott
Right-click the project in Eclipse, Run As…, Maven Package (or Maven Build… and then specify the package goal). That will perform the same operation right in Eclipse, using its embedded Maven runtime.