345 lines
12 KiB
XML
345 lines
12 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<parent>
|
|
<artifactId>graylog-plugin-web-parent</artifactId>
|
|
<groupId>org.graylog.plugins</groupId>
|
|
<version>6.1.0</version>
|
|
<relativePath>../graylog2-server/graylog-plugin-parent/graylog-plugin-web-parent/pom.xml</relativePath>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>in.nosd.redis</groupId>
|
|
<artifactId>graylog-plugin-redis-lookup</artifactId>
|
|
<name>${project.artifactId}</name>
|
|
<version>1.0.4</version>
|
|
<description>Graylog ${project.artifactId} plugin.</description>
|
|
<url>https://www.graylog.org</url>
|
|
<developers>
|
|
<developer>
|
|
<name>johan</name>
|
|
<email>johan@nosd.in</email>
|
|
</developer>
|
|
</developers>
|
|
<scm>
|
|
<connection>scm:git:git@github.com:https://git.nosd.in/yo/graylog-plugin-redis-lookup.git</connection>
|
|
<developerConnection>scm:git:git@github.com:https://git.nosd.in/yo/graylog-plugin-redis-lookup.git</developerConnection>
|
|
<url>https://github.com/https://git.nosd.in/yo/graylog-plugin-redis-lookup</url>
|
|
</scm>
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${web.build-dir}</directory>
|
|
</resource>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>de.thetaphi</groupId>
|
|
<artifactId>forbiddenapis</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.mycila</groupId>
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<skipAssembly>true</skipAssembly>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
<configuration>
|
|
<release>17</release>
|
|
<showWarnings>true</showWarnings>
|
|
<showDeprecation>true</showDeprecation>
|
|
<forceJavacCompilerUse>false</forceJavacCompilerUse>
|
|
<fork>true</fork>
|
|
<compilerArgs>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED</arg>
|
|
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED</arg>
|
|
</compilerArgs>
|
|
<annotationProcessors>
|
|
<annotationProcessor>com.google.auto.value.processor.AutoValueProcessor</annotationProcessor>
|
|
</annotationProcessors>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Graylog-Plugin-Properties-Path>${project.groupId}.${project.artifactId}</Graylog-Plugin-Properties-Path>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>2.4.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer />
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<minimizeJar>false</minimizeJar>
|
|
<artifactSet>
|
|
<excludes>
|
|
<exclude>com.fasterxml.jackson.core:*</exclude>
|
|
<exclude>joda-time:joda-time</exclude>
|
|
</excludes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
<configuration>
|
|
<autoVersionSubmodules>true</autoVersionSubmodules>
|
|
<mavenExecutorId>forked-path</mavenExecutorId>
|
|
<tagNameFormat>@{project.version}</tagNameFormat>
|
|
<preparationGoals>clean test</preparationGoals>
|
|
<goals>package</goals>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.vafer</groupId>
|
|
<artifactId>jdeb</artifactId>
|
|
<version>1.4</version>
|
|
<configuration>
|
|
<deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb>
|
|
<dataSet>
|
|
<data>
|
|
<src>${project.build.directory}/${project.build.finalName}.jar</src>
|
|
<type>file</type>
|
|
<mapper>
|
|
<type>perm</type>
|
|
<prefix>${graylog.plugin-dir}</prefix>
|
|
<filemode>644</filemode>
|
|
<user>root</user>
|
|
<group>root</group>
|
|
</mapper>
|
|
</data>
|
|
</dataSet>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>rpm-maven-plugin</artifactId>
|
|
<version>2.1.4</version>
|
|
<configuration>
|
|
<group>Application/Internet</group>
|
|
<prefixes>
|
|
<prefix>/usr</prefix>
|
|
</prefixes>
|
|
<defineStatements>
|
|
<defineStatement>_unpackaged_files_terminate_build 0</defineStatement>
|
|
<defineStatement>_binaries_in_noarch_packages_terminate_build 0</defineStatement>
|
|
</defineStatements>
|
|
<defaultFilemode>644</defaultFilemode>
|
|
<defaultDirmode>755</defaultDirmode>
|
|
<defaultUsername>root</defaultUsername>
|
|
<defaultGroupname>root</defaultGroupname>
|
|
<mappings>
|
|
<mapping>
|
|
<directory>${graylog.plugin-dir}</directory>
|
|
<sources>
|
|
<source>
|
|
<location>${project.build.directory}/</location>
|
|
<includes>
|
|
<include>${project.build.finalName}.jar</include>
|
|
</includes>
|
|
</source>
|
|
</sources>
|
|
</mapping>
|
|
</mappings>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>web-interface-build</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.github.eirslett</groupId>
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
<version>1.15.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>install node and yarn</id>
|
|
<goals>
|
|
<goal>install-node-and-yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<nodeVersion>${nodejs.version}</nodeVersion>
|
|
<yarnVersion>${yarn.version}</yarnVersion>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn install</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>install</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>yarn run build</id>
|
|
<goals>
|
|
<goal>yarn</goal>
|
|
</goals>
|
|
<configuration>
|
|
<arguments>run build</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>2.17.1</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>2.12.7</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.graylog2</groupId>
|
|
<artifactId>graylog2-server</artifactId>
|
|
<version>6.0.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.graylog2</groupId>
|
|
<artifactId>graylog2-server</artifactId>
|
|
<version>6.0.0</version>
|
|
<type>test-jar</type>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-jdk14</artifactId>
|
|
<version>1.7.21</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject</groupId>
|
|
<artifactId>guice</artifactId>
|
|
<version>7.0.0</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>jakarta.inject-api</artifactId>
|
|
<groupId>jakarta.inject</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>aopalliance</artifactId>
|
|
<groupId>aopalliance</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.inject.extensions</groupId>
|
|
<artifactId>guice-assistedinject</artifactId>
|
|
<version>7.0.0</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>error_prone_annotations</artifactId>
|
|
<groupId>com.google.errorprone</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.auto.value</groupId>
|
|
<artifactId>auto-value</artifactId>
|
|
<version>1.10.4</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.graylog.autovalue</groupId>
|
|
<artifactId>auto-value-javabean</artifactId>
|
|
<version>2.5.2</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>javapoet</artifactId>
|
|
<groupId>com.squareup</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>auto-value-extension-util</artifactId>
|
|
<groupId>com.gabrielittner.auto.value</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
<properties>
|
|
<guice.version>7.0.0</guice.version>
|
|
<graylog.plugin-dir>/usr/local/share/graylog/plugin</graylog.plugin-dir>
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
<graylog.version>6.0.0</graylog.version>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
|
<metrics.version>4.2.25</metrics.version>
|
|
<jackson.version>2.17.1</jackson.version>
|
|
<download-maven-plugin.version>1.6.8.1</download-maven-plugin.version>
|
|
<auto-value-javabean.version>2.5.2</auto-value-javabean.version>
|
|
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation>
|
|
<auto-value.version>1.10.4</auto-value.version>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<license-maven.version>4.3</license-maven.version>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<commons-lang3.version>3.14.0</commons-lang3.version>
|
|
<validation-api.version>3.0.2</validation-api.version>
|
|
<joda-time.version>2.12.7</joda-time.version>
|
|
<maven.deploy.skip>true</maven.deploy.skip>
|
|
</properties>
|
|
</project>
|
|
|