To simply answer your question when you do a mvn:install, maven will create a packaged artifact based on (packaging attribute in pom.xml), After you run your maven install you can find the file with .package extension
- In target directory of the project workspace
- Also where your maven 2 local repository is search for (.m2/respository) on your box, Your artifact is listed in .m2 repository under (groupId/artifactId/artifactId-version.packaging) directory
- If you look under the directory you will find packaged extension file and also pom extension (pom extension is basically the pom.xml used to generate this package)
- If your maven project is multi-module each module will two files as described above except for the top level project that will only have a pom