Do you upload it to a version control system (e.g. SVN) or a repository manager (e.g. Archiva)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
pom.xmlfile belongs to the project, as it the defines the project structure and dependencies. Hence, we commit it along with all source files into our VCS.Using a modern IDE, such as e.g., Netbeans, adds an extra incentive. The project can be opened and built by any developer directly after checkout without any extra effort.
Basically, the only time we upload a pom to a system such as Archiva/Nexus, is when we perform a
mvn release, and then it’s uploaded automatically with the compiled sources.