Skip to content

Commit 1e4f7eb

Browse files
committed
fix(?) testutils issue
1 parent b3af438 commit 1e4f7eb

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

testutil/pom.xml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -92,17 +92,27 @@
9292
<scope>provided</scope>
9393
</dependency>
9494
</dependencies>
95-
<build>
96-
<plugins>
97-
<!-- Explicitly skip deployment -->
98-
<plugin>
99-
<groupId>org.sonatype.central</groupId>
100-
<artifactId>central-publishing-maven-plugin</artifactId>
101-
<configuration>
102-
<!-- JONAS: check that this actually is skipped -->
103-
<skipPublishing>true</skipPublishing>
104-
</configuration>
105-
</plugin>
106-
</plugins>
107-
</build>
95+
<profiles>
96+
<profile>
97+
<id>release</id>
98+
<activation>
99+
<property>
100+
<name>release</name>
101+
</property>
102+
</activation>
103+
<build>
104+
<plugins>
105+
<!-- Explicitly skip deployment -->
106+
<plugin>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<configuration>
110+
<!-- JONAS: check that this actually is skipped -->
111+
<skipPublishing>true</skipPublishing>
112+
</configuration>
113+
</plugin>
114+
</plugins>
115+
</build>
116+
</profile>
117+
</profiles>
108118
</project>

0 commit comments

Comments
 (0)