Github user ajs6f commented on a diff in the pull request:

    https://github.com/apache/jena/pull/227#discussion_r108438170
  
    --- Diff: jena-text/pom.xml ---
    @@ -112,11 +138,72 @@
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-surefire-plugin</artifactId>
             <configuration>
    -          <includes>
    -            <include>**/TS_*.java</include>
    -          </includes>
    +            <!-- Skip the default running of this plug-in (or everything 
is run twice...see below) -->
    +            <skip>true</skip>
             </configuration>
    +          <executions>
    +              <execution>
    +                  <id>unit-tests</id>
    +                  <phase>test</phase>
    +                  <goals>
    +                      <goal>test</goal>
    +                  </goals>
    +                  <configuration>
    +                      <skip>false</skip>
    +                      <includes>
    +                          <include>**/TS_*.java</include>
    +                      </includes>
    +                      <excludes>
    +                          <exclude>**/*IT.java</exclude>
    +                      </excludes>
    +                  </configuration>
    +              </execution>
    +              <execution>
    +                  <id>integration-tests</id>
    +                  <phase>integration-test</phase>
    +                  <goals>
    +                      <goal>test</goal>
    +                  </goals>
    +                  <configuration>
    +                      <skip>false</skip>
    +                      <includes>
    +                          <include>**/*IT.java</include>
    +                      </includes>
    +                  </configuration>
    +              </execution>
    +          </executions>
           </plugin>
    +        <plugin>
    +            <groupId>com.github.alexcojocaru</groupId>
    +            <artifactId>elasticsearch-maven-plugin</artifactId>
    +            <!-- REPLACE THE FOLLOWING WITH THE PLUGIN VERSION YOU NEED -->
    +            <version>5.2</version>
    +            <configuration>
    +                <clusterName>elasticsearch</clusterName>
    +                <transportPort>9500</transportPort>
    +                <httpPort>9400</httpPort>
    +            </configuration>
    +            <executions>
    +                <!--
    --- End diff --
    
    If the default bindings are the ones we want, why do we repeat them below?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to