This is an automated email from the ASF dual-hosted git repository. xingtanzjr pushed a commit to branch fast_write_test_with_guoneng in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 629970a26ac441d3f962aa828cbae18d1d1200e9 Author: Jinrui.Zhang <[email protected]> AuthorDate: Mon Apr 24 17:23:03 2023 +0800 add pom to test client --- example/session/pom.xml | 48 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/example/session/pom.xml b/example/session/pom.xml index 6bf75ac6d6..54dea4cba9 100644 --- a/example/session/pom.xml +++ b/example/session/pom.xml @@ -29,15 +29,57 @@ <artifactId>client-example</artifactId> <name>client-example</name> <properties> + <maven.compiler.source>8</maven.compiler.source> + <maven.compiler.target>8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> </properties> <dependencies> <dependency> <groupId>org.apache.iotdb</groupId> <artifactId>iotdb-session</artifactId> - <version>${project.version}</version> + <version>1.2.0-SNAPSHOT</version> + <scope>compile</scope> </dependency> </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + </plugins> + </build> + <profiles> + <profile> + <id>get-jar-with-dependencies</id> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.0</version> + <configuration> + <descriptorRefs> + <descriptorRef>jar-with-dependencies</descriptorRef> + </descriptorRefs> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <!-- this is used for inheritance merges --> + <phase>package</phase> + <!-- bind to the packaging phase --> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>
