Re: Error assembling WAR: MANIFEST.MF does not exist.
> Why are you setting outputDirectory manually? I have no good answer to your question. I have found the similar project like my one. And I do copy and paste. > that means in war/WEB-INF/classes/META-INF/ just as it says in the error > message. I've understood this, and therefore I've said sorry. dennisl wrote: > > On 2011-05-01 01:31, sipungora wrote: >> Sorry, it was my error. pom says: >> >> >> war/WEB-INF/classes > > This is not good. You should alway use a directory under target/ as your > output directory. Why are you setting outputDirectory manually? > >> ... >> and >> ... >> >> org.apache.maven.plugins >> maven-war-plugin >> >> >> war >> >> src/main/webapp/WEB-INF/web.xml >> >> WEB-INF/lib/* >> >> >> >> ${project.build.outputDirectory}/META-INF/MANIFEST.MF >> > > Here you are telling the plugin to use your own custom MANIFEST.MF that > is located in ${project.build.outputDirectory}/META-INF/ and with your > current outputDirectory that means in war/WEB-INF/classes/META-INF/ just > as it says in the error message. > >> >> >> >> ... >> >> >> Now I've corrected it and build is successful. >> >> Thank you for hint. Sorry. -- >> View this message in context: >> http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html >> Sent from the Maven - Users mailing list archive at Nabble.com. >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > > -- > Dennis Lundberg > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4363196.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
On 2011-05-01 01:31, sipungora wrote: > Sorry, it was my error. pom says: > > > war/WEB-INF/classes This is not good. You should alway use a directory under target/ as your output directory. Why are you setting outputDirectory manually? > ... > and > ... > > org.apache.maven.plugins > maven-war-plugin > > > war > > src/main/webapp/WEB-INF/web.xml > > WEB-INF/lib/* > > > > ${project.build.outputDirectory}/META-INF/MANIFEST.MF > Here you are telling the plugin to use your own custom MANIFEST.MF that is located in ${project.build.outputDirectory}/META-INF/ and with your current outputDirectory that means in war/WEB-INF/classes/META-INF/ just as it says in the error message. > > > > ... > > > Now I've corrected it and build is successful. > > Thank you for hint. Sorry. -- > View this message in context: > http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
Sorry, it was my error. pom says: war/WEB-INF/classes ... and ... org.apache.maven.plugins maven-war-plugin war src/main/webapp/WEB-INF/web.xml WEB-INF/lib/* ${project.build.outputDirectory}/META-INF/MANIFEST.MF ... Now I've corrected it and build is successful. Thank you for hint. Sorry. -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
Do you mean this part? org.apache.maven.plugins maven-war-plugin war src/main/webapp/WEB-INF/web.xml WEB-INF/lib/* ${project.build.outputDirectory}/META-INF/MANIFEST.MF -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361951.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
What does your POM say? On Sat, Apr 30, 2011 at 6:43 PM, sipungora wrote: > Hi, > > can somebody explain me why get I this error: > > "Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF > does not exist." > > Why is it looking for MANIFEST.MF in WEB-INF\classes? > > Thanks in advance. > Best Regards. > -sipungora-- > View this message in context: > http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361924.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Error assembling WAR: MANIFEST.MF does not exist.
Hi, can somebody explain me why get I this error: "Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF does not exist." Why is it looking for MANIFEST.MF in WEB-INF\classes? Thanks in advance. Best Regards. -sipungora-- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361924.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org