|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Uploading artifacts without maven or Nexus UIHI all,
I'd like to use Nexus to store artifacts not produced by a Maven build (so without using the deploy-file goal). Do you know if there is any way to upload in a programmatic manner (i.e. through a script) an artifact to a Nexus repository?
Many thanks
|
|
|
Re: Uploading artifacts without maven or Nexus UIWe do this in our Integration tests using java and httpclient, see the deployUsingGavWithRest and deployUsingPomWithRestReturnResult methods here
Of course you can check out the whole nexus-test-harness-launcher to see the other classes used, where this functionality is used, etc.
Hope this helps
Damian
On Wed, Nov 4, 2009 at 12:20 PM, Deimos <fasano.andrea@...> wrote: HI all, I'd like to use Nexus to store artifacts not produced by a Maven build (so without using the deploy-file goal). Do you know if there is any way to upload in a programmatic manner (i.e. through a script) an artifact to a Nexus repository? Many thanks |
|
|
Re: Uploading artifacts without maven or Nexus UIWhy can't you use the deploy-file goal and maven from a script?
From http://maven.apache.org/plugins/maven-deploy-plugin/usage.html (see "The deploy:deploy-file Mojo") I quote: "The deploy:deploy-file mojo is used primarily for deploying artifacts to which were not built by Maven." mvn deploy:deploy-file -Dfile=... etc. /Anders On Wed, Nov 4, 2009 at 18:20, Deimos <fasano.andrea@...> wrote: HI all, I'd like to use Nexus to store artifacts not produced by a Maven build (so without using the deploy-file goal). Do you know if there is any way to upload in a programmatic manner (i.e. through a script) an artifact to a Nexus repository? Many thanks |
|
|
Re: Uploading artifacts without maven or Nexus UIThank you very much Damian, it seems to be exactly what I was looking for.
|
|
|
Re: Uploading artifacts without maven or Nexus UIWell, I have same scenarios were the artifact is not deployed using maven, nor maven is present on the machine.
|
| Free embeddable forum powered by Nabble | Forum Help |