Skip to content

Commit c6169a2

Browse files
committed
Do not run multi-release target on JDK8 publish.
1 parent e049d8f commit c6169a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@
124124
<modulemaker.skip>false</modulemaker.skip>
125125
<javadoc.download.skip>false</javadoc.download.skip>
126126
<repository.url>git@github.com:raphw/byte-buddy.git</repository.url>
127+
<release.profiles>extras,gpg,gradle-release,multi-release</release.profiles>
127128
<surefire.arguments />
128129
</properties>
129130

@@ -188,7 +189,7 @@
188189
<artifactId>maven-release-plugin</artifactId>
189190
<version>${version.plugin.release}</version>
190191
<configuration>
191-
<releaseProfiles>extras,gpg,gradle-release,multi-release</releaseProfiles>
192+
<releaseProfiles>${release.profiles}</releaseProfiles>
192193
<autoVersionSubmodules>true</autoVersionSubmodules>
193194
<tagNameFormat>byte-buddy-@{project.version}</tagNameFormat>
194195
</configuration>
@@ -462,6 +463,7 @@
462463
<properties>
463464
<bytecode.main.version>1.8</bytecode.main.version>
464465
<bytecode.test.version>1.8</bytecode.test.version>
466+
<release.profiles>extras,gpg</release.profiles>
465467
</properties>
466468
</profile>
467469
<!-- Runs the build with compatibility for Java 6 JVMs. -->

0 commit comments

Comments
 (0)