lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <mkhlud...@griddynamics.com>
Subject Re: deploy-maven-artifacts
Date Thu, 29 Mar 2012 09:41:17 GMT
Steven,

Thanks it works. The manual is absolutely awesome!
I run ant generate-maven-artifacts and mvn deploy then (with mvn
-Pbootstrap before).

Regards

On Wed, Mar 21, 2012 at 12:24 AM, Steven A Rowe <sarowe@syr.edu> wrote:

>  Hi Mikhail,****
>
> ** **
>
> There is info on deploying to a maven repo using generate-maven-artifacts
> in dev-tools/maven/README.maven in your local working copy.****
>
> ** **
>
> Here's the relevant snippet from <
> http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/README.maven?view=markup
> >:****
>
> ** **
>
> C. How to deploy Maven artifacts to a repository****
>
> ** **
>
>    Prerequisites: JDK 1.6+ and Ant 1.7.X****
>
> ** **
>
>    You can deploy targets for all of Lucene/Solr, only Lucene, only Solr,*
> ***
>
>    or only modules/, as in B. above.  To deploy to a Maven repository, the
> ****
>
>    command is the same as in B. above, with the addition of two system****
>
>    properties:****
>
> ** **
>
>       ant -Dm2.repository.id=my-repo-id \****
>
>           -Dm2.repository.url=http://example.org/my/repo \****
>
>           generate-maven-artifacts****
>
> ** **
>
>    The repository ID given in the above command corresponds to a <server>*
> ***
>
>    entry in either your ~/.m2/settings.xml or ~/.ant/settings.xml.  See***
> *
>
>    <http://maven.apache.org/settings.html#Servers> for more information.**
> **
>
>    (Note that as of version 2.1.3, Maven Ant Tasks cannot handle encrypted
> ****
>
>    passwords.)****
>
> ** **
>
> ** **
>
> *From:* Mikhail Khludnev [mailto:mkhludnev@griddynamics.com]
> *Sent:* Tuesday, March 20, 2012 4:14 PM
> *To:* dev@lucene.apache.org
> *Subject:* deploy-maven-artifacts****
>
> ** **
>
> Hello,****
>
> ** **
>
> Solr build has a great target "generate-maven-artifacts". Can't you share
> a snippet which deploys artefacts into  repo? How do you do that, by sh or
> by ant? Don't we need to have "deploy" target in build?
> ****
>
> ** **
>
> Thanks in advance.****
>
> --
> Sincerely yours
> Mikhail Khludnev
> Lucid Certified****
>
> Apache Lucene/Solr Developer
> Grid Dynamics
>
>
>  <mkhludnev@griddynamics.com>****
>
> ** **
>



-- 
Sincerely yours
Mikhail Khludnev
gedel@yandex.ru

<http://www.griddynamics.com>
 <mkhludnev@griddynamics.com>

Mime
View raw message