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 >
1+ <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 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
2+ <modelVersion >4.0.0</modelVersion >
3+ <groupId >co.openfin</groupId >
4+ <artifactId >openfin-java-example</artifactId >
5+ <version >1.0-SNAPSHOT</version >
6+ <properties >
7+ <
user .name>
[email protected] </
user .name>
8+ <maven .compiler.release>11</maven .compiler.release>
9+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
10+ </properties >
611
7- <groupId >co.openfin</groupId >
8- <artifactId >openfin-desktop-java-example</artifactId >
9- <version >7.1.1</version >
10- <packaging >jar</packaging >
12+ <dependencies >
13+ <dependency >
14+ <groupId >co.openfin</groupId >
15+ <artifactId >openfin-java-adapter</artifactId >
16+ <version >11.0.1-SNAPSHOT</version >
17+ </dependency >
18+ <dependency >
19+ <groupId >ch.qos.logback</groupId >
20+ <artifactId >logback-classic</artifactId >
21+ <version >1.2.3</version >
22+ </dependency >
23+ <dependency >
24+ <groupId >org.eclipse</groupId >
25+ <artifactId >yasson</artifactId >
26+ <version >1.0.8</version >
27+ </dependency >
28+ <dependency >
29+ <groupId >org.glassfish</groupId >
30+ <artifactId >javax.json</artifactId >
31+ <version >1.1.4</version >
32+ </dependency >
33+ </dependencies >
1134
12- <name >openfin-desktop-java-example</name >
13- <description >Examples of OpenFin Java API</description >
14- <url >http://www.openfin.co</url >
35+ <build >
36+ <plugins >
37+ <plugin >
38+ <groupId >org.apache.maven.plugins</groupId >
39+ <artifactId >maven-compiler-plugin</artifactId >
40+ <version >3.8.1</version >
41+ </plugin >
42+ <plugin >
43+ <groupId >org.apache.maven.plugins</groupId >
44+ <artifactId >maven-dependency-plugin</artifactId >
45+ <version >3.1.2</version >
46+ <executions >
47+ <execution >
48+ <phase >install</phase >
49+ <goals >
50+ <goal >copy-dependencies</goal >
51+ </goals >
52+ <configuration >
53+ <outputDirectory >${project.build.directory} /lib</outputDirectory >
54+ <useBaseVersion >false</useBaseVersion >
55+ </configuration >
56+ </execution >
57+ </executions >
58+ </plugin >
59+ </plugins >
60+ </build >
1561
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- 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 >8.0.11-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 >
62+ <repositories >
63+ <repository >
64+ <id >oss.sonatype.org-snapshot</id >
65+ <url >http://oss.sonatype.org/content/repositories/snapshots</url >
66+ <releases >
67+ <enabled >false</enabled >
68+ </releases >
69+ <snapshots >
70+ <enabled >true</enabled >
71+ </snapshots >
72+ </repository >
73+ </repositories >
74+ </project >
0 commit comments