Hi togehter,
I was searching the internet for an hour now, and can't find a nice solution for my really easy problem.

We have a maven project, which produces a war file, which actually works great.
Further we have a server whith different jetty-servers running.
Dev-Server, Test-Server, Live-Server.

Now, I just want to deploy our war-file to the server via scp.

If I configure the pom like the following:

<distributionManagement>
        <repository>
            <id>internal-server</id>
            <name>Internal Server</name>
            <url>${serverURL}</url>
        </repository>
</distributionManagement>

than the entire maven-structure is copied. But I acutally just want to copy our xyz.war
to the specific location.

Because Jetty recognises the change it will automatically reload the war.

Any ideas?

Kind regards
Fritz

Reply via email to