Skip to content

Commit 3c31573

Browse files
committed
Remove duplicate plugin definitions in operator pom.xml
1 parent 7ae35ff commit 3c31573

File tree

1 file changed

+19
-31
lines changed

1 file changed

+19
-31
lines changed

operator/pom.xml

Lines changed: 19 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,25 @@
102102
<excludeArtifactIds>kotlin-stdlib-jdk7,kotlin-stdlib-jdk8</excludeArtifactIds>
103103
</configuration>
104104
</execution>
105+
<execution>
106+
<id>jython-resource-dependencies</id>
107+
<phase>process-test-resources</phase>
108+
<goals>
109+
<goal>copy</goal>
110+
</goals>
111+
<configuration>
112+
<artifactItems>
113+
<artifactItem>
114+
<groupId>org.python</groupId>
115+
<artifactId>jython-standalone</artifactId>
116+
<version>${jython-standalone-version}</version>
117+
<type>jar</type>
118+
<overWrite>true</overWrite>
119+
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
120+
</artifactItem>
121+
</artifactItems>
122+
</configuration>
123+
</execution>
105124
</executions>
106125
</plugin>
107126

@@ -212,37 +231,6 @@
212231
</outputDirectory>
213232
</configuration>
214233
</execution>
215-
</executions>
216-
</plugin>
217-
218-
<plugin>
219-
<groupId>org.apache.maven.plugins</groupId>
220-
<artifactId>maven-dependency-plugin</artifactId>
221-
<executions>
222-
<execution>
223-
<id>jython-resource-dependencies</id>
224-
<phase>process-test-resources</phase>
225-
<goals>
226-
<goal>copy</goal>
227-
</goals>
228-
<configuration>
229-
<artifactItems>
230-
<artifactItem>
231-
<groupId>org.python</groupId>
232-
<artifactId>jython-standalone</artifactId>
233-
<version>${jython-standalone-version}</version>
234-
<type>jar</type>
235-
<overWrite>true</overWrite>
236-
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
237-
</artifactItem>
238-
</artifactItems>
239-
</configuration>
240-
</execution>
241-
</executions>
242-
</plugin>
243-
<plugin>
244-
<artifactId>maven-resources-plugin</artifactId>
245-
<executions>
246234
<execution>
247235
<id>copy-test-sources</id>
248236
<phase>process-test-resources</phase>

0 commit comments

Comments
 (0)