Skip to content

Commit

Permalink
[#11745] Apply templating-maven-plugin to TestcontainersOption version
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Nov 21, 2024
1 parent c4e1a3a commit b6105e3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
4 changes: 4 additions & 0 deletions agent-module/plugins-test-module/plugins-it-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>templating-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright 2024 NAVER Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.navercorp.pinpoint.it.plugin.utils;

/**
* @author Woonduk Kang(emeroad)
*/
final class TestcontainersOptionTemplate {
static final String VERSION = "${testcontainers.version}";

private TestcontainersOptionTemplate() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public final class TestcontainersOption {
private TestcontainersOption() {
}

public static final String VERSION = "1.20.3";
public static final String VERSION = TestcontainersOptionTemplate.VERSION;

public static final String TEST_CONTAINER = "org.testcontainers:testcontainers:" + VERSION;
public static final String MSSQL = "org.testcontainers:mssqlserver:" + VERSION;
Expand Down

0 comments on commit b6105e3

Please sign in to comment.