Skip to content

Commit 0ee8658

Browse files
committed
move to new folder structure
1 parent cca10f2 commit 0ee8658

File tree

55 files changed

+8866
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+8866
-4
lines changed

legacy/pom.xml

Lines changed: 308 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,308 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>software.nhs.fhirvalidator</groupId>
7+
<artifactId>FHIRValidator</artifactId>
8+
<packaging>jar</packaging>
9+
<version>dev</version>
10+
<name>FHIRValidator</name>
11+
<licenses>
12+
<license>
13+
<name>The MIT License</name>
14+
<url>https://opensource.org/license/mit</url>
15+
</license>
16+
</licenses>
17+
<properties>
18+
<maven.compiler.source>21</maven.compiler.source>
19+
<maven.compiler.target>21</maven.compiler.target>
20+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21+
<fhir.version>5.4.2</fhir.version>
22+
<log4j.version>2.24.3</log4j.version>
23+
<fasterxml.version>2.19.0</fasterxml.version>
24+
<sonar.organization>nhsdigital</sonar.organization>
25+
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
26+
<sonar.projectKey>NHSDigital_eps-FHIR-validator-lambda</sonar.projectKey>
27+
<aspectj.version>1.9.24</aspectj.version>
28+
</properties>
29+
<dependencyManagement>
30+
<dependencies>
31+
<dependency>
32+
<groupId>org.junit</groupId>
33+
<artifactId>junit-bom</artifactId>
34+
<version>5.12.2</version>
35+
<type>pom</type>
36+
<scope>import</scope>
37+
</dependency>
38+
</dependencies>
39+
</dependencyManagement>
40+
<dependencies>
41+
<dependency>
42+
<groupId>io.github.hakky54</groupId>
43+
<artifactId>logcaptor</artifactId>
44+
<version>2.11.0</version>
45+
<scope>test</scope>
46+
</dependency>
47+
<!--The
48+
following runtime dependencies are specific to a FHIR version-->
49+
<!--Enable
50+
the dependencies for the FHIR version that you want to support -->
51+
<!-- ============ Dependencies for FHIR R4 ============ -->
52+
<dependency>
53+
<groupId>ca.uhn.hapi.fhir</groupId>
54+
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
55+
<version>${fhir.version}</version>
56+
</dependency>
57+
<dependency>
58+
<groupId>ca.uhn.hapi.fhir</groupId>
59+
<artifactId>hapi-fhir-structures-r4</artifactId>
60+
<version>${fhir.version}</version>
61+
</dependency>
62+
<dependency>
63+
<groupId>ca.uhn.hapi.fhir</groupId>
64+
<artifactId>hapi-fhir-validation</artifactId>
65+
<version>${fhir.version}</version>
66+
</dependency>
67+
<dependency>
68+
<groupId>ca.uhn.hapi.fhir</groupId>
69+
<artifactId>hapi-fhir-base</artifactId>
70+
<version>${fhir.version}</version>
71+
</dependency>
72+
73+
74+
<dependency>
75+
<groupId>com.amazonaws</groupId>
76+
<artifactId>aws-lambda-java-core</artifactId>
77+
<version>1.2.3</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>com.amazonaws</groupId>
81+
<artifactId>aws-lambda-java-events</artifactId>
82+
<version>3.15.0</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>com.amazonaws</groupId>
86+
<artifactId>aws-lambda-java-log4j2</artifactId>
87+
<version>1.6.0</version>
88+
</dependency>
89+
<dependency>
90+
<groupId>com.google.code.gson</groupId>
91+
<artifactId>gson</artifactId>
92+
<version>2.13.1</version>
93+
</dependency>
94+
<dependency>
95+
<groupId>org.apache.logging.log4j</groupId>
96+
<artifactId>log4j-api</artifactId>
97+
<version>${log4j.version}</version>
98+
</dependency>
99+
<dependency>
100+
<groupId>org.apache.logging.log4j</groupId>
101+
<artifactId>log4j-core</artifactId>
102+
<version>${log4j.version}</version>
103+
</dependency>
104+
<dependency>
105+
<groupId>org.apache.logging.log4j</groupId>
106+
<artifactId>log4j-slf4j2-impl</artifactId>
107+
<version>${log4j.version}</version>
108+
</dependency>
109+
<dependency>
110+
<groupId>org.apache.logging.log4j</groupId>
111+
<artifactId>log4j-layout-template-json</artifactId>
112+
<version>${log4j.version}</version>
113+
</dependency>
114+
<dependency>
115+
<groupId>software.amazon.lambda</groupId>
116+
<artifactId>powertools-logging</artifactId>
117+
<version>1.20.1</version>
118+
</dependency>
119+
<dependency>
120+
<groupId>org.aspectj</groupId>
121+
<artifactId>aspectjrt</artifactId>
122+
<version>${aspectj.version}</version>
123+
</dependency>
124+
<dependency>
125+
<groupId>com.fasterxml.jackson.core</groupId>
126+
<artifactId>jackson-core</artifactId>
127+
<version>${fasterxml.version}</version>
128+
</dependency>
129+
<dependency>
130+
<groupId>com.fasterxml.jackson.core</groupId>
131+
<artifactId>jackson-databind</artifactId>
132+
<version>${fasterxml.version}</version>
133+
</dependency>
134+
<dependency>
135+
<groupId>com.fasterxml.jackson.core</groupId>
136+
<artifactId>jackson-annotations</artifactId>
137+
<version>${fasterxml.version}</version>
138+
</dependency>
139+
<!-- Test Dependencies -->
140+
<dependency>
141+
<groupId>org.junit.jupiter</groupId>
142+
<artifactId>junit-jupiter</artifactId>
143+
<scope>test</scope>
144+
</dependency>
145+
<dependency>
146+
<groupId>org.junit.jupiter</groupId>
147+
<artifactId>junit-jupiter-api</artifactId>
148+
<scope>test</scope>
149+
</dependency>
150+
<dependency>
151+
<groupId>org.mockito</groupId>
152+
<artifactId>mockito-core</artifactId>
153+
<version>5.17.0</version>
154+
<scope>test</scope>
155+
</dependency>
156+
</dependencies>
157+
158+
<build>
159+
<resources>
160+
<!-- Copy the implementation guides packages from resources folder -->
161+
<resource>
162+
<directory>src/main/resources</directory>
163+
<includes>
164+
<include>log4j2.xml</include>
165+
<include>package/*</include>
166+
<include>*.tgz</include>
167+
<include>primerPayload.json</include>
168+
<include>nhs_digital.manifest.json</include>
169+
<include>uk_core.manifest.json</include>
170+
</includes>
171+
</resource>
172+
</resources>
173+
<plugins>
174+
<plugin>
175+
<groupId>se.ayoy.maven-plugins</groupId>
176+
<artifactId>ayoy-license-verifier-maven-plugin</artifactId>
177+
<version>1.2.0</version>
178+
<executions>
179+
<execution>
180+
<phase>validate</phase>
181+
<goals>
182+
<goal>verify</goal>
183+
</goals>
184+
</execution>
185+
</executions>
186+
<configuration>
187+
<licenseFile>${project.basedir}/licenses/licenses.xml</licenseFile>
188+
<excludedMissingLicensesFile>
189+
${project.basedir}/licenses/allowedMissingLicense.xml</excludedMissingLicensesFile>
190+
<failOnForbidden>true</failOnForbidden>
191+
<failOnMissing>true</failOnMissing>
192+
<failOnUnknown>true</failOnUnknown>
193+
</configuration>
194+
</plugin>
195+
<plugin>
196+
<artifactId>maven-dependency-plugin</artifactId>
197+
<version>3.8.1</version>
198+
</plugin>
199+
<plugin>
200+
<artifactId>maven-compiler-plugin</artifactId>
201+
<version>3.14.0</version>
202+
</plugin>
203+
<plugin>
204+
<artifactId>maven-surefire-plugin</artifactId>
205+
<version>3.5.3</version>
206+
</plugin>
207+
<plugin>
208+
<groupId>dev.aspectj</groupId>
209+
<artifactId>aspectj-maven-plugin</artifactId>
210+
<version>1.14.1</version>
211+
<dependencies>
212+
<dependency>
213+
<groupId>org.aspectj</groupId>
214+
<artifactId>aspectjtools</artifactId>
215+
<version>${aspectj.version}</version>
216+
</dependency>
217+
</dependencies>
218+
<configuration>
219+
<complianceLevel>21</complianceLevel> <!-- or higher -->
220+
<forceAjcCompile>true</forceAjcCompile>
221+
<sources />
222+
<weaveDirectories>
223+
<weaveDirectory>${project.build.directory}/classes</weaveDirectory>
224+
</weaveDirectories>
225+
<aspectLibraries>
226+
<aspectLibrary>
227+
<groupId>software.amazon.lambda</groupId>
228+
<artifactId>powertools-logging</artifactId>
229+
</aspectLibrary>
230+
</aspectLibraries>
231+
</configuration>
232+
<executions>
233+
<execution>
234+
<goals>
235+
<goal>compile</goal>
236+
</goals>
237+
</execution>
238+
</executions>
239+
</plugin>
240+
241+
<plugin>
242+
<groupId>org.jacoco</groupId>
243+
<artifactId>jacoco-maven-plugin</artifactId>
244+
<version>0.8.13</version>
245+
<executions>
246+
<execution>
247+
<goals>
248+
<goal>prepare-agent</goal>
249+
</goals>
250+
</execution>
251+
<!-- attached to Maven test phase -->
252+
<execution>
253+
<id>report</id>
254+
<phase>test</phase>
255+
<goals>
256+
<goal>report</goal>
257+
</goals>
258+
</execution>
259+
</executions>
260+
</plugin>
261+
<!--
262+
Using the Apache Maven Shade plugin to package the jar
263+
264+
"This plugin provides the capability to package the artifact
265+
in an uber-jar, including its dependencies and to shade - i.e. rename -
266+
the packages of some of the dependencies."
267+
268+
Link: https://maven.apache.org/plugins/maven-shade-plugin/
269+
-->
270+
<plugin>
271+
<groupId>org.apache.maven.plugins</groupId>
272+
<artifactId>maven-shade-plugin</artifactId>
273+
<version>3.6.0</version>
274+
<configuration>
275+
<createDependencyReducedPom>false</createDependencyReducedPom>
276+
</configuration>
277+
<executions>
278+
<execution>
279+
<phase>package</phase>
280+
<goals>
281+
<goal>shade</goal>
282+
</goals>
283+
<configuration>
284+
<transformers>
285+
<transformer
286+
implementation="com.github.edwgiz.maven_shade_plugin.log4j2_cache_transformer.PluginsCacheFileTransformer">
287+
</transformer>
288+
<transformer
289+
implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">
290+
<resource>META-INF/TE-050AC.SF</resource>
291+
<resource>META-INF/TE-050AC.RSA</resource>
292+
</transformer>
293+
</transformers>
294+
</configuration>
295+
</execution>
296+
</executions>
297+
<dependencies>
298+
<dependency>
299+
<groupId>com.github.edwgiz</groupId>
300+
<artifactId>maven-shade-plugin.log4j2-cachefile-transformer</artifactId>
301+
<version>2.15</version>
302+
</dependency>
303+
</dependencies>
304+
</plugin>
305+
</plugins>
306+
</build>
307+
308+
</project>

0 commit comments

Comments
 (0)