[mevenide-user] deploy-file from NB?

Magne Nordtveit <magne.nordtveit-4fgah/[email protected]> Thu, 22 May 2008 14:08:26 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Organization Offshore Simulator Centre AS
Message-ID <1211458106.23170.10.camel@osc-magne>
Hi,

Is there a way I can deploy a thirdparty artifact from netbeans?

If we download a thirdparty jar (with or without javadoc and sources). W
e create a pom.xml for this artifact, specifying the version, artifactid
and groupid, detailing where we downloaded it and a short description of
the artifact. This is a jar project. Today we have a shell script for
each project with something like 
        mvn deploy:deploy-file -Dfile=j3daudio.jar
        -Durl=ftp://portal.offsimcentre.no/thirdparty
        -DrepositoryId=offsimcentre.thirdparty -DpomFile=pom.xml
in it. Which is abit hard to maintain...

Is there a way to do this from netbeans? Specifying the pom, load the
project and deploy it to our thirdparty server from netbeans? Perhaps by
binding a plugin to the deploy or install phase that takes care of it?

Our goal is to specify a parent pom for all our thirdparty jars and by
deploying this pom-packaged projectm we deploy all the thirdparty jars,
defined as modules, to our repository.

Cheers,
Magne

-- 
Magne Nordtveit <magne.nordtveit-4fgah/[email protected]>
Offshore Simulator Centre AS

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email