Skip to content

Commit fce7207

Browse files
weitehowenjunche
authored andcommitted
ADAP-142 WIP change API to use CompletableFuture
1 parent d3e41da commit fce7207

4 files changed

Lines changed: 345 additions & 411 deletions

File tree

pom.xml

Lines changed: 194 additions & 194 deletions
Original file line numberDiff line numberDiff line change
@@ -1,194 +1,194 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5-
<modelVersion>4.0.0</modelVersion>
6-
7-
<groupId>co.openfin</groupId>
8-
<artifactId>openfin-desktop-java-example</artifactId>
9-
<version>7.1.1</version>
10-
<packaging>jar</packaging>
11-
12-
<name>openfin-desktop-java-example</name>
13-
<description>Examples of OpenFin Java API</description>
14-
<url>http://www.openfin.co</url>
15-
16-
<properties>
17-
<user.name>[email protected]</user.name>
18-
<maven.compiler.source>1.8</maven.compiler.source>
19-
<maven.compiler.target>1.8</maven.compiler.target>
20-
<skipTests>true</skipTests>
21-
</properties>
22-
23-
<licenses>
24-
<license>
25-
<name>The MIT License (MIT)</name>
26-
<url>http://www.opensource.org/licenses/mit-license.php</url>
27-
<distribution>repo</distribution>
28-
</license>
29-
</licenses>
30-
31-
<developers>
32-
<developer>
33-
<email>[email protected]</email>
34-
<name>OpenFin</name>
35-
<url>https://openfin.co</url>
36-
<id>openfin</id>
37-
</developer>
38-
</developers>
39-
40-
<scm>
41-
<connection>scm:hg:https://github.com/openfin/java-example.git</connection>
42-
<developerConnection>scm:hg:https://github.com/openfin/java-example.git</developerConnection>
43-
<url>https://github.com/openfin/java-example.git</url>
44-
</scm>
45-
46-
<repositories>
47-
<repository>
48-
<id>oss-sonatype</id>
49-
<name>oss-sonatype</name>
50-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
51-
<snapshots>
52-
<enabled>true</enabled>
53-
</snapshots>
54-
</repository>
55-
</repositories>
56-
57-
<dependencies>
58-
<dependency>
59-
<groupId>co.openfin</groupId>
60-
<artifactId>openfin-desktop-java-adapter</artifactId>
61-
<version>7.1.2</version>
62-
</dependency>
63-
<dependency>
64-
<groupId>co.openfin</groupId>
65-
<artifactId>openfin-snap-dock</artifactId>
66-
<version>1.0.0.1</version>
67-
</dependency>
68-
<dependency>
69-
<groupId>tablelayout</groupId>
70-
<artifactId>TableLayout</artifactId>
71-
<version>20050920</version>
72-
</dependency>
73-
<dependency>
74-
<groupId>junit</groupId>
75-
<artifactId>junit</artifactId>
76-
<version>4.11</version>
77-
</dependency>
78-
<dependency>
79-
<groupId>org.hamcrest</groupId>
80-
<artifactId>hamcrest-core</artifactId>
81-
<version>1.3</version>
82-
</dependency>
83-
<dependency>
84-
<groupId>org.hamcrest</groupId>
85-
<artifactId>hamcrest-library</artifactId>
86-
<version>1.1</version>
87-
</dependency>
88-
<dependency>
89-
<groupId>org.mockito</groupId>
90-
<artifactId>mockito-core</artifactId>
91-
<version>1.9.5</version>
92-
</dependency>
93-
<dependency>
94-
<groupId>org.slf4j</groupId>
95-
<artifactId>slf4j-api</artifactId>
96-
<version>1.7.21</version>
97-
</dependency>
98-
<dependency>
99-
<groupId>org.slf4j</groupId>
100-
<artifactId>slf4j-jdk14</artifactId>
101-
<version>1.6.1</version>
102-
</dependency>
103-
<!-- to use log4j and comment out slf4j-jdk14
104-
<dependency>
105-
<groupId>org.slf4j</groupId>
106-
<artifactId>slf4j-log4j12</artifactId>
107-
<version>1.7.5</version>
108-
</dependency>
109-
<dependency>
110-
<groupId>log4j</groupId>
111-
<artifactId>log4j</artifactId>
112-
<version>1.2.17</version>
113-
</dependency>
114-
-->
115-
</dependencies>
116-
117-
<build>
118-
<plugins>
119-
<plugin>
120-
<!-- To combine all the dependencies into one jar: -->
121-
<!-- mvn assembly:assembly -DdescriptorId=jar-with-dependencies -->
122-
<!-- need to compile first since this plugin does NOT build the project -->
123-
<groupId>org.apache.maven.plugins</groupId>
124-
<artifactId>maven-assembly-plugin</artifactId>
125-
<configuration>
126-
<archive>
127-
<manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
128-
</archive>
129-
</configuration>
130-
</plugin>
131-
<plugin>
132-
<groupId>org.apache.maven.plugins</groupId>
133-
<artifactId>maven-jar-plugin</artifactId>
134-
<version>2.5</version>
135-
<configuration>
136-
<archive>
137-
<manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
138-
<manifest>
139-
<addClasspath>true</addClasspath>
140-
<mainClass>com.openfin.desktop.demo.OpenFinDesktopDemo</mainClass>
141-
</manifest>
142-
</archive>
143-
</configuration>
144-
<executions>
145-
<execution>
146-
<goals>
147-
<goal>test-jar</goal>
148-
</goals>
149-
</execution>
150-
</executions>
151-
</plugin>
152-
153-
<plugin>
154-
<groupId>org.apache.maven.plugins</groupId>
155-
<artifactId>maven-dependency-plugin</artifactId>
156-
<executions>
157-
<execution>
158-
<id>copy</id>
159-
<phase>install</phase>
160-
<goals>
161-
<goal>copy-dependencies</goal>
162-
</goals>
163-
<configuration>
164-
<outputDirectory>
165-
${project.build.directory}/
166-
</outputDirectory>
167-
</configuration>
168-
</execution>
169-
</executions>
170-
</plugin>
171-
172-
<!-- To run all tests: -->
173-
<!-- mvn -DskipTests=false -Dtest=AllTests test -->
174-
<plugin>
175-
<groupId>org.apache.maven.plugins</groupId>
176-
<artifactId>maven-surefire-plugin</artifactId>
177-
<version>2.19.1</version>
178-
<configuration>
179-
<skipTests>${skipTests}</skipTests>
180-
</configuration>
181-
</plugin>
182-
183-
</plugins>
184-
185-
<resources>
186-
<resource>
187-
<directory>src/main/resources</directory>
188-
<filtering>true</filtering>
189-
</resource>
190-
</resources>
191-
192-
</build>
193-
194-
</project>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>co.openfin</groupId>
8+
<artifactId>openfin-desktop-java-example</artifactId>
9+
<version>7.2.1</version>
10+
<packaging>jar</packaging>
11+
12+
<name>openfin-desktop-java-example</name>
13+
<description>Examples of OpenFin Java API</description>
14+
<url>http://www.openfin.co</url>
15+
16+
<properties>
17+
<user.name>[email protected]</user.name>
18+
<maven.compiler.source>1.8</maven.compiler.source>
19+
<maven.compiler.target>1.8</maven.compiler.target>
20+
<skipTests>true</skipTests>
21+
</properties>
22+
23+
<licenses>
24+
<license>
25+
<name>The MIT License (MIT)</name>
26+
<url>http://www.opensource.org/licenses/mit-license.php</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
30+
31+
<developers>
32+
<developer>
33+
<email>[email protected]</email>
34+
<name>OpenFin</name>
35+
<url>https://openfin.co</url>
36+
<id>openfin</id>
37+
</developer>
38+
</developers>
39+
40+
<scm>
41+
<connection>scm:hg:https://github.com/openfin/java-example.git</connection>
42+
<developerConnection>scm:hg:https://github.com/openfin/java-example.git</developerConnection>
43+
<url>https://github.com/openfin/java-example.git</url>
44+
</scm>
45+
46+
<repositories>
47+
<repository>
48+
<id>oss-sonatype</id>
49+
<name>oss-sonatype</name>
50+
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
51+
<snapshots>
52+
<enabled>true</enabled>
53+
</snapshots>
54+
</repository>
55+
</repositories>
56+
57+
<dependencies>
58+
<dependency>
59+
<groupId>co.openfin</groupId>
60+
<artifactId>openfin-desktop-java-adapter</artifactId>
61+
<version>7.2.1-SNAPSHOT</version>
62+
</dependency>
63+
<dependency>
64+
<groupId>co.openfin</groupId>
65+
<artifactId>openfin-snap-dock</artifactId>
66+
<version>1.0.0.1</version>
67+
</dependency>
68+
<dependency>
69+
<groupId>tablelayout</groupId>
70+
<artifactId>TableLayout</artifactId>
71+
<version>20050920</version>
72+
</dependency>
73+
<dependency>
74+
<groupId>junit</groupId>
75+
<artifactId>junit</artifactId>
76+
<version>4.11</version>
77+
</dependency>
78+
<dependency>
79+
<groupId>org.hamcrest</groupId>
80+
<artifactId>hamcrest-core</artifactId>
81+
<version>1.3</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>org.hamcrest</groupId>
85+
<artifactId>hamcrest-library</artifactId>
86+
<version>1.1</version>
87+
</dependency>
88+
<dependency>
89+
<groupId>org.mockito</groupId>
90+
<artifactId>mockito-core</artifactId>
91+
<version>1.9.5</version>
92+
</dependency>
93+
<dependency>
94+
<groupId>org.slf4j</groupId>
95+
<artifactId>slf4j-api</artifactId>
96+
<version>1.7.21</version>
97+
</dependency>
98+
<dependency>
99+
<groupId>org.slf4j</groupId>
100+
<artifactId>slf4j-jdk14</artifactId>
101+
<version>1.6.1</version>
102+
</dependency>
103+
<!-- to use log4j and comment out slf4j-jdk14
104+
<dependency>
105+
<groupId>org.slf4j</groupId>
106+
<artifactId>slf4j-log4j12</artifactId>
107+
<version>1.7.5</version>
108+
</dependency>
109+
<dependency>
110+
<groupId>log4j</groupId>
111+
<artifactId>log4j</artifactId>
112+
<version>1.2.17</version>
113+
</dependency>
114+
-->
115+
</dependencies>
116+
117+
<build>
118+
<plugins>
119+
<plugin>
120+
<!-- To combine all the dependencies into one jar: -->
121+
<!-- mvn assembly:assembly -DdescriptorId=jar-with-dependencies -->
122+
<!-- need to compile first since this plugin does NOT build the project -->
123+
<groupId>org.apache.maven.plugins</groupId>
124+
<artifactId>maven-assembly-plugin</artifactId>
125+
<configuration>
126+
<archive>
127+
<manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
128+
</archive>
129+
</configuration>
130+
</plugin>
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-jar-plugin</artifactId>
134+
<version>2.5</version>
135+
<configuration>
136+
<archive>
137+
<manifestFile>${basedir}/target/classes/META-INF/MANIFEST.MF</manifestFile>
138+
<manifest>
139+
<addClasspath>true</addClasspath>
140+
<mainClass>com.openfin.desktop.demo.OpenFinDesktopDemo</mainClass>
141+
</manifest>
142+
</archive>
143+
</configuration>
144+
<executions>
145+
<execution>
146+
<goals>
147+
<goal>test-jar</goal>
148+
</goals>
149+
</execution>
150+
</executions>
151+
</plugin>
152+
153+
<plugin>
154+
<groupId>org.apache.maven.plugins</groupId>
155+
<artifactId>maven-dependency-plugin</artifactId>
156+
<executions>
157+
<execution>
158+
<id>copy</id>
159+
<phase>install</phase>
160+
<goals>
161+
<goal>copy-dependencies</goal>
162+
</goals>
163+
<configuration>
164+
<outputDirectory>
165+
${project.build.directory}/
166+
</outputDirectory>
167+
</configuration>
168+
</execution>
169+
</executions>
170+
</plugin>
171+
172+
<!-- To run all tests: -->
173+
<!-- mvn -DskipTests=false -Dtest=AllTests test -->
174+
<plugin>
175+
<groupId>org.apache.maven.plugins</groupId>
176+
<artifactId>maven-surefire-plugin</artifactId>
177+
<version>2.19.1</version>
178+
<configuration>
179+
<skipTests>${skipTests}</skipTests>
180+
</configuration>
181+
</plugin>
182+
183+
</plugins>
184+
185+
<resources>
186+
<resource>
187+
<directory>src/main/resources</directory>
188+
<filtering>true</filtering>
189+
</resource>
190+
</resources>
191+
192+
</build>
193+
194+
</project>

0 commit comments

Comments
 (0)