This is an automated email from the ASF dual-hosted git repository.

vernedeng pushed a commit to branch branch-1.8
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/branch-1.8 by this push:
     new 3da4575c61 [INLONG-8561][Manager] Remove manager-plugin-example.jar 
(#8562)
3da4575c61 is described below

commit 3da4575c611a429babfd076f1bdba31457871fe8
Author: fuweng11 <76141879+fuwen...@users.noreply.github.com>
AuthorDate: Wed Jul 19 09:53:15 2023 +0800

    [INLONG-8561][Manager] Remove manager-plugin-example.jar (#8562)
    
    * [INLONG-8561][Manager] Remove manager-plugin-example.jar
    
    (cherry picked from commit 826bd6c5abd820e2a68a26751623cf0989448654)
---
 inlong-manager/manager-service/pom.xml             |  84 +++++++++++++++++++++
 .../plugins/manager-plugins-base-example.jar       | Bin 96655 -> 0 bytes
 2 files changed, 84 insertions(+)

diff --git a/inlong-manager/manager-service/pom.xml 
b/inlong-manager/manager-service/pom.xml
index 54ecf83ec3..01a5867766 100644
--- a/inlong-manager/manager-service/pom.xml
+++ b/inlong-manager/manager-service/pom.xml
@@ -615,4 +615,88 @@
             <version>${project.version}</version>
         </dependency>
     </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>${plugin.compile.version}</version>
+                <configuration>
+                    <encoding>${project.build.encoding}</encoding>
+                    <source>${maven.compiler.source}</source>
+                    <target>${maven.compiler.target}</target>
+                    <showDeprecation>true</showDeprecation>
+                    <showWarnings>true</showWarnings>
+                    <compilerArgument>-Xlint:unchecked</compilerArgument>
+                    <annotationProcessorPaths>
+                        <path>
+                            <groupId>org.projectlombok</groupId>
+                            <artifactId>lombok</artifactId>
+                            <version>${lombok.version}</version>
+                        </path>
+                    </annotationProcessorPaths>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>${plugin.surefire.version}</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.junit.jupiter</groupId>
+                        <artifactId>junit-jupiter-engine</artifactId>
+                        <version>${jupiter.version}</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            <plugin>
+                <!-- Packaging to the target directory during testing for 
loading plugins files for testing -->
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <configuration>
+                    <artifactItems>
+                        <artifactItem>
+                            <groupId>org.apache.inlong</groupId>
+                            <artifactId>manager-plugins-base</artifactId>
+                            <version>${project.version}</version>
+                            
<destFileName>manager-plugins-base-example.jar</destFileName>
+                            <type>jar</type>
+                            
<outputDirectory>${project.build.directory}/test-classes/plugins</outputDirectory>
+                        </artifactItem>
+                    </artifactItems>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>copy-jars</id>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <phase>pre-integration-test</phase>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-failsafe-plugin</artifactId>
+                <version>${plugin.failsafe.version}</version>
+                <executions>
+                    <execution>
+                        <id>end-to-end-tests</id>
+                        <phase>integration-test</phase>
+                        <configuration>
+                            <includes>
+                                <include>**/*.*</include>
+                            </includes>
+                            <forkCount>1</forkCount>
+                            <systemPropertyVariables>
+                                <moduleDir>${project.basedir}</moduleDir>
+                            </systemPropertyVariables>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>
diff --git 
a/inlong-manager/manager-service/src/test/resources/plugins/manager-plugins-base-example.jar
 
b/inlong-manager/manager-service/src/test/resources/plugins/manager-plugins-base-example.jar
deleted file mode 100644
index fa2aaf612b..0000000000
Binary files 
a/inlong-manager/manager-service/src/test/resources/plugins/manager-plugins-base-example.jar
 and /dev/null differ

Reply via email to