|
51 | 51 | <validation-api.version>1.1.0.Final</validation-api.version> |
52 | 52 | <mapstruct.version>1.2.0.Final</mapstruct.version> |
53 | 53 |
|
54 | | - <arcade-connectors.version>1.0.3</arcade-connectors.version> |
| 54 | + <arcade-connectors.version>1.0.4</arcade-connectors.version> |
55 | 55 | <!-- Plugin versions --> |
56 | 56 | <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> |
57 | 57 | <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version> |
|
1077 | 1077 | </profile> |
1078 | 1078 | <profile> |
1079 | 1079 | <id>prod</id> |
1080 | | - <dependencies> |
1081 | | - <dependency> |
1082 | | - <groupId>org.springframework.boot</groupId> |
1083 | | - <artifactId>spring-boot-starter-undertow</artifactId> |
1084 | | - </dependency> |
1085 | | - </dependencies> |
1086 | | - <build> |
1087 | | - <plugins> |
1088 | | - <plugin> |
1089 | | - <artifactId>maven-clean-plugin</artifactId> |
1090 | | - <version>${maven-clean-plugin.version}</version> |
1091 | | - <configuration> |
1092 | | - <filesets> |
1093 | | - <fileset> |
1094 | | - <directory>target/www/</directory> |
1095 | | - </fileset> |
1096 | | - </filesets> |
1097 | | - </configuration> |
1098 | | - </plugin> |
1099 | | - <plugin> |
1100 | | - <groupId>org.apache.maven.plugins</groupId> |
1101 | | - <artifactId>maven-war-plugin</artifactId> |
1102 | | - <version>${maven-war-plugin.version}</version> |
1103 | | - <configuration> |
1104 | | - <failOnMissingWebXml>false</failOnMissingWebXml> |
1105 | | - <warSourceDirectory>target/www/</warSourceDirectory> |
1106 | | - <webResources> |
1107 | | - <resource> |
1108 | | - <directory>src/main/webapp</directory> |
1109 | | - <includes> |
1110 | | - <include>WEB-INF/**</include> |
1111 | | - </includes> |
1112 | | - </resource> |
1113 | | - </webResources> |
1114 | | - </configuration> |
1115 | | - </plugin> |
1116 | | - <plugin> |
1117 | | - <groupId>org.springframework.boot</groupId> |
1118 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
1119 | | - <version>${spring-boot.version}</version> |
1120 | | - <configuration> |
1121 | | - <mainClass>${start-class}</mainClass> |
1122 | | - <executable>true</executable> |
1123 | | - </configuration> |
1124 | | - <executions> |
1125 | | - <execution> |
1126 | | - <goals> |
1127 | | - <goal>build-info</goal> |
1128 | | - </goals> |
1129 | | - </execution> |
1130 | | - </executions> |
1131 | | - </plugin> |
1132 | | - <plugin> |
1133 | | - <groupId>com.github.eirslett</groupId> |
1134 | | - <artifactId>frontend-maven-plugin</artifactId> |
1135 | | - <version>${frontend-maven-plugin.version}</version> |
1136 | | - <executions> |
1137 | | - <execution> |
1138 | | - <id>install node and yarn</id> |
1139 | | - <goals> |
1140 | | - <goal>install-node-and-yarn</goal> |
1141 | | - </goals> |
1142 | | - <configuration> |
1143 | | - <nodeVersion>${node.version}</nodeVersion> |
1144 | | - <yarnVersion>${yarn.version}</yarnVersion> |
1145 | | - </configuration> |
1146 | | - </execution> |
1147 | | - <execution> |
1148 | | - <id>yarn install</id> |
1149 | | - <goals> |
1150 | | - <goal>yarn</goal> |
1151 | | - </goals> |
1152 | | - <configuration> |
1153 | | - <arguments>install --force</arguments> |
1154 | | - </configuration> |
1155 | | - </execution> |
1156 | | - <execution> |
1157 | | - <id>webpack build test</id> |
1158 | | - <goals> |
1159 | | - <goal>yarn</goal> |
1160 | | - </goals> |
1161 | | - <phase>test</phase> |
1162 | | - <configuration> |
1163 | | - <arguments>run webpack:test</arguments> |
1164 | | - <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven> |
1165 | | - </configuration> |
1166 | | - </execution> |
1167 | | - <execution> |
1168 | | - <id>webpack build prod</id> |
1169 | | - <goals> |
1170 | | - <goal>yarn</goal> |
1171 | | - </goals> |
1172 | | - <phase>generate-resources</phase> |
1173 | | - <configuration> |
1174 | | - <arguments>run webpack:prod</arguments> |
1175 | | - <yarnInheritsProxyConfigFromMaven>false</yarnInheritsProxyConfigFromMaven> |
1176 | | - </configuration> |
1177 | | - </execution> |
1178 | | - </executions> |
1179 | | - </plugin> |
1180 | | - <plugin> |
1181 | | - <groupId>pl.project13.maven</groupId> |
1182 | | - <artifactId>git-commit-id-plugin</artifactId> |
1183 | | - <version>2.2.6</version> |
1184 | | - <executions> |
1185 | | - <execution> |
1186 | | - <goals> |
1187 | | - <goal>revision</goal> |
1188 | | - </goals> |
1189 | | - </execution> |
1190 | | - </executions> |
1191 | | - <configuration> |
1192 | | - <failOnNoGitDirectory>false</failOnNoGitDirectory> |
1193 | | - <generateGitPropertiesFile>true</generateGitPropertiesFile> |
1194 | | - <includeOnlyProperties> |
1195 | | - <includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty> |
1196 | | - <includeOnlyProperty>^git.commit.id.describe$</includeOnlyProperty> |
1197 | | - <includeOnlyProperty>^git.branch$</includeOnlyProperty> |
1198 | | - </includeOnlyProperties> |
1199 | | - </configuration> |
1200 | | - </plugin> |
1201 | | - |
1202 | | - <plugin> |
1203 | | - <groupId>com.spotify</groupId> |
1204 | | - <artifactId>dockerfile-maven-plugin</artifactId> |
1205 | | - <version>${dockerfile-maven-plugin.version}</version> |
1206 | | - <executions> |
1207 | | - <execution> |
1208 | | - <id>default</id> |
1209 | | - <phase>package</phase> |
1210 | | - <goals> |
1211 | | - <goal>build</goal> |
1212 | | - <goal>tag</goal> |
1213 | | - </goals> |
1214 | | - <configuration> |
1215 | | - <tag>latest</tag> |
1216 | | - </configuration> |
1217 | | - </execution> |
1218 | | - <execution> |
1219 | | - <id>tag-version</id> |
1220 | | - <phase>package</phase> |
1221 | | - <goals> |
1222 | | - <goal>tag</goal> |
1223 | | - </goals> |
1224 | | - <configuration> |
1225 | | - <tag>${project.version}-${maven.build.timestamp}</tag> |
1226 | | - </configuration> |
1227 | | - </execution> |
1228 | | - <execution> |
1229 | | - <id>deploy</id> |
1230 | | - <phase>deploy</phase> |
1231 | | - <goals> |
1232 | | - <goal>push</goal> |
1233 | | - </goals> |
1234 | | - </execution> |
1235 | | - </executions> |
1236 | | - <configuration> |
1237 | | - <repository>docker.io/arcadeanalytics/arcadeanalytics</repository> |
1238 | | - <contextDirectory>${project.build.directory}</contextDirectory> |
1239 | | - <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
1240 | | - |
1241 | | - </configuration> |
1242 | | - </plugin> |
1243 | | - |
1244 | | - |
1245 | | - </plugins> |
1246 | | - </build> |
1247 | | - <properties> |
1248 | | - <!-- default Spring profiles --> |
1249 | | - <spring.profiles.active>prod${profile.swagger}${profile.no-liquibase}</spring.profiles.active> |
1250 | | - </properties> |
1251 | | - </profile> |
1252 | | - <profile> |
1253 | | - <id>prod-single</id> |
1254 | 1080 | <dependencies> |
1255 | 1081 | <dependency> |
1256 | 1082 | <groupId>org.springframework.boot</groupId> |
|
1262 | 1088 | </dependency> |
1263 | 1089 | </dependencies> |
1264 | 1090 | <build> |
1265 | | - <finalName>${project.artifactId}-single-${project.version}</finalName> |
1266 | 1091 | <plugins> |
1267 | 1092 | <plugin> |
1268 | 1093 | <artifactId>maven-clean-plugin</artifactId> |
|
1377 | 1202 | </includeOnlyProperties> |
1378 | 1203 | </configuration> |
1379 | 1204 | </plugin> |
| 1205 | + |
1380 | 1206 | <plugin> |
1381 | 1207 | <groupId>com.spotify</groupId> |
1382 | 1208 | <artifactId>dockerfile-maven-plugin</artifactId> |
|
1400 | 1226 | <goal>tag</goal> |
1401 | 1227 | </goals> |
1402 | 1228 | <configuration> |
1403 | | - <tag>${project.version}-${maven.build.timestamp}</tag> |
| 1229 | + <tag>${project.version}</tag> |
1404 | 1230 | </configuration> |
1405 | 1231 | </execution> |
1406 | 1232 | <execution> |
|
1412 | 1238 | </execution> |
1413 | 1239 | </executions> |
1414 | 1240 | <configuration> |
1415 | | - <repository>docker.io/arcadeanalytics/arcadeanalytics-single</repository> |
| 1241 | + <repository>docker.io/arcadeanalytics/arcadeanalytics</repository> |
1416 | 1242 | <contextDirectory>${project.build.directory}</contextDirectory> |
1417 | 1243 | <useMavenSettingsForAuth>true</useMavenSettingsForAuth> |
1418 | 1244 | </configuration> |
1419 | 1245 | </plugin> |
1420 | | - |
1421 | 1246 | </plugins> |
1422 | 1247 | </build> |
1423 | 1248 | <properties> |
1424 | 1249 | <!-- default Spring profiles --> |
1425 | | - <spring.profiles.active>prod-single${profile.swagger}${profile.no-liquibase}</spring.profiles.active> |
| 1250 | + <spring.profiles.active>prod${profile.swagger}${profile.no-liquibase}</spring.profiles.active> |
1426 | 1251 | </properties> |
1427 | 1252 | </profile> |
1428 | 1253 | <profile> |
|
1627 | 1452 | </plugin> |
1628 | 1453 |
|
1629 | 1454 |
|
1630 | | - <!--<plugin>--> |
1631 | | - <!--<groupId>org.apache.maven.plugins</groupId>--> |
1632 | | - <!--<artifactId>maven-javadoc-plugin</artifactId>--> |
1633 | | - <!--<version>3.0.1</version>--> |
1634 | | - <!--<executions>--> |
1635 | | - <!--<execution>--> |
1636 | | - <!--<id>attach-javadocs</id>--> |
1637 | | - <!--<goals>--> |
1638 | | - <!--<goal>jar</goal>--> |
1639 | | - <!--</goals>--> |
1640 | | - <!--</execution>--> |
1641 | | - <!--</executions>--> |
1642 | | - <!--</plugin>--> |
1643 | 1455 | <plugin> |
1644 | 1456 | <groupId>org.apache.maven.plugins</groupId> |
1645 | 1457 | <artifactId>maven-gpg-plugin</artifactId> |
|
0 commit comments