I use maven to build my project, and i tried to modify an existing pom.xml to compile my project, seems like it's not really compiling as it detects that no sources to compile. As a basic start of learning pom.xml, where can i start from?
and your question there is: how to set settings in the pom.xml
you might want to clearify a bit. what is it you try to put in the pom.xml?
which pom.xml are we talking about, the one that oversees the entire project, or just a module?
and for your .jar/.war issue: I take it you're developing a web-application: a .jar file is a library of classes you use, that you import in your project, the .war file is being build by maven, you don't have to 'choose' between them, logic (and maven) will do that for you
Hi and thanks for the reply. Im talking about the pom.xml which oversees the whole project, and currently only jar file is generated for the project as the pom.xml is auto generated based on the example. How to modify the pom.xml such that war is generated as well? This is my current pom.xml