Add default and S3 profile to hive-hadoop2 module
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>default</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
<build>
<plugins>
<plugin>
</plugin>
</plugins>
</build>
-
- <profiles>
+ </profile>
<profile>
<id>test-hive-hadoop2</id>
<build>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <excludedGroups>hive-s3</excludedGroups>
+ <groups>hive</groups>
+ <systemProperties>
+ <hive.hadoop2.metastoreHost>localhost</hive.hadoop2.metastoreHost>
+ <hive.hadoop2.metastorePort>9083</hive.hadoop2.metastorePort>
+ <hive.hadoop2.databaseName>default</hive.hadoop2.databaseName>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>test-hive-hadoop2-s3</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <groups>hive-s3</groups>
<systemProperties>
<hive.hadoop2.metastoreHost>localhost</hive.hadoop2.metastoreHost>
<hive.hadoop2.metastorePort>9083</hive.hadoop2.metastorePort>
