build(distro-vertx) Add directory structure and jar name slightly in distro.
MODIFY
.gitignore
.gitignore
@@ -13,3 +13,4 @@ gwt-unitCache
.idea
npm-debug.log
.metadata/*
+.log
\ No newline at end of file

MODIFY
distro/vertx/src/main/assembly/overlay.xml
distro/vertx/src/main/assembly/overlay.xml
<id>gateway</id>
<formats>
<format>zip</format>
+ <format>tgz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<!-- apiman -->
<dependencySet>
- <outputDirectory>/</outputDirectory>
+ <outputDirectory>${project.artifactId}-${project.version}</outputDirectory>
<includes>
<include>*</include>
</includes>
- <outputFileNameMapping>apiman-gateway-vertx.jar</outputFileNameMapping>
+ <outputFileNameMapping>apiman-gateway.jar</outputFileNameMapping>
<useProjectArtifact>true</useProjectArtifact>
<useProjectAttachments>true</useProjectAttachments>
<useTransitiveDependencies>false</useTransitiveDependencies>
<fileSets>
<fileSet>
<directory>src/main/resources/overlay</directory>
- <outputDirectory>/</outputDirectory>
+ <outputDirectory>${project.artifactId}-${project.version}</outputDirectory>
<filtered>false</filtered>
<directoryMode>0755</directoryMode>
<fileMode>0755</fileMode>

MODIFY
distro/vertx/src/main/resources/overlay/apiman-gateway.sh
distro/vertx/src/main/resources/overlay/apiman-gateway.sh
@@ -25,4 +25,4 @@ $JAVA $APIMAN_GATEWAY_OPTS -Dlog4j.configurationFile="$DIRNAME/log4j2.xml" \
`# Async Log4j2 logging using LMAX Disruptor.` \
-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector \
`# $@ to pass args through.` \
- -jar "$DIRNAME/apiman-gateway-vertx.jar" "$@"
+ -jar "$DIRNAME/apiman-gateway.jar" "$@"

MODIFY
pom.xml
pom.xml
<!-- Plugin Versions -->
<version.antrun.plugin>1.7</version.antrun.plugin>
- <version.assembly.plugin>2.5</version.assembly.plugin>
+ <version.assembly.plugin>3.0.0</version.assembly.plugin>
<version.buildhelper.plugin>1.9.1</version.buildhelper.plugin>
<version.buildnumber.plugin>1.3</version.buildnumber.plugin>
<version.bundle.plugin>2.5.3</version.bundle.plugin>

build(distro-vertx) Add directory structure and jar name slightly in distro.