add ssl3 as classifier
This commit is contained in:
parent
3b9bbce2fb
commit
3e3690b53c
@ -16,8 +16,9 @@ FALLBACK_API_TYPE="sealed"
|
||||
FALLBACK_SSL_TYPE="ssl1"
|
||||
SAFE_VERSION_NAME="v4_0_${REVISION}"
|
||||
REVISION_SUFFIX=""
|
||||
USE_SSL3="False"
|
||||
if [ "${SSL_TYPE:-${FALLBACK_SSL_TYPE}}" != "ssl1" ]; then
|
||||
REVISION_SUFFIX="-${SSL_TYPE}${REVISION_SUFFIX}"
|
||||
USE_SSL3="True"
|
||||
fi
|
||||
REVISION_MVN="4.0.${REVISION}${REVISION_SUFFIX}"
|
||||
|
||||
@ -27,7 +28,7 @@ else
|
||||
cd "../../generated-${API_TYPE}"
|
||||
fi
|
||||
|
||||
mvn -B -Drevision="${REVISION_MVN}" -DsafeVersionName="${SAFE_VERSION_NAME}" "-D${API_TYPE:-${FALLBACK_API_TYPE}}" clean deploy
|
||||
mvn -B -Drevision="${REVISION_MVN}" -DsafeVersionName="${SAFE_VERSION_NAME}" -Dssl3=${USE_SSL3} "-D${API_TYPE:-${FALLBACK_API_TYPE}}" clean deploy
|
||||
|
||||
echo "Done."
|
||||
exit 0
|
||||
|
@ -13,12 +13,13 @@ FALLBACK_API_TYPE="sealed"
|
||||
FALLBACK_SSL_TYPE="ssl1"
|
||||
SAFE_VERSION_NAME="v4_0_0"
|
||||
REVISION_SUFFIX="-SNAPSHOT"
|
||||
USE_SSL3="False"
|
||||
if [ "${SSL_TYPE:-${FALLBACK_SSL_TYPE}}" != "ssl1" ]; then
|
||||
REVISION_SUFFIX="-${SSL_TYPE}${REVISION_SUFFIX}"
|
||||
USE_SSL3="True"
|
||||
fi
|
||||
REVISION_MVN="4.0.0${REVISION_SUFFIX}"
|
||||
|
||||
mvn -B -Drevision="${REVISION_MVN}" -DsafeVersionName="${SAFE_VERSION_NAME}" "-D${API_TYPE:-${FALLBACK_API_TYPE}}" deploy
|
||||
mvn -B -Drevision="${REVISION_MVN}" -Dssl3=${USE_SSL3} -DsafeVersionName="${SAFE_VERSION_NAME}" "-D${API_TYPE:-${FALLBACK_API_TYPE}}" deploy
|
||||
|
||||
echo "Done."
|
||||
exit 0
|
||||
|
@ -108,4 +108,37 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>ssl3</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>ssl3</name>
|
||||
<value>True</value>
|
||||
</property>
|
||||
<activeByDefault>false</activeByDefault>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>ssl3</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<classifier>ssl3</classifier>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user