[ 
https://issues.apache.org/jira/browse/JCR-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705517#action_12705517
 ] 

Jukka Zitting commented on JCR-2096:
------------------------------------

I figured as much, but we could achieve the same result by enabling the -tests 
jar to be built from spi2jcr.

Or alternatively the tests could be pushed either to jcr-tests or to a new 
spi-tests component based on their nature.

> Move jcr2spi tests to spi2jcr
> -----------------------------
>
>                 Key: JCR-2096
>                 URL: https://issues.apache.org/jira/browse/JCR-2096
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi2jcr, test
>            Reporter: Jukka Zitting
>
> Currently we have a number of test cases included in the jcr2spi component, 
> but they aren't being run in there (surefire plugin is disabled). Instead, 
> the tests are packaged into a -tests jar that is then used in the spi2jcr 
> component to run them.
> The downside of this setup are 1) extra complexity and 2) the fact that a 
> -Dmaven.test.skip=true build will not work with a clean Maven repository as 
> the jcr2spi -tests jar is not being built for spi2jcr.
> How about if we simply moved the tests to the spi2jcr component where they 
> are being used?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to