-
Notifications
You must be signed in to change notification settings - Fork 2
/
pom.xml
170 lines (162 loc) · 4.81 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>uni-registrar-driver-did-web</artifactId>
<packaging>${packaging.type}</packaging>
<name>uni-registrar-driver-did-web</name>
<version>0.5-SNAPSHOT</version>
<parent>
<groupId>decentralized-identity</groupId>
<artifactId>uni-registrar</artifactId>
<version>0.3.0</version>
</parent>
<repositories>
<repository>
<id>danubetech-maven-snapshots</id>
<url>https://repo.danubetech.com/repository/maven-snapshots/</url>
</repository>
<repository>
<id>danubetech-maven-releases</id>
<url>https://repo.danubetech.com/repository/maven-releases/</url>
</repository>
</repositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>11</java.version>
<junit-jupiter.version>5.7.0</junit-jupiter.version>
<google.guava.version>30.1.1-jre</google.guava.version>
<java-multibase.version>v1.0.0</java-multibase.version>
<commons-io.version>2.8.0</commons-io.version>
</properties>
<profiles>
<profile>
<id>ci</id>
<properties><packaging.type>jar</packaging.type></properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>enforce-no-snapshots</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireReleaseDeps>
<message>No Snapshots Allowed!</message>
</requireReleaseDeps>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<packaging.type>jar</packaging.type>
</properties>
</profile>
<profile>
<id>war</id>
<properties>
<packaging.type>war</packaging.type>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<configuration>
<jettyConfig>
${basedir}/src/test/resources/jetty.xml
</jettyConfig>
<useTestClasspath>true</useTestClasspath>
<systemProperties>
<systemProperty>
<name>jetty.port</name>
<value>9080</value>
</systemProperty>
<systemProperty>
<name>log4j2.configurationFile</name>
<value>file:${basedir}/src/resources/log4j2.xml</value>
</systemProperty>
</systemProperties>
<webApp>
<contextPath>/</contextPath>
<jettyEnvXml>
${basedir}/src/test/resources/jetty-env.xml
</jettyEnvXml>
<webInfIncludeJarPattern>^$</webInfIncludeJarPattern>
<containerIncludeJarPattern>^$</containerIncludeJarPattern>
<throwUnavailableOnStartupException>true</throwUnavailableOnStartupException>
</webApp>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
</dependency>
<dependency>
<groupId>decentralized-identity</groupId>
<artifactId>uni-registrar-driver</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>decentralized-identity</groupId>
<artifactId>did-common-java</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${google.guava.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>