|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
deploy-file from NB?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@...> Offshore Simulator Centre AS --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: deploy-file from NB?there's no way to do it AFAIK. and I would say it's not necessary.
That's something that is not connected to the IDE's project workflow. There's an install artifact action as that one can be useful for resolving your projects, however the deploy-file thing falls mostly into remote repository management tasks and such are not supported by the IDE. at least for now. Milos On 5/22/08, Magne Nordtveit <magne.nordtveit@...> wrote: > 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@...> > Offshore Simulator Centre AS > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |