* Flatten child poms to remove the need to publish the parent pom
* Add surefire plugin to kusto-data to run unit-tests
* change key file to 128bit to avoid the need for JCE
This commit is contained in:
Tamir Kamara 2019-03-11 23:21:22 +02:00 коммит произвёл GitHub
Родитель ff4f4cf3f7
Коммит d58292a76f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 107 добавлений и 71 удалений

4
.gitignore поставляемый
Просмотреть файл

@ -22,8 +22,6 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
target/
out/
*.logs
@ -42,9 +40,11 @@ pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
.flattened-pom.xml
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
.mvn/wrapper/maven-wrapper.jar

Просмотреть файл

@ -2,14 +2,15 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-data</artifactId>
<parent>
<artifactId>kusto-client</artifactId>
<groupId>com.microsoft.azure.kusto</groupId>
<version>1.0.0-BETA-03</version>
<!--suppress MavenPropertyInParent -->
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-data</artifactId>
<build>
<plugins>
@ -23,7 +24,9 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<manifest>
@ -46,6 +49,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<excludes>
</excludes>
</configuration>
<!-- JUnit 5 Support -->
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>

Просмотреть файл

@ -1,54 +1,28 @@
-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIJnzBJBgkqhkiG9w0BBQ0wPDAbBgkqhkiG9w0BBQwwDgQILy/MHFTN+KgCAggA
MB0GCWCGSAFlAwQBKgQQtaMz6Wc/4hCrDD56TyNt6QSCCVAM5H1M00ocH7wM+2U1
yzo0JeGwjB5g7gGDw/5x/oCxMUmiVxskcI3BtB8Psx0JNaR07UTeFWc9qDJXG5o8
UNd+PHy+SKgMGwOpzKQJb/0NY0o80vLSZgsi6Xg1M01LAqYFwVnTxbjVRJKwLSbn
XGwFaaAujJtwCHX6rUHgJYE3O6k4ozFju2XP2S8KCUP9o0hu1s0Nl4L+gHRWrfyV
pWAVNkyJCY9QZhB02njdFlTNXHBDuo5I5j+Voi0Ef02fBrEpxeKU8xPCeuhvNNjZ
LLSOAKweoUmufurp2wTj939dq6uvnBSHrqcJBcc+Uc+5aUuRUr3gSQe6ZA4LsO3k
AtvsYIvawiXx4ETD94n/Pu/7tAQG/9LvQJdFxN+BMCvDLmzgjG+i0XjXIHAmsqGT
600tI9XOsfIurZpZCySwKOAIHWkxS/afcI57Etq2KQdAUHmp5fZr/Zn2iO9+qy8d
I2jz/aSF76Kmi3+xB3Kppj00fwcMEDPlbVq+zA0KAsUxxDp3yIhkRttoubVPMfw/
dkR8lsvF+RORMropLXgny6Bt8KQDXdk/nX1n8ZcTaYt32AAAaJWZz7OmSUA9458Y
UV8YpoV0oH7lrQ2flLM/sfqOXNdfrWpxXBvTQTNc8V7OKXsGTvh6OK12dqvA8tnd
/84Qcfy0Haa63bsUr/O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
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-ingest</artifactId>
<parent>
<artifactId>kusto-client</artifactId>
<groupId>com.microsoft.azure.kusto</groupId>
<version>1.0.0-BETA-03</version>
<!--suppress MavenPropertyInParent -->
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-ingest</artifactId>
<build>
<plugins>
@ -23,7 +24,9 @@
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<manifest>
@ -47,11 +50,11 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<excludes>
<!--<exclude>**/ResourceManagerTest*</exclude>-->
</excludes>
</configuration>
<!-- JUnit 5 Support -->

38
pom.xml
Просмотреть файл

@ -6,7 +6,7 @@
<groupId>com.microsoft.azure.kusto</groupId>
<artifactId>kusto-client</artifactId>
<packaging>pom</packaging>
<version>1.0.0-BETA-03</version>
<version>${revision}</version>
<scm>
<url>scm:git:https://github.com/Azure/azure-kusto-java</url>
@ -29,15 +29,17 @@
</developers>
<properties>
<revision>1.0.0-BETA-04</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<slf4j.version>1.8.0-beta2</slf4j.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<maven-assembly-plugin.version>3.1.1</maven-assembly-plugin.version>
<maven-surefire-plugin.version>2.22.1</maven-surefire-plugin.version>
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<junit.version>5.2.0</junit.version>
<mockito.version>2.23.4</mockito.version>
<junit.version>5.4.0</junit.version>
<mockito.version>2.24.0</mockito.version>
</properties>
<modules>
@ -46,4 +48,34 @@
<module>samples</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.1.0</version>
<configuration>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<!-- enable flattening -->
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

Просмотреть файл

@ -2,14 +2,16 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-samples</artifactId>
<parent>
<artifactId>kusto-client</artifactId>
<groupId>com.microsoft.azure.kusto</groupId>
<version>1.0.0-BETA-03</version>
<!--suppress MavenPropertyInParent -->
<version>${revision}</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>kusto-samples</artifactId>
<build>
<plugins>