Skip to content

Commit 940bee3

Browse files
committed
maven plugin, github site
1 parent d0c70fe commit 940bee3

File tree

3 files changed

+156
-2
lines changed

3 files changed

+156
-2
lines changed

README.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,30 @@ Term lists can be generated from indexes, or even of all of the indexes in the c
77
Installation
88
------------
99

10+
Current version of the plugin: **1.3.0** (Oct 16, 2013)
11+
1012
Prerequisites::
1113

1214
Elasticsearch 0.90+
1315

1416
============= ========= ================= ===========================================================
1517
ES version Plugin Release date Command
1618
------------- --------- ----------------- -----------------------------------------------------------
17-
0.90.5 **1.3.0** Oct 16, 2013 ./bin/plugin --url http://bit.ly/1bzHfIl --install termlist
19+
0.90.5 **1.3.0** Oct 16, 2013 ./bin/plugin --install termlist --url http://bit.ly/1bzHfIl
1820
============= ========= ================= ===========================================================
1921

22+
Do not forget to restart the node after installing.
23+
24+
Project docs
25+
------------
26+
27+
The Maven project site is available at `Github <http://jprante.github.io/elasticsearch-index-termlist>`_
28+
29+
Binaries
30+
--------
31+
32+
Binaries are available at `Bintray <https://bintray.com/pkg/show/general/jprante/elasticsearch-plugins/elasticsearch-index-termlist>`_
33+
2034
Introduction
2135
------------
2236

pom.xml

Lines changed: 111 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0"
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4+
45
<modelVersion>4.0.0</modelVersion>
56

67
<groupId>org.xbib.elasticsearch.plugin</groupId>
78
<artifactId>elasticsearch-index-termlist</artifactId>
89
<version>1.3.0</version>
10+
911
<packaging>jar</packaging>
1012

1113
<name>Elasticsearch Index Termlist Plugin</name>
1214
<description>
1315
Index Termlist is a simple Elasticsearch plugin
1416
</description>
1517

18+
<url>http://github.com/jprante/elasticsearch-index-termlist</url>
19+
1620
<inceptionYear>2012</inceptionYear>
1721

1822
<licenses>
@@ -38,6 +42,7 @@
3842
</distributionManagement>
3943

4044
<properties>
45+
<github.global.server>github</github.global.server>
4146
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4247
<elasticsearch.version>0.90.5</elasticsearch.version>
4348
</properties>
@@ -47,6 +52,8 @@
4752
<groupId>org.elasticsearch</groupId>
4853
<artifactId>elasticsearch</artifactId>
4954
<version>${elasticsearch.version}</version>
55+
<type>jar</type>
56+
<scope>compile</scope>
5057
</dependency>
5158
</dependencies>
5259

@@ -66,9 +73,37 @@
6673
<compilerArgument>-Xlint:all,-serial,-path,-rawtypes,-unchecked</compilerArgument>
6774
</configuration>
6875
</plugin>
76+
<plugin>
77+
<artifactId>maven-surefire-plugin</artifactId>
78+
<version>2.15</version>
79+
<configuration>
80+
<skip>false</skip>
81+
<forkMode>once</forkMode>
82+
<systemPropertyVariables>
83+
<file.encoding>UTF-8</file.encoding>
84+
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
85+
<java.net.preferIPv4Stack>true</java.net.preferIPv4Stack>
86+
</systemPropertyVariables>
87+
<includes>
88+
<include>**/*Tests.java</include>
89+
</includes>
90+
</configuration>
91+
</plugin>
92+
<plugin>
93+
<artifactId>maven-source-plugin</artifactId>
94+
<version>2.2.1</version>
95+
<executions>
96+
<execution>
97+
<id>attach-sources</id>
98+
<goals>
99+
<goal>jar</goal>
100+
</goals>
101+
</execution>
102+
</executions>
103+
</plugin>
69104
<plugin>
70105
<artifactId>maven-assembly-plugin</artifactId>
71-
<version>2.3</version>
106+
<version>2.4</version>
72107
<configuration>
73108
<appendAssemblyId>false</appendAssemblyId>
74109
<outputDirectory>${project.build.directory}/releases/</outputDirectory>
@@ -85,6 +120,81 @@
85120
</execution>
86121
</executions>
87122
</plugin>
123+
<plugin>
124+
<artifactId>maven-resources-plugin</artifactId>
125+
<version>2.6</version>
126+
<configuration>
127+
<encoding>UTF-8</encoding>
128+
</configuration>
129+
</plugin>
130+
<plugin>
131+
<artifactId>maven-project-info-reports-plugin</artifactId>
132+
<version>2.7</version>
133+
</plugin>
134+
<plugin>
135+
<artifactId>maven-javadoc-plugin</artifactId>
136+
<version>2.9.1</version>
137+
<configuration>
138+
<encoding>${project.build.sourceEncoding}</encoding>
139+
<locale>en</locale>
140+
<linksource>true</linksource>
141+
<validateLinks>true</validateLinks>
142+
</configuration>
143+
<executions>
144+
<execution>
145+
<phase>package</phase>
146+
<goals>
147+
<goal>jar</goal>
148+
</goals>
149+
</execution>
150+
</executions>
151+
</plugin>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-site-plugin</artifactId>
155+
<version>3.3</version>
156+
<configuration>
157+
<locales>en</locales>
158+
<inputEncoding>UTF-8</inputEncoding>
159+
<outputEncoding>UTF-8</outputEncoding>
160+
</configuration>
161+
</plugin>
162+
<plugin>
163+
<groupId>com.github.github</groupId>
164+
<artifactId>site-maven-plugin</artifactId>
165+
<version>0.9</version>
166+
<configuration>
167+
<message>Building site for ${project.version}</message>
168+
</configuration>
169+
<executions>
170+
<execution>
171+
<goals>
172+
<goal>site</goal>
173+
</goals>
174+
<phase>site</phase>
175+
</execution>
176+
</executions>
177+
</plugin>
88178
</plugins>
89179
</build>
180+
181+
<reporting>
182+
<plugins>
183+
<plugin>
184+
<artifactId>maven-javadoc-plugin</artifactId>
185+
<version>2.9.1</version>
186+
<configuration>
187+
<encoding>${project.build.sourceEncoding}</encoding>
188+
<locale>en</locale>
189+
<linksource>true</linksource>
190+
<validateLinks>true</validateLinks>
191+
</configuration>
192+
</plugin>
193+
<plugin>
194+
<artifactId>maven-surefire-report-plugin</artifactId>
195+
<version>2.15</version>
196+
</plugin>
197+
</plugins>
198+
</reporting>
199+
90200
</project>

src/main/site/site.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="${project.name}">
3+
<skin>
4+
<groupId>org.apache.maven.skins</groupId>
5+
<artifactId>maven-fluido-skin</artifactId>
6+
<version>1.2.1</version>
7+
</skin>
8+
<custom>
9+
<fluidoSkin>
10+
<topBarEnabled>true</topBarEnabled>
11+
<sourceLineNumbersEnabled>true</sourceLineNumbersEnabled>
12+
<gitHub>
13+
<projectId>jprante/elasticsearch-index-termlist</projectId>
14+
<ribbonOrientation>right</ribbonOrientation>
15+
<ribbonColor>black</ribbonColor>
16+
</gitHub>
17+
<twitter>
18+
<user>xbib</user>
19+
<showUser>true</showUser>
20+
<showFollowers>true</showFollowers>
21+
</twitter>
22+
</fluidoSkin>
23+
</custom>
24+
<body>
25+
<links>
26+
<item name="${project.name}" href="${project.url}"/>
27+
</links>
28+
<menu ref="reports" />
29+
</body>
30+
</project>

0 commit comments

Comments
 (0)