Skip to content

Commit 728b354

Browse files
committed
maven plugin update, site
1 parent b4e62e3 commit 728b354

File tree

4 files changed

+120
-16
lines changed

4 files changed

+120
-16
lines changed

README.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. image:: ../../../elasticsearch-knapsack/raw/master/knapsack.png
1+
.. image:: ../../../elasticsearch-knapsack/raw/master/src/site/resources/knapsack.png
22

33
Image by `DaPino <http://www.iconarchive.com/show/fishing-equipment-icons-by-dapino/backpack-icon.html>`_ `CC Attribution-Noncommercial 3.0 <http://creativecommons.org/licenses/by-nc/3.0/>`_
44

@@ -25,14 +25,20 @@ ES version Plugin Release date Command
2525
0.90.5 **2.1.3** Oct 26, 2013 ./bin/plugin --install knapsack --url http://bit.ly/1afkfAY
2626
============= ========= ================= ===========================================================
2727

28-
Bintray:
28+
Do not forget to restart the node after installation.
2929

30-
https://bintray.com/pkg/show/general/jprante/elasticsearch-plugins/elasticsearch-knapsack
30+
Project docs
31+
------------
32+
33+
The Maven project site is available at `Github <http://jprante.github.io/elasticsearch-knapsack>`_
34+
35+
Binaries
36+
--------
3137

32-
Do not forget to restart the node.
38+
Binaries are available at `Bintray <https://bintray.com/pkg/show/general/jprante/elasticsearch-plugins/elasticsearch-knapsack>`_
3339

3440
Documentation
35-
-------------
41+
=============
3642

3743
Note: you must have the _source field enabled, otherwise the Knapsack export will not work.
3844

pom.xml

Lines changed: 79 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
56
<modelVersion>4.0.0</modelVersion>
67

78
<groupId>org.xbib.elasticsearch.plugin</groupId>
89
<artifactId>elasticsearch-knapsack</artifactId>
910
<version>2.1.3</version>
11+
1012
<packaging>jar</packaging>
1113

1214
<name>elasticsearch-knapsack</name>
1315
<description>
1416
Knapsack is a simple backup/restore tool for Elasticsearch
1517
</description>
1618

19+
<url>http://github.com/jprante/elasticsearch-knapsack</url>
20+
1721
<inceptionYear>2012</inceptionYear>
1822

1923
<licenses>
@@ -39,6 +43,7 @@
3943
</distributionManagement>
4044

4145
<properties>
46+
<github.global.server>github</github.global.server>
4247
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4348
<elasticsearch.version>0.90.5</elasticsearch.version>
4449
</properties>
@@ -64,18 +69,8 @@
6469
<dependency>
6570
<groupId>org.testng</groupId>
6671
<artifactId>testng</artifactId>
67-
<version>6.8</version>
72+
<version>6.8.7</version>
6873
<scope>test</scope>
69-
<exclusions>
70-
<exclusion>
71-
<groupId>org.hamcrest</groupId>
72-
<artifactId>hamcrest-core</artifactId>
73-
</exclusion>
74-
<exclusion>
75-
<groupId>junit</groupId>
76-
<artifactId>junit</artifactId>
77-
</exclusion>
78-
</exclusions>
7974
</dependency>
8075

8176
<dependency>
@@ -147,7 +142,80 @@
147142
</execution>
148143
</executions>
149144
</plugin>
145+
<plugin>
146+
<artifactId>maven-resources-plugin</artifactId>
147+
<version>2.6</version>
148+
<configuration>
149+
<encoding>UTF-8</encoding>
150+
</configuration>
151+
</plugin>
152+
<plugin>
153+
<artifactId>maven-project-info-reports-plugin</artifactId>
154+
<version>2.7</version>
155+
</plugin>
156+
<plugin>
157+
<artifactId>maven-javadoc-plugin</artifactId>
158+
<version>2.9.1</version>
159+
<configuration>
160+
<encoding>${project.build.sourceEncoding}</encoding>
161+
<locale>en</locale>
162+
<linksource>true</linksource>
163+
<validateLinks>true</validateLinks>
164+
</configuration>
165+
<executions>
166+
<execution>
167+
<phase>package</phase>
168+
<goals>
169+
<goal>jar</goal>
170+
</goals>
171+
</execution>
172+
</executions>
173+
</plugin>
174+
<plugin>
175+
<artifactId>maven-site-plugin</artifactId>
176+
<version>3.3</version>
177+
<configuration>
178+
<locales>en</locales>
179+
<inputEncoding>UTF-8</inputEncoding>
180+
<outputEncoding>UTF-8</outputEncoding>
181+
</configuration>
182+
</plugin>
183+
<plugin>
184+
<groupId>com.github.github</groupId>
185+
<artifactId>site-maven-plugin</artifactId>
186+
<version>0.9</version>
187+
<configuration>
188+
<message>Building site for ${project.version}</message>
189+
</configuration>
190+
<executions>
191+
<execution>
192+
<goals>
193+
<goal>site</goal>
194+
</goals>
195+
<phase>site</phase>
196+
</execution>
197+
</executions>
198+
</plugin>
150199
</plugins>
151200
</build>
152201

202+
<reporting>
203+
<plugins>
204+
<plugin>
205+
<artifactId>maven-javadoc-plugin</artifactId>
206+
<version>2.9.1</version>
207+
<configuration>
208+
<encoding>${project.build.sourceEncoding}</encoding>
209+
<locale>en</locale>
210+
<linksource>true</linksource>
211+
<validateLinks>true</validateLinks>
212+
</configuration>
213+
</plugin>
214+
<plugin>
215+
<artifactId>maven-surefire-report-plugin</artifactId>
216+
<version>2.15</version>
217+
</plugin>
218+
</plugins>
219+
</reporting>
220+
153221
</project>

src/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-knapsack</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)