|
130 | 130 | <!-- JVM Debug -->
|
131 | 131 | <debugJavaOptions />
|
132 | 132 | <debugJavaPort>9001</debugJavaPort>
|
| 133 | + |
| 134 | + <!-- Docker Overrides --> |
| 135 | + <skipDockerBuild>false</skipDockerBuild> |
| 136 | + |
| 137 | + <!-- Assembly Overrides --> |
| 138 | + <tgz.finalName>${project.build.finalName}</tgz.finalName> |
| 139 | + |
| 140 | + <!-- Project Overrides --> |
| 141 | + <buildDirectory>${project.basedir}/target</buildDirectory> |
133 | 142 | </properties>
|
| 143 | + |
134 | 144 | <build>
|
| 145 | + <directory>${buildDirectory}</directory> |
135 | 146 | <resources>
|
136 | 147 | <resource>
|
137 | 148 | <directory>src/main/resources</directory>
|
|
205 | 216 | <mainClass>com.arpnetworking.metrics.mad.Main</mainClass>
|
206 | 217 | </program>
|
207 | 218 | </programs>
|
208 |
| - <unixScriptTemplate>${project.basedir}/target/appAssemblerUnixBinTemplate</unixScriptTemplate> |
| 219 | + <unixScriptTemplate>${project.build.directory}/appAssemblerUnixBinTemplate</unixScriptTemplate> |
209 | 220 | <endorsedDir>lib/ext</endorsedDir>
|
210 | 221 | </configuration>
|
211 | 222 | </plugin>
|
|
237 | 248 | <goal>single</goal>
|
238 | 249 | </goals>
|
239 | 250 | <configuration>
|
| 251 | + <finalName>${tgz.finalName}</finalName> |
240 | 252 | <appendAssemblyId>true</appendAssemblyId>
|
241 | 253 | <attach>false</attach>
|
242 | 254 | <tarLongFileMode>posix</tarLongFileMode>
|
|
317 | 329 | <goal>build</goal>
|
318 | 330 | </goals>
|
319 | 331 | </execution>
|
320 |
| - <execution> |
321 |
| - <id>default-remove</id> |
322 |
| - <phase>validate</phase> |
323 |
| - <configuration> |
324 |
| - <removeAll>true</removeAll> |
325 |
| - </configuration> |
326 |
| - </execution> |
327 | 332 | <execution>
|
328 | 333 | <id>default-start</id>
|
329 | 334 | <phase>pre-integration-test</phase>
|
|
390 | 395 | </run>
|
391 | 396 | </image>
|
392 | 397 | </images>
|
| 398 | + <skip>${skipDockerBuild}</skip> |
393 | 399 | </configuration>
|
394 | 400 | </plugin>
|
395 | 401 | </plugins>
|
|
811 | 817 | <debugJavaOptions>-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=${debugJavaPort},suspend=n</debugJavaOptions>
|
812 | 818 | </properties>
|
813 | 819 | </profile>
|
| 820 | + <profile> |
| 821 | + <id>no-docker</id> |
| 822 | + <activation> |
| 823 | + <activeByDefault>false</activeByDefault> |
| 824 | + </activation> |
| 825 | + <properties> |
| 826 | + <skipIntegrationTests>true</skipIntegrationTests> |
| 827 | + <skipDockerBuild>true</skipDockerBuild> |
| 828 | + </properties> |
| 829 | + </profile> |
814 | 830 | </profiles>
|
815 | 831 | </project>
|
0 commit comments