Github user anujgandharv commented on a diff in the pull request: https://github.com/apache/jena/pull/227#discussion_r107701838 --- Diff: jena-text/pom.xml --- @@ -112,11 +141,73 @@ <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> + <!--<excludedGroups>org.apache.jena.query.text.IntegrationTest</excludedGroups>--> </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> + <tcpPort>9300</tcpPort> --- End diff -- Just found a bug in the Maven ES Plugin. The TCP port is ALWAYS defaulted to 9300 no matter whether you specify it as config or not. Thus reverting back the TCP port to 9300
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---