by repo i meant maven repository (nexus or artifactory).

i don't understand something.

as a developer, i'm developing my maven project on my pc or build machine...
i finish coding, checkin the code then:
1. hudson will auto build it and test
2. i will mvn deploy it to the artifactory.

i can't understand how the project goes from being the in repository to
being installed and running on the production server.

i currently know of 2 ways to do it:
1. assmebly - create a tar.gz of the project or something.
2. rpm - build a FAT rpm that includes all the jars.

i doesnt sound logic that maven doesnt support an option to actually
"install" an application on a remote server (without having the pom or
sources locally).

am i'm making sense here?

Eyal.

On Mon, Jan 18, 2010 at 5:31 PM, Adam Leggett (UPCO) <
[email protected]> wrote:

> When you say 'repo' do you mean source code repository? You can use the
> Maven SCM plugin get checkout your project, prior to running install -
>
> mvn scm:checkout
> -DconnectionUrl=scm:svn:http://somehost/somepath/someproject
>
> On Mon, 2010-01-18 at 14:40 +0200, eyal edri wrote:
> > I'm not sure this plugin is what i need.
> >
> > what i would want is simply to run "mvn install project-name" from any
> > directory on the fs and maven will run the 'install' phase without
> > having
> > the pom & code locally (will read it from the repo).
> >
> > Eyal.
>
> --
> Adam Leggett
> Chief Architect
> Mike CI - Hosted Continuous Integration
> http://mikeci.com
>
> https://twitter.com/builtbyadam
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Eyal Edri

Reply via email to