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

Jesse Yates commented on PHOENIX-1728:
--------------------------------------

So in phoenix/pom.xml there are the lines:
{code}
<pluginManagment>
...
  <plugin>
   <artifactId>build-helper-maven-plugin</artifactId>
          <version>${maven-build-helper-plugin.version}</version>
          <executions>
            <execution>
              <id>add-test-source</id>
              <phase>validate</phase>
              <goals>
                <goal>add-test-source</goal>
              </goals>
              <configuration>
                <sources>
                  <source>${basedir}/src/it/java</source>
                </sources>
              </configuration>
...
{code}

This will add the src/it folder as an input source during the verify step. All 
you should need to do is add the following to your pom:
{code}
  <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
    </plugin>
 </plugins>
{code}

And you should be good to go (+/- actually making it work... I didn't actually 
try it :)

> Pherf - Make tests use mini cluster
> -----------------------------------
>
>                 Key: PHOENIX-1728
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1728
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: Cody Marcel
>            Priority: Minor
>              Labels: newbie
>
> Some unit tests currently depend on a cluster being available or they will 
> fail. Make these tests use mini cluster.
> Tests are currently disabled in the build. We need to enable these.



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

Reply via email to