|
11 | 11 | <parent> |
12 | 12 | <groupId>edu.tamu.weaver</groupId> |
13 | 13 | <artifactId>webservice-parent</artifactId> |
14 | | - <version>2.0.2</version> |
| 14 | + <version>2.1.1-RC10</version> |
15 | 15 | </parent> |
16 | 16 |
|
17 | 17 | <properties> |
18 | | - <log4j2.version>2.16.0</log4j2.version> |
| 18 | + <java.version>11</java.version> |
| 19 | + <log4j2.version>2.16.0</log4j2.version> |
| 20 | + <maven.packaging>war</maven.packaging> |
| 21 | + <maven-plugins.version>2.22.2</maven-plugins.version> |
19 | 22 | </properties> |
20 | 23 |
|
21 | | - <packaging>war</packaging> |
| 24 | + <packaging>${maven.packaging}</packaging> |
| 25 | + |
| 26 | + <profiles> |
| 27 | + <profile> |
| 28 | + <id>war</id> |
| 29 | + <properties> |
| 30 | + <maven.packaging>war</maven.packaging> |
| 31 | + </properties> |
| 32 | + </profile> |
| 33 | + <profile> |
| 34 | + <id>jar</id> |
| 35 | + <properties> |
| 36 | + <maven.packaging>jar</maven.packaging> |
| 37 | + </properties> |
| 38 | + </profile> |
| 39 | + </profiles> |
22 | 40 |
|
23 | 41 | <dependencies> |
24 | 42 |
|
25 | 43 | <dependency> |
26 | 44 | <groupId>edu.tamu.weaver</groupId> |
27 | 45 | <artifactId>auth</artifactId> |
28 | | - <version>2.0.2</version> |
| 46 | + <version>${project.parent.version}</version> |
29 | 47 | </dependency> |
30 | 48 |
|
31 | 49 | <dependency> |
32 | 50 | <groupId>edu.tamu.weaver</groupId> |
33 | 51 | <artifactId>token-provider</artifactId> |
34 | | - <version>2.0.2</version> |
| 52 | + <version>${project.parent.version}</version> |
35 | 53 | </dependency> |
36 | 54 |
|
37 | 55 | <dependency> |
38 | 56 | <groupId>edu.tamu.weaver</groupId> |
39 | 57 | <artifactId>validation</artifactId> |
40 | | - <version>2.0.2</version> |
| 58 | + <version>${project.parent.version}</version> |
41 | 59 | </dependency> |
42 | 60 |
|
43 | 61 | <dependency> |
44 | 62 | <groupId>edu.tamu.weaver</groupId> |
45 | 63 | <artifactId>reporting</artifactId> |
46 | | - <version>2.0.2</version> |
47 | | - </dependency> |
48 | | - |
49 | | - <dependency> |
50 | | - <groupId>org.postgresql</groupId> |
51 | | - <artifactId>postgresql</artifactId> |
| 64 | + <version>${project.parent.version}</version> |
52 | 65 | </dependency> |
53 | 66 |
|
54 | 67 | <dependency> |
|
81 | 94 |
|
82 | 95 | <dependency> |
83 | 96 | <groupId>org.mockito</groupId> |
84 | | - <artifactId>mockito-all</artifactId> |
85 | | - <version>1.10.19</version> |
| 97 | + <artifactId>mockito-core</artifactId> |
86 | 98 | <scope>test</scope> |
87 | 99 | </dependency> |
88 | 100 |
|
89 | | - </dependencies> |
| 101 | + <dependency> |
| 102 | + <groupId>org.mockito</groupId> |
| 103 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 104 | + <scope>test</scope> |
| 105 | + </dependency> |
90 | 106 |
|
| 107 | + </dependencies> |
| 108 | + |
91 | 109 | <build> |
92 | 110 | <finalName>ROOT</finalName> |
93 | 111 | <plugins> |
94 | 112 | <plugin> |
95 | 113 | <groupId>org.springframework.boot</groupId> |
96 | 114 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 115 | + <executions> |
| 116 | + <execution> |
| 117 | + <goals> |
| 118 | + <goal>repackage</goal> |
| 119 | + </goals> |
| 120 | + </execution> |
| 121 | + </executions> |
97 | 122 | </plugin> |
| 123 | + |
98 | 124 | <plugin> |
99 | 125 | <groupId>org.apache.maven.plugins</groupId> |
100 | 126 | <artifactId>maven-war-plugin</artifactId> |
101 | | - <version>3.2.0</version> |
| 127 | + <version>3.2.2</version> |
102 | 128 | <configuration> |
103 | 129 | <failOnMissingWebXml>false</failOnMissingWebXml> |
104 | 130 | </configuration> |
105 | 131 | </plugin> |
106 | | - <plugin> |
107 | | - <groupId>org.codehaus.mojo</groupId> |
108 | | - <artifactId>cobertura-maven-plugin</artifactId> |
109 | | - <configuration> |
110 | | - <quiet>true</quiet> |
111 | | - <instrumentation> |
112 | | - <ignoreTrivial>true</ignoreTrivial> |
113 | | - <ignores> |
114 | | - <ignore>java.util.logging.*</ignore> |
115 | | - </ignores> |
116 | | - </instrumentation> |
117 | | - <formats> |
118 | | - <format>html</format> |
119 | | - <format>xml</format> |
120 | | - </formats> |
121 | | - <aggregate>true</aggregate> |
122 | | - </configuration> |
123 | | - </plugin> |
| 132 | + |
124 | 133 | <plugin> |
125 | 134 | <groupId>org.jacoco</groupId> |
126 | 135 | <artifactId>jacoco-maven-plugin</artifactId> |
|
133 | 142 | </execution> |
134 | 143 | </executions> |
135 | 144 | </plugin> |
| 145 | + |
136 | 146 | <plugin> |
137 | 147 | <groupId>org.eluder.coveralls</groupId> |
138 | 148 | <artifactId>coveralls-maven-plugin</artifactId> |
139 | 149 | <configuration> |
140 | 150 | <repoToken></repoToken> |
141 | 151 | </configuration> |
| 152 | + <dependencies> |
| 153 | + <dependency> |
| 154 | + <groupId>javax.xml.bind</groupId> |
| 155 | + <artifactId>jaxb-api</artifactId> |
| 156 | + <version>2.3.1</version> |
| 157 | + </dependency> |
| 158 | + </dependencies> |
| 159 | + </plugin> |
| 160 | + |
| 161 | + <plugin> |
| 162 | + <groupId>org.apache.maven.plugins</groupId> |
| 163 | + <artifactId>maven-surefire-plugin</artifactId> |
| 164 | + <version>${maven-plugins.version}</version> |
142 | 165 | </plugin> |
| 166 | + |
| 167 | + <plugin> |
| 168 | + <groupId>org.apache.maven.plugins</groupId> |
| 169 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 170 | + <version>${maven-plugins.version}</version> |
| 171 | + </plugin> |
| 172 | + |
143 | 173 | </plugins> |
| 174 | + |
| 175 | + <resources> |
| 176 | + <resource> |
| 177 | + <directory>src/main/resources</directory> |
| 178 | + <filtering>true</filtering> |
| 179 | + <includes> |
| 180 | + <include>application.properties</include> |
| 181 | + </includes> |
| 182 | + <excludes> |
| 183 | + <exclude>**/*.jks</exclude> |
| 184 | + </excludes> |
| 185 | + </resource> |
| 186 | + <resource> |
| 187 | + <directory>src/main/resources</directory> |
| 188 | + </resource> |
| 189 | + </resources> |
| 190 | + |
144 | 191 | </build> |
| 192 | + |
145 | 193 | <reporting> |
146 | | - <outputDirectory>${project.build.directory}/site</outputDirectory> |
147 | 194 | <plugins> |
148 | 195 | <plugin> |
149 | 196 | <groupId>org.apache.maven.plugins</groupId> |
150 | 197 | <artifactId>maven-project-info-reports-plugin</artifactId> |
151 | | - <version>2.7</version> |
| 198 | + <version>3.3.0</version> |
152 | 199 | <configuration> |
153 | 200 | <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
154 | 201 | </configuration> |
|
0 commit comments