Say I have my project that looks like
/src/main/java/... /src/main/resources/... /src/main/webapp pom.xml
And I have this stored in my version control, Git/SVN etc.
My artifact has a signature like
<groupId>dwj.me</groupId> <artifactId>some-project<artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging>
If I have a nexus server running, I can deploy my project to nexus and packaged copy of the project is available and can be used as a dependency in other projects.
If I want to deploy this project to a webserver, currently I first need to check the project out from version control, and then use a build command to deploy it to my specific webserver.
What I'm wondering is if there is a way to avoid having to check the project out from version control, ie. deploying using the artifact id only.
Additionally there are likely to be configuration properties in
/src/main/resources, is it possible to set these properties without having to check out from version control?