[ 
https://issues.apache.org/jira/browse/CALCITE-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14961231#comment-14961231
 ] 

Josh Elser commented on CALCITE-861:
------------------------------------

https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html#The_preferred_way
 outlines how Maven recommends shared test classes are handled.

tl;dr Create a module for testing (to manage test-dependencies in one place), 
move test resources from src/test/java to src/main/java, include that module in 
the test scope.

This is very close to what I did initially, fwiw.

> Fix or document issue where first time user cannot use mvn compile
> ------------------------------------------------------------------
>
>                 Key: CALCITE-861
>                 URL: https://issues.apache.org/jira/browse/CALCITE-861
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Jacques Nadeau
>            Assignee: Josh Elser
>             Fix For: next
>
>
> Having come up from last vote:
> While I managed to get it to compile, note that a “mvn compile” will fail 
> with:
> Could not find artifact 
> org.apache.calcite:calcite-avatica:jar:tests:1.4.0-incubating in central



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to