blob: 2f05b53ccd2959de498cd2132d685d190b84c42e [file] [log] [blame]
tkuhn1l6f9529de2019-02-06 11:43:14 +01001<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">
2 <modelVersion>4.0.0</modelVersion>
3 <groupId>basys.examples</groupId>
4 <artifactId>basys.examples</artifactId>
5 <version>0.0.1-SNAPSHOT</version>
tkuhn1l65068f672019-03-03 16:50:02 +01006 <packaging>jar</packaging>
7 <name>BaSys Examples</name>
8
tkuhn1l6f9529de2019-02-06 11:43:14 +01009 <repositories>
10 <repository>
11 <id>data-local</id>
12 <name>data</name>
13 <url>file://${project.basedir}/repo</url>
14 </repository>
15 </repositories>
16
17 <build>
18 <sourceDirectory></sourceDirectory>
19
20 <resources>
21 <resource>
22 <directory>src</directory>
23 <excludes>
24 <exclude>**/*.java</exclude>
25 </excludes>
26 </resource>
27 <resource>
28 <directory>servlets</directory>
29 <excludes>
30 <exclude>**/*.java</exclude>
31 </excludes>
32 </resource>
33 <resource>
34 <directory>examples</directory>
35 <excludes>
36 <exclude>**/*.java</exclude>
37 </excludes>
38 </resource>
39 <resource>
40 <directory>directory</directory>
41 <excludes>
42 <exclude>**/*.java</exclude>
43 </excludes>
44 </resource>
45 </resources>
46
47 <testSourceDirectory>
48 ${project.basedir}/examples
49 </testSourceDirectory>
50
51 <plugins>
52 <plugin>
53 <artifactId>maven-compiler-plugin</artifactId>
54 <version>3.7.0</version>
55 <configuration>
56 <source>1.8</source>
57 <target>1.8</target>
58 <compilerArgument>-proc:none</compilerArgument>
59 </configuration>
60 </plugin>
61
62 <plugin>
63 <artifactId>maven-war-plugin</artifactId>
64 <version>3.0.0</version>
65 <!-- <configuration>
66 <warSourceDirectory>WebContent</warSourceDirectory>
67 </configuration> -->
68 </plugin>
69
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-surefire-plugin</artifactId>
73 <!-- <version>2.12.1</version> -->
74 <version>2.4.2</version>
75 <configuration>
76 <excludes>
77 <exclude>**/*HTTP*</exclude>
78 <exclude>**/*TCP*</exclude>
79 </excludes>
80 </configuration>
81 </plugin>
82
83 <plugin>
84 <groupId>org.apache.maven.plugins</groupId>
85 <artifactId>maven-failsafe-plugin</artifactId>
86 <version>2.12.4</version>
87 <configuration>
88 <includes>
89 <include>**/*HTTP*</include>
90 <include>**/*TCP*</include>
91 </includes>
92 </configuration>
93 <executions>
94 <execution>
95 <goals>
96 <goal>integration-test</goal>
97 <goal>verify</goal>
98 </goals>
99 </execution>
100 </executions>
101 </plugin>
tkuhn1l65068f672019-03-03 16:50:02 +0100102
103
104 <!-- Export Jar file to /examples package -->
105 <plugin>
106 <groupId>org.apache.maven.plugins</groupId>
107 <artifactId>maven-jar-plugin</artifactId>
108 <version>2.3.1</version>
109 <configuration>
110 <outputDirectory>../../examples/basys.examples/repo/basys/examples/basys.examples/0.0.1-SNAPSHOT</outputDirectory>
111 </configuration>
112 </plugin>
113
tkuhn1l6f9529de2019-02-06 11:43:14 +0100114 </plugins>
115 </build>
116
117 <dependencies>
118
119
120 <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
121 <!-- https://mvnrepository.com/artifact/javax.ws.rs/javax.ws.rs-api -->
122 <!-- https://mvnrepository.com/artifact/org.glassfish.jersey.core/jersey-client -->
123 <!-- https://mvnrepository.com/artifact/javax.servlet/servlet-api -->
124 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina (Tomcat 8, not 9) -->
125
126 <dependency>
127 <groupId>org.json</groupId>
128 <artifactId>json</artifactId>
129 <version>20180813</version>
130 <!-- <scope>provided</scope> -->
131 </dependency>
132
133 <!-- Dependencies removed from Classpath -->
134 <!-- https://mvnrepository.com/artifact/org.postgresql/postgresql -->
135 <dependency>
136 <groupId>org.postgresql</groupId>
137 <artifactId>postgresql</artifactId>
138 <version>42.2.2</version>
139 </dependency>
140 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2.external/aopalliance-repackaged -->
141 <dependency>
142 <groupId>org.glassfish.hk2.external</groupId>
143 <artifactId>aopalliance-repackaged</artifactId>
144 <version>2.5.0-b42</version>
145 </dependency>
146 <!-- https://mvnrepository.com/artifact/javax.enterprise/cdi-api -->
147 <dependency>
148 <groupId>javax.enterprise</groupId>
149 <artifactId>cdi-api</artifactId>
150 <version>2.0</version>
151 <scope>provided</scope>
152 </dependency>
153 <!-- https://mvnrepository.com/artifact/javax.el/el-api -->
154 <dependency>
155 <groupId>javax.el</groupId>
156 <artifactId>el-api</artifactId>
157 <version>2.2</version>
158 </dependency>
159 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/hk2-api -->
160 <dependency>
161 <groupId>org.glassfish.hk2</groupId>
162 <artifactId>hk2-api</artifactId>
163 <version>2.5.0</version>
164 </dependency>
165 <!-- https://mvnrepository.com/artifact/javassist/javassist -->
166 <dependency>
167 <groupId>javassist</groupId>
168 <artifactId>javassist</artifactId>
169 <version>3.12.1.GA</version>
170 </dependency>
171 <!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
172 <!-- https://mvnrepository.com/artifact/javax.inject/javax.inject -->
173 <dependency>
174 <groupId>javax.inject</groupId>
175 <artifactId>javax.inject</artifactId>
176 <version>1</version>
177 </dependency>
178 <!-- https://mvnrepository.com/artifact/javax.json/javax.json-api -->
179 <dependency>
180 <groupId>javax.json</groupId>
181 <artifactId>javax.json-api</artifactId>
182 <version>1.0</version>
183 </dependency>
184 <!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
185 <dependency>
186 <groupId>javax.xml.bind</groupId>
187 <artifactId>jaxb-api</artifactId>
188 <version>2.3.0</version>
189 </dependency>
190 <!-- https://mvnrepository.com/artifact/org.jboss.spec.javax.interceptor/jboss-interceptors-api_1.1_spec -->
191 <dependency>
192 <groupId>org.jboss.spec.javax.interceptor</groupId>
193 <artifactId>jboss-interceptors-api_1.1_spec</artifactId>
194 <version>1.0.1.Final</version>
195 </dependency>
196 <!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
197 <dependency>
198 <groupId>javax.annotation</groupId>
199 <artifactId>javax.annotation-api</artifactId>
200 <version>1.3.2</version>
201 </dependency>
202 <!-- https://mvnrepository.com/artifact/org.osgi/org.osgi.core -->
203 <dependency>
204 <groupId>org.osgi</groupId>
205 <artifactId>org.osgi.core</artifactId>
206 <version>4.2.0</version>
207 <scope>provided</scope>
208 </dependency>
209 <!-- https://mvnrepository.com/artifact/org.glassfish.hk2/osgi-resource-locator -->
210 <dependency>
211 <groupId>org.glassfish.hk2</groupId>
212 <artifactId>osgi-resource-locator</artifactId>
213 <version>1.0.1</version>
214 </dependency>
215 <!-- https://mvnrepository.com/artifact/javax.persistence/persistence-api -->
216 <dependency>
217 <groupId>javax.persistence</groupId>
218 <artifactId>persistence-api</artifactId>
219 <version>1.0.2</version>
220 </dependency>
221 <!-- https://mvnrepository.com/artifact/javax.validation/validation-api -->
222 <dependency>
223 <groupId>javax.validation</groupId>
224 <artifactId>validation-api</artifactId>
225 <version>2.0.1.Final</version>
226 </dependency>
227 <!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
228 <dependency>
229 <groupId>javax.servlet</groupId>
230 <artifactId>javax.servlet-api</artifactId>
231 <version>3.1.0</version>
232 <scope>provided</scope>
233 </dependency>
234
235 <!-- https://mvnrepository.com/artifact/org.eclipse/yasson -->
236 <dependency>
237 <groupId>org.eclipse</groupId>
238 <artifactId>yasson</artifactId>
239 <version>1.0.2</version>
240 </dependency>
241
242 <!-- https://mvnrepository.com/artifact/javax.xml.xquery/xqj-api (Add from local repository because jar cannot be found on maven central -->
243 <dependency>
244 <groupId>javax.xml.xquery</groupId>
245 <artifactId>xqj-api</artifactId>
246 <version>1.0</version>
247 </dependency>
248
249 <!-- https://mvnrepository.com/artifact/net.sf.saxon/saxon-xqj -->
250 <!-- <dependency>
251 <groupId>net.sf.saxon</groupId>
252 <artifactId>saxon-xqj</artifactId>
253 <version>9.x</version>
254 </dependency> -->
255
256 <!-- https://mvnrepository.com/artifact/net.sf.saxon/saxon-xqj -->
257 <dependency>
258 <groupId>net.sf.saxon</groupId>
259 <artifactId>saxon-xqj</artifactId>
260 <version>8.9</version>
261 </dependency>
262
263
264 <!-- https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE -->
265 <dependency>
266 <groupId>net.sf.saxon</groupId>
267 <artifactId>Saxon-HE</artifactId>
268 <version>9.5.1-5</version>
269 </dependency>
tkuhn1l65068f672019-03-03 16:50:02 +0100270
271
272 <dependency>
273 <groupId>com.google.code.gson</groupId>
274 <artifactId>gson</artifactId>
275 <version>2.8.5</version>
276 </dependency>
tkuhn1l6f9529de2019-02-06 11:43:14 +0100277
278
279 <!-- Add BaSys SDK from local repository. Maven build of SDK must generate a jar and place it into the repository to update -->
280 <dependency>
281 <groupId>basys.sdk</groupId>
282 <artifactId>basys.sdk</artifactId>
283 <version>0.0.1-SNAPSHOT</version>
284 </dependency>
285
286 <!-- Add BaSys components from local repository. Maven build of SDK must generate a jar and place it into the repository to update -->
287 <dependency>
288 <groupId>basys.components</groupId>
289 <artifactId>basys.components</artifactId>
290 <version>0.0.1-SNAPSHOT</version>
291 </dependency>
292
293 </dependencies>
294</project>