Reputation: 16
My maven project in Eclipse suddenly does not generate the snapshot folder and war file anymore, although mvn package command will still trigger a compiler action and build class file to target/class folder, but no snapshot war file and folder will be generated to target folder. I have config in pom.xml and saw "Building xxx 1.0-SNAPSHOT" output, but no war file or SNAPSHOT folder come out of that. Has anyone encountered this before? I use Mars 4.5.2 and on Mac OS X 10.10.5
Upvotes: 0
Views: 2218
Reputation: 325
Check if pom.xml exists or not. If it exists Right click -> Maven ->Update Project. This worked for me.
Upvotes: 1