Hi all, I know maven install command is to upload your artifact to local repository. However, I have a question on the version of the artifact. By default, the version is defined in <project><version></version></project>. Is it possible to override this in profiles?
What I tried <profile> <id>release</id> <build> <finalName>${project.artifactId}-1.0<finalName> </build> </profile> but this will only create a "myproject-1.0.jar" in my target directory. Once it is istalled, it becomes "myproject-1.0-1.0-SNAPSHOT.jar". Does anyone know how can I specify the version number for installed jar in profile? Thanks David