You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>ideaseg</artifactId>
- <groupId>com.indexea.ideaseg</groupId>
- <version>${revision}</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>com.indexea.ideaseg</groupId>
- <artifactId>ideaseg-opensearch</artifactId>
- <description>OpenSearch integration for ideaseg</description>
-
- <properties>
- <java.version>17</java.version>
- <opensearch.version>2.4.1</opensearch.version>
- <opensearch.plugin.classname>com.indexea.ideaseg.opensearch.IdeasegPlugin</opensearch.plugin.classname>
- <opensearch.plugin.java.version>17</opensearch.plugin.java.version>
- </properties>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <!-- 这个文件是es插件描述文件,不用打包到jar包里面 -->
- <exclude>plugin-descriptor.properties</exclude>
- </excludes>
- </resource>
- </resources>
- <plugins>
- <!-- 把package的jar包在打包成zip文件,es插件是zip文件格式 -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>${assembly.version}</version>
- <configuration>
- <finalName>ideaseg</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- <outputDirectory>target</outputDirectory>
- <descriptors>
- <!-- 该插件的配置文件 -->
- <descriptor>src/main/resources/plugin.xml</descriptor>
- </descriptors>
- </configuration>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
-
- <dependency>
- <groupId>com.indexea.ideaseg</groupId>
- <artifactId>ideaseg-core</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>org.opensearch</groupId>
- <artifactId>opensearch</artifactId>
- <version>${opensearch.version}</version>
- <scope>provided</scope>
- </dependency>
-
- </dependencies>
-
- </project>
|