|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 | <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">
|
3 | 3 | <modelVersion>4.0.0</modelVersion>
|
4 |
| - <prerequisites> |
5 |
| - <maven>3.0</maven> |
6 |
| - </prerequisites> |
7 | 4 |
|
8 |
| - <groupId>org.graylog.plugins</groupId> |
| 5 | + <parent> |
| 6 | + <groupId>org.graylog.plugins</groupId> |
| 7 | + <artifactId>graylog-plugin-parent</artifactId> |
| 8 | + <version>2.4.0</version> |
| 9 | + </parent> |
| 10 | + |
9 | 11 | <artifactId>graylog-plugin-mqtt</artifactId>
|
10 | 12 | <version>1.2.0-SNAPSHOT</version>
|
11 | 13 |
|
|
19 | 21 | </organization>
|
20 | 22 |
|
21 | 23 | <scm>
|
22 |
| - < connection>scm:git: [email protected]: Graylog2/graylog-plugin-mqtt.git</ connection> |
23 |
| - < developerConnection>scm:git: [email protected]: Graylog2/graylog-plugin-mqtt.git</ developerConnection> |
24 |
| - <url>https://github.com/Graylog2/graylog-plugin-mqtt</url> |
| 24 | + < connection>scm:git: [email protected]: graylog-labs/graylog-plugin-mqtt.git</ connection> |
| 25 | + < developerConnection>scm:git: [email protected]: graylog-labs/graylog-plugin-mqtt.git</ developerConnection> |
| 26 | + <url>https://github.com/graylog-labs/graylog-plugin-mqtt</url> |
25 | 27 | <tag>HEAD</tag>
|
26 | 28 | </scm>
|
27 | 29 |
|
28 | 30 | <properties>
|
29 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
30 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
31 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
| 31 | + <maven.source.skip>true</maven.source.skip> |
| 32 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
32 | 33 | <maven.install.skip>true</maven.install.skip>
|
33 | 34 | <maven.deploy.skip>true</maven.deploy.skip>
|
34 | 35 | <maven.site.skip>true</maven.site.skip>
|
35 |
| - <graylog2.plugin-dir>/usr/share/graylog-server/plugin</graylog2.plugin-dir> |
36 |
| - <graylog2.version>2.0.0</graylog2.version> |
| 36 | + |
| 37 | + <graylog.version>2.4.0</graylog.version> |
37 | 38 | </properties>
|
38 | 39 |
|
39 | 40 | <dependencies>
|
40 | 41 | <dependency>
|
41 |
| - <groupId>net.sf.xenqtt</groupId> |
| 42 | + <groupId>net.xenqtt</groupId> |
42 | 43 | <artifactId>xenqtt</artifactId>
|
43 |
| - <version>0.9.7</version> |
| 44 | + <version>1.0.0</version> |
44 | 45 | </dependency>
|
45 | 46 | <dependency>
|
46 |
| - <groupId>org.graylog2</groupId> |
47 |
| - <artifactId>graylog2-server</artifactId> |
48 |
| - <version>${graylog2.version}</version> |
| 47 | + <groupId>com.google.auto.service</groupId> |
| 48 | + <artifactId>auto-service</artifactId> |
| 49 | + <version>${auto-service.version}</version> |
49 | 50 | <scope>provided</scope>
|
50 | 51 | </dependency>
|
51 | 52 | <dependency>
|
52 |
| - <groupId>com.google.auto.service</groupId> |
53 |
| - <artifactId>auto-service</artifactId> |
54 |
| - <version>1.0-rc2</version> |
| 53 | + <groupId>com.google.auto.value</groupId> |
| 54 | + <artifactId>auto-value</artifactId> |
| 55 | + <version>${auto-value.version}</version> |
55 | 56 | <scope>provided</scope>
|
56 | 57 | </dependency>
|
57 | 58 | <dependency>
|
58 | 59 | <groupId>junit</groupId>
|
59 | 60 | <artifactId>junit</artifactId>
|
60 |
| - <version>4.12</version> |
| 61 | + <version>${junit.version}</version> |
61 | 62 | <scope>test</scope>
|
62 | 63 | </dependency>
|
63 | 64 | <dependency>
|
64 | 65 | <groupId>org.mockito</groupId>
|
65 | 66 | <artifactId>mockito-core</artifactId>
|
66 |
| - <version>2.0.52-beta</version> |
| 67 | + <version>${mockito.version}</version> |
67 | 68 | <scope>test</scope>
|
68 | 69 | </dependency>
|
69 | 70 | </dependencies>
|
70 | 71 | <build>
|
| 72 | + <resources> |
| 73 | + <resource> |
| 74 | + <directory>src/main/resources</directory> |
| 75 | + <filtering>true</filtering> |
| 76 | + </resource> |
| 77 | + </resources> |
71 | 78 | <plugins>
|
72 | 79 | <plugin>
|
73 | 80 | <groupId>org.apache.maven.plugins</groupId>
|
74 | 81 | <artifactId>maven-compiler-plugin</artifactId>
|
75 |
| - <version>3.5.1</version> |
76 | 82 | <configuration>
|
77 | 83 | <annotationProcessors>
|
78 |
| - <annotationProcessor>com.google.auto.service.processor.AutoServiceProcessor |
79 |
| - </annotationProcessor> |
| 84 | + <annotationProcessor>com.google.auto.service.processor.AutoServiceProcessor</annotationProcessor> |
| 85 | + <annotationProcessor>com.google.auto.value.processor.AutoValueProcessor</annotationProcessor> |
80 | 86 | </annotationProcessors>
|
81 | 87 | </configuration>
|
82 | 88 | </plugin>
|
| 89 | + <plugin> |
| 90 | + <groupId>org.apache.maven.plugins</groupId> |
| 91 | + <artifactId>maven-jar-plugin</artifactId> |
| 92 | + <configuration> |
| 93 | + <archive> |
| 94 | + <manifestEntries> |
| 95 | + <Graylog-Plugin-Properties-Path>${project.groupId}.${project.artifactId}</Graylog-Plugin-Properties-Path> |
| 96 | + </manifestEntries> |
| 97 | + </archive> |
| 98 | + </configuration> |
| 99 | + </plugin> |
83 | 100 | <plugin>
|
84 | 101 | <groupId>org.apache.maven.plugins</groupId>
|
85 | 102 | <artifactId>maven-shade-plugin</artifactId>
|
86 |
| - <version>2.4.3</version> |
87 | 103 | <configuration>
|
88 |
| - <minimizeJar>true</minimizeJar> |
| 104 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 105 | + <minimizeJar>false</minimizeJar> |
89 | 106 | </configuration>
|
90 | 107 | <executions>
|
91 | 108 | <execution>
|
92 | 109 | <phase>package</phase>
|
93 | 110 | <goals>
|
94 | 111 | <goal>shade</goal>
|
95 | 112 | </goals>
|
| 113 | + <configuration> |
| 114 | + <transformers> |
| 115 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> |
| 116 | + </transformers> |
| 117 | + </configuration> |
96 | 118 | </execution>
|
97 | 119 | </executions>
|
98 | 120 | </plugin>
|
99 |
| - |
100 |
| - <plugin> |
101 |
| - <groupId>org.apache.maven.plugins</groupId> |
102 |
| - <artifactId>maven-release-plugin</artifactId> |
103 |
| - <version>2.5.2</version> |
104 |
| - <configuration> |
105 |
| - <autoVersionSubmodules>true</autoVersionSubmodules> |
106 |
| - <mavenExecutorId>forked-path</mavenExecutorId> |
107 |
| - <tagNameFormat>@{project.version}</tagNameFormat> |
108 |
| - <preparationGoals>clean test</preparationGoals> |
109 |
| - <goals>package</goals> |
110 |
| - </configuration> |
111 |
| - </plugin> |
112 |
| - |
113 |
| - <plugin> |
114 |
| - <groupId>org.vafer</groupId> |
115 |
| - <artifactId>jdeb</artifactId> |
116 |
| - <version>1.5</version> |
117 |
| - <configuration> |
118 |
| - <deb>${project.build.directory}/${project.artifactId}-${project.version}.deb</deb> |
119 |
| - <dataSet> |
120 |
| - <data> |
121 |
| - <src>${project.build.directory}/</src> |
122 |
| - <includes>${project.build.finalName}.jar</includes> |
123 |
| - <type>directory</type> |
124 |
| - <mapper> |
125 |
| - <type>perm</type> |
126 |
| - <prefix>${graylog2.plugin-dir}</prefix> |
127 |
| - <filemode>644</filemode> |
128 |
| - <user>root</user> |
129 |
| - <group>root</group> |
130 |
| - </mapper> |
131 |
| - </data> |
132 |
| - </dataSet> |
133 |
| - </configuration> |
134 |
| - </plugin> |
135 |
| - |
136 |
| - <plugin> |
137 |
| - <groupId>org.codehaus.mojo</groupId> |
138 |
| - <artifactId>rpm-maven-plugin</artifactId> |
139 |
| - <version>2.1.5</version> |
140 |
| - <configuration> |
141 |
| - <group>Application/Internet</group> |
142 |
| - <prefix>/usr</prefix> |
143 |
| - <defineStatements> |
144 |
| - <defineStatement>_unpackaged_files_terminate_build 0</defineStatement> |
145 |
| - <defineStatement>_binaries_in_noarch_packages_terminate_build 0</defineStatement> |
146 |
| - </defineStatements> |
147 |
| - <defaultFilemode>644</defaultFilemode> |
148 |
| - <defaultDirmode>755</defaultDirmode> |
149 |
| - <defaultUsername>root</defaultUsername> |
150 |
| - <defaultGroupname>root</defaultGroupname> |
151 |
| - <mappings> |
152 |
| - <mapping> |
153 |
| - <directory>${graylog2.plugin-dir}</directory> |
154 |
| - <sources> |
155 |
| - <source> |
156 |
| - <location>${project.build.directory}/</location> |
157 |
| - <includes> |
158 |
| - <include>${project.build.finalName}.jar</include> |
159 |
| - </includes> |
160 |
| - </source> |
161 |
| - </sources> |
162 |
| - </mapping> |
163 |
| - </mappings> |
164 |
| - </configuration> |
165 |
| - </plugin> |
166 | 121 | </plugins>
|
167 | 122 | </build>
|
168 | 123 | </project>
|
0 commit comments