maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eyal edri <>
Subject install java app on production server
Date Sun, 15 Nov 2009 15:58:47 GMT

i'm kind of new to maven and still trying to figure out the right way to do
i've already set up a local repository accesibale via http/scp.

and configured some resources such as conf/cron files.

my question is, what is the best way to actually 'install' an application
after it's deployed to the repository.

i'm aiming at something similar to 'yum install' (i'm guessing we won't need
yum/rpm anymore after moving to maven).

i'll probably need to install maven on the production server, right?

and create my own archetype? since 'mvn install' installs the pkg to the
repository and not actually "installs" it to the fs.

how do i tell the mvn to put the jar file in it's bin dir? it doesnt seem
right to config it as a resource as well...

*here's my pom.xml so far:*

<project xmlns="" xmlns:xsi=""
      *  <executions>
            <!-- here the phase you need -->

            <!-- here the phase you need -->

the 'cron' file has the the line:

* */1 * * * root  java -jar

Eyal Edri

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message