'ant run-maven-build' will interpolate the Maven POM templates and place them 
in maven-build/, then run the equivalent of 'mvn install', which 
compiles/jars/tests/installs-to-local-repo all Lucene and Solr modules.  This 
is how Jenkins runs the Maven tests.

If you're willing to run Maven directly, it would be faster to install just the 
Lucene modules, then run tests only in the facet module, e.g.:

        ant get-maven-poms            # Interpolate POM templates and populate 
maven-build/
        cd maven-build
        mvn --non-recursive install   # Install the grandparent POM in the 
local repository
        cd lucene
        mvn -DskipTests install       # Compile/jar/install all Lucene modules
        cd facet
        mvn test

It would be faster still to individually install only those modules on which 
the facet module depends (I think this is: the grandparent POM, the lucene 
parent POM, lucene-core and the lucene test-framework), but the typing time to 
do that might be greater than the execution time of the simpler recipe above.  
On the other hand, a script would make the typing time irrelevant.  Let me know 
if you're interested and I'll type it up.

Steve

On Feb 12, 2013, at 2:39 PM, Shai Erera <[email protected]> wrote:

> Thanks! Is there anything we could have done while testing locally to test 
> it? e.g. ant-check-maven or something?
> 
> Shai
> 
> 
> On Tue, Feb 12, 2013 at 9:28 PM, Steve Rowe <[email protected]> wrote:
> Looks like the facet POM doesn't include the (new) src/resources/ directory, 
> so the SPI file located there doesn't make into the jar, and the tests fail.
> 
> I'll work on a fix, should be trivial.
> 
> Steve
> 
> On Feb 12, 2013, at 2:19 PM, Shai Erera <[email protected]> wrote:
> 
> > Hmm, doesn't fail for me. Is it related to MAVEN maybe? Do Codecs (SPI) 
> > need to be handled somehow special with MAVEN?
> >
> > Shai
> >
> > On Tue, Feb 12, 2013 at 9:11 PM, Apache Jenkins Server 
> > <[email protected]> wrote:
> > 56FD69FD2D611E4C
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to