r110672 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110671‎ | r110672 | r110673 >
Date:18:09, 3 February 2012
Author:oren
Status:deferred
Tags:
Comment:
updating pom for maven3 reporting
Modified paths:
  • /trunk/lucene-search-3/pom.xml (modified) (history)

Diff [purge]

Index: trunk/lucene-search-3/pom.xml
@@ -1,283 +1,279 @@
2 -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 2+<project
 3+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
 4+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
35
4 - <modelVersion>4.0.0</modelVersion>
5 - <groupId>bazzar</groupId>
6 - <artifactId>bazzar</artifactId>
7 - <version>0.0.1-SNAPSHOT</version>
8 - <packaging>jar</packaging>
 6+ <modelVersion>4.0.0</modelVersion>
 7+ <groupId>bazzar</groupId>
 8+ <artifactId>bazzar</artifactId>
 9+ <version>0.0.1-SNAPSHOT</version>
 10+ <packaging>jar</packaging>
911
10 - <organization>
11 - <name>mediawiki</name>
12 - <url>www.mediawiki.org</url>
13 - </organization>
14 - <name>search lucene 3</name>
15 - <description>A search engine extension for MediaWiki</description>
16 - <inceptionYear>18/1/2012</inceptionYear>
17 - <url>http://www.mediawiki.org/wiki/User:OrenBochman/Search</url>
18 -
19 - <scm>
20 - <developerConnection>oren</developerConnection>
21 - <url>http://svn.wikimedia.org/svnroot/mediawiki/trunk/lucene-search-3</url>
22 - <connection>svn+ssh</connection>
23 - </scm>
24 -
25 - <ciManagement>
26 - <system>jenkins</system>
27 - <url>https://integration.mediawiki.org/ci/</url>
28 - </ciManagement>
29 -
30 - <issueManagement>
31 - <url>https://bugzilla.wikimedia.org</url>
32 - <system>bugzilla</system>
33 - </issueManagement>
 12+ <organization>
 13+ <name>mediawiki</name>
 14+ <url>www.mediawiki.org</url>
 15+ </organization>
 16+ <name>search lucene 3</name>
 17+ <description>A search engine extension for MediaWiki</description>
 18+ <inceptionYear>18/1/2012</inceptionYear>
 19+ <url>http://www.mediawiki.org/wiki/User:OrenBochman/Search</url>
3420
35 - <properties>
36 - <!-- libraries versions -->
37 -
38 -
39 - <tomcat.version>6.0.29</tomcat.version>
40 - <solr.version>1.4.1</solr.version>
41 - <lucene.version>2.3.0</lucene.version>
42 - <junit.version>4.10</junit.version>
43 - <lucene.version>2.4.1</lucene.version>
44 - <antlr.version>3.4</antlr.version>
 21+ <scm>
 22+ <developerConnection>oren</developerConnection>
 23+ <url>http://svn.wikimedia.org/svnroot/mediawiki/trunk/lucene-search-3</url>
 24+ <connection>svn+ssh</connection>
 25+ </scm>
4526
46 - <!-- misc project properties -->
47 - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
48 - <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
49 - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
50 - <javac.src.version>1.6</javac.src.version>
51 - <javac.target.version>1.6</javac.target.version>
52 - <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
53 - <implementation.build>${maven.build.timestamp}</implementation.build>
54 - </properties>
 27+ <ciManagement>
 28+ <system>jenkins</system>
 29+ <url>https://integration.mediawiki.org/ci/</url>
 30+ </ciManagement>
5531
56 - <build> <defaultGoal>install</defaultGoal>
57 -
58 - <pluginManagement>
59 -
60 - <plugins>
 32+ <issueManagement>
 33+ <url>https://bugzilla.wikimedia.org</url>
 34+ <system>bugzilla</system>
 35+ </issueManagement>
6136
62 -
63 - <plugin>
64 - <groupId>org.apache.maven.plugins</groupId>
65 - <artifactId>maven-compiler-plugin</artifactId>
66 - <version>2.3.2</version>
67 - <configuration>
68 - <encoding>UTF-8</encoding>
69 - <source>${javac.src.version}</source>
70 - <target>${javac.target.version}</target>
71 - </configuration>
72 - </plugin>
73 -
74 -
75 - <plugin>
76 - <groupId>org.apache.maven.plugins</groupId>
77 - <artifactId>maven-surefire-plugin</artifactId>
78 - <version>2.11</version>
79 - <configuration>
80 - <testFailureIgnore>true</testFailureIgnore>
81 - </configuration>
82 - </plugin>
83 -
84 - <plugin>
85 - <groupId>org.antlr</groupId>
86 - <artifactId>antlr3-maven-plugin</artifactId>
87 - <version>${antlr.version}</version>
88 - <executions>
89 - <execution>
90 - <goals>
91 - <goal>antlr</goal>
92 - </goals>
93 - </execution>
94 - </executions>
95 - </plugin>
96 - </plugins>
97 - </pluginManagement>
98 -
99 - <plugins>
100 - <plugin>
101 - <groupId>org.apache.maven.plugins</groupId>
102 - <artifactId>maven-site-plugin</artifactId>
103 - <executions>
104 - <execution>
105 - <id>attach-descriptor</id>
106 - <goals>
107 - <goal>attach-descriptor</goal>
108 - </goals>
109 - </execution>
110 - </executions>
111 -
112 - </plugin>
113 - </plugins>
114 -</build>
115 -
116 - <dependencies>
117 -
118 -<!-- JUnit for Unit Testing -->
119 -
120 - <dependency>
121 - <groupId>junit</groupId>
122 - <artifactId>junit</artifactId>
123 - <version>${junit.version}</version>
124 - <scope>test</scope>
125 - </dependency>
 37+ <properties>
 38+ <!-- libraries versions -->
12639
127 -<!-- Hamcrest for assertThat testing format-->
 40+ <tomcat.version>6.0.29</tomcat.version>
 41+ <solr.version>1.4.1</solr.version>
 42+ <lucene.version>2.3.0</lucene.version>
 43+ <junit.version>4.10</junit.version>
 44+ <lucene.version>2.4.1</lucene.version>
 45+ <antlr.version>3.4</antlr.version>
12846
129 - <dependency>
130 - <groupId>org.hamcrest</groupId>
131 - <artifactId>hamcrest-all</artifactId>
132 - <version>1.1</version>
133 - </dependency>
 47+ <!-- misc project properties -->
 48+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 49+ <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
 50+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
 51+ <javac.src.version>1.6</javac.src.version>
 52+ <javac.target.version>1.6</javac.target.version>
 53+ <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ssZ</maven.build.timestamp.format>
 54+ <implementation.build>${maven.build.timestamp}</implementation.build>
 55+ </properties>
13456
135 -<!-- log4j since java servers should not write to the console -->
 57+ <build>
 58+ <defaultGoal>install</defaultGoal>
13659
137 - <dependency>
138 - <groupId>log4j</groupId>
139 - <artifactId>log4j</artifactId>
140 - <version>1.2.9</version>
141 - </dependency>
 60+ <pluginManagement>
14261
143 -<!-- Lucene provides search capabilities -->
144 -
145 - <dependency>
146 - <groupId>org.apache.lucene</groupId>
147 - <artifactId>lucene-core</artifactId>
148 - <version>${lucene.version}</version>
149 - </dependency>
 62+ <plugins>
15063
151 - <dependency>
152 - <groupId>org.apache.lucene</groupId>
153 - <artifactId>lucene-analyzers</artifactId>
154 - <version>${lucene.version}</version>
155 - </dependency>
15664
157 -
158 - <dependency>
159 - <groupId>org.apache.lucene</groupId>
160 - <artifactId>lucene-highlighter</artifactId>
161 - <version>${lucene.version}</version>
162 - </dependency>
163 -
164 -<!-- Lucene integration of Snowball Stemmers -->
165 - <dependency>
166 - <groupId>org.apache.lucene</groupId>
167 - <artifactId>lucene-snowball</artifactId>
168 - <version>${lucene.version}</version>
169 - </dependency>
170 -
171 - <dependency>
172 - <groupId>xmlrpc</groupId>
173 - <artifactId>xmlrpc-client</artifactId>
174 - <version>3.0</version>
175 - </dependency>
176 -
177 - <dependency>
178 - <groupId>xmlrpc</groupId>
179 - <artifactId>xmlrpc-server</artifactId>
180 - <version>3.0</version>
181 - </dependency>
182 -
183 - <dependency>
184 - <groupId>xmlrpc</groupId>
185 - <artifactId>xmlrpc-common</artifactId>
186 - <version>3.0</version>
187 - </dependency>
188 -
189 - <!-- web services
190 - <dependency>
191 - <groupId>ws-commons-util</groupId>
192 - <artifactId>ws-commons-util</artifactId>
193 - <version>1.0.1</version>
194 - </dependency>
195 -
196 - <dependency>
197 - <groupId>mysql</groupId>
198 - <artifactId>mysql-connector-java</artifactId>
199 -
200 - <version>5.1.18</version>
201 -
202 - </dependency>
203 - -->
 65+ <plugin>
 66+ <groupId>org.apache.maven.plugins</groupId>
 67+ <artifactId>maven-compiler-plugin</artifactId>
 68+ <version>2.3.2</version>
 69+ <configuration>
 70+ <encoding>UTF-8</encoding>
 71+ <source>${javac.src.version}</source>
 72+ <target>${javac.target.version}</target>
 73+ </configuration>
 74+ </plugin>
20475
205 -
206 - <dependency>
207 - <groupId>MWdumper</groupId>
208 - <artifactId>MWdumper</artifactId>
209 - <version>0.9.2</version>
210 - <scope>system</scope>
211 - <systemPath>${project.basedir}/lib/mwdumper.jar</systemPath>
212 - </dependency>
213 -
214 - <!-- We need to have the ANTLR runtime jar when running and compiling. -->
215 - <dependency>
216 - <groupId>org.antlr</groupId>
217 - <artifactId>antlr-runtime</artifactId>
218 - <version>${antlr.version}</version>
219 - <scope>compile</scope>
220 - </dependency>
221 - </dependencies>
22276
223 - <reporting>
 77+ <plugin>
 78+ <groupId>org.apache.maven.plugins</groupId>
 79+ <artifactId>maven-surefire-plugin</artifactId>
 80+ <version>2.11</version>
 81+ <configuration>
 82+ <testFailureIgnore>true</testFailureIgnore>
 83+ </configuration>
 84+ </plugin>
 85+
 86+ <plugin>
 87+ <groupId>org.antlr</groupId>
 88+ <artifactId>antlr3-maven-plugin</artifactId>
 89+ <version>${antlr.version}</version>
 90+ <executions>
 91+ <execution>
 92+ <goals>
 93+ <goal>antlr</goal>
 94+ </goals>
 95+ </execution>
 96+ </executions>
 97+ </plugin>
 98+ </plugins>
 99+ </pluginManagement>
 100+
224101 <plugins>
225 -
226 - <plugin>
227 - <groupId>org.apache.maven.plugins</groupId>
228 - <artifactId>maven-project-info-reports-plugin</artifactId>
229 - <version>2.1.1</version>
230 - </plugin>
231 -
232102 <plugin>
233 - <groupId>org.codehaus.mojo</groupId>
234 - <artifactId>cobertura-maven-plugin</artifactId>
235 - <version>2.5.1</version>
236 - </plugin>
237 -
238 - <plugin>
239103 <groupId>org.apache.maven.plugins</groupId>
240 - <artifactId>maven-jxr-plugin</artifactId>
241 - </plugin>
242 -
243 - <plugin>
244 - <groupId>org.apache.maven.plugins</groupId>
245 - <artifactId>maven-pmd-plugin</artifactId>
246 - <version>2.6</version>
247 - <configuration>
248 - <linkXref>true</linkXref>
249 - <sourceEncoding>utf-8</sourceEncoding>
250 - <minimumTokens>100</minimumTokens>
251 - <targetJdk>${javac.src.version}</targetJdk>
252 - <excludes>
253 - <exclude>**/*Bean.java</exclude>
254 - <exclude>**/generated/*.java</exclude>
255 - </excludes>
256 - <excludeRoots>
257 - <excludeRoot>target/generated-sources/stubs</excludeRoot>
258 - </excludeRoots>
259 - </configuration>
260 - </plugin>
261 -
 104+ <artifactId>maven-site-plugin</artifactId>
 105+ <version>3.0-beta-3</version>
 106+ <executions>
 107+ <execution>
 108+ <id>attach-descriptor</id>
 109+ <goals>
 110+ <goal>attach-descriptor</goal>
 111+ </goals>
 112+ </execution>
 113+ </executions>
262114
263 - <plugin>
264 - <groupId>org.apache.maven.plugins</groupId>
265 - <artifactId>maven-javadoc-plugin</artifactId>
266 - <version>2.8.1</version>
267 - <configuration>
268 - <doctitle>API for ${project.name} ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
269 - <windowtitle>API for ${project.name} ${project.version}</windowtitle> <!-- Used by javadoc:javadoc goal -->
270 - <testDoctitle>Test API for ${project.name} ${project.version}</testDoctitle> <!-- Used by javadoc:test-javadoc goal -->
271 - <testWindowtitle>Test API for ${project.name} ${project.version}</testWindowtitle> <!-- Used by javadoc:test-javadoc goal -->
272 - <links>
273 - <link>http://commons.apache.org/lang/api</link>
274 - <link>http://lucene.apache.org/java/3_5_0/api</link>
275 - <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
276 - </links>
277 - <show>protected</show>
278 - <linksource>true</linksource>
 115+
 116+ <configuration>
 117+ <reportPlugins>
 118+
 119+
 120+ <plugin>
 121+ <groupId>org.apache.maven.plugins</groupId>
 122+ <artifactId>maven-project-info-reports-plugin</artifactId>
 123+ <version>2.1.1</version>
 124+ </plugin>
 125+
 126+ <plugin>
 127+ <groupId>org.codehaus.mojo</groupId>
 128+ <artifactId>cobertura-maven-plugin</artifactId>
 129+ <version>2.5.1</version>
 130+ </plugin>
 131+
 132+ <plugin>
 133+ <groupId>org.apache.maven.plugins</groupId>
 134+ <artifactId>maven-jxr-plugin</artifactId>
 135+ </plugin>
 136+
 137+ <plugin>
 138+ <groupId>org.apache.maven.plugins</groupId>
 139+ <artifactId>maven-pmd-plugin</artifactId>
 140+ <version>2.6</version>
 141+ <configuration>
 142+ <linkXref>true</linkXref>
 143+ <sourceEncoding>utf-8</sourceEncoding>
 144+ <minimumTokens>100</minimumTokens>
 145+ <targetJdk>${javac.src.version}</targetJdk>
 146+ <excludes>
 147+ <exclude>**/*Bean.java</exclude>
 148+ <exclude>**/generated/*.java</exclude>
 149+ </excludes>
 150+ <excludeRoots>
 151+ <excludeRoot>target/generated-sources/stubs</excludeRoot>
 152+ </excludeRoots>
 153+ </configuration>
 154+ </plugin>
 155+
 156+
 157+ <plugin>
 158+ <groupId>org.apache.maven.plugins</groupId>
 159+ <artifactId>maven-javadoc-plugin</artifactId>
 160+ <version>2.8.1</version>
 161+ <configuration>
 162+ <doctitle>API for ${project.name} ${project.version}</doctitle> <!-- Used by javadoc:javadoc goal -->
 163+ <windowtitle>API for ${project.name} ${project.version}</windowtitle> <!-- Used by javadoc:javadoc goal -->
 164+ <testDoctitle>Test API for ${project.name} ${project.version}</testDoctitle> <!-- Used by javadoc:test-javadoc goal -->
 165+ <testWindowtitle>Test API for ${project.name} ${project.version}</testWindowtitle> <!-- Used by javadoc:test-javadoc goal -->
 166+ <links>
 167+ <link>http://commons.apache.org/lang/api</link>
 168+ <link>http://lucene.apache.org/java/3_5_0/api</link>
 169+ <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
 170+ </links>
 171+ <show>protected</show>
 172+ <linksource>true</linksource>
 173+ </configuration>
 174+ </plugin>
 175+
 176+ </reportPlugins>
 177+
279178 </configuration>
280 - </plugin>
281 -
 179+
 180+ </plugin>
282181 </plugins>
283 - </reporting>
 182+ </build>
 183+
 184+ <dependencies>
 185+
 186+ <!-- JUnit for Unit Testing -->
 187+
 188+ <dependency>
 189+ <groupId>junit</groupId>
 190+ <artifactId>junit</artifactId>
 191+ <version>${junit.version}</version>
 192+ <scope>test</scope>
 193+ </dependency>
 194+
 195+ <!-- Hamcrest for assertThat testing format -->
 196+
 197+ <dependency>
 198+ <groupId>org.hamcrest</groupId>
 199+ <artifactId>hamcrest-all</artifactId>
 200+ <version>1.1</version>
 201+ </dependency>
 202+
 203+ <!-- log4j since java servers should not write to the console -->
 204+
 205+ <dependency>
 206+ <groupId>log4j</groupId>
 207+ <artifactId>log4j</artifactId>
 208+ <version>1.2.9</version>
 209+ </dependency>
 210+
 211+ <!-- Lucene provides search capabilities -->
 212+
 213+ <dependency>
 214+ <groupId>org.apache.lucene</groupId>
 215+ <artifactId>lucene-core</artifactId>
 216+ <version>${lucene.version}</version>
 217+ </dependency>
 218+
 219+ <dependency>
 220+ <groupId>org.apache.lucene</groupId>
 221+ <artifactId>lucene-analyzers</artifactId>
 222+ <version>${lucene.version}</version>
 223+ </dependency>
 224+
 225+
 226+ <dependency>
 227+ <groupId>org.apache.lucene</groupId>
 228+ <artifactId>lucene-highlighter</artifactId>
 229+ <version>${lucene.version}</version>
 230+ </dependency>
 231+
 232+ <!-- Lucene integration of Snowball Stemmers -->
 233+ <dependency>
 234+ <groupId>org.apache.lucene</groupId>
 235+ <artifactId>lucene-snowball</artifactId>
 236+ <version>${lucene.version}</version>
 237+ </dependency>
 238+
 239+ <dependency>
 240+ <groupId>xmlrpc</groupId>
 241+ <artifactId>xmlrpc-client</artifactId>
 242+ <version>3.0</version>
 243+ </dependency>
 244+
 245+ <dependency>
 246+ <groupId>xmlrpc</groupId>
 247+ <artifactId>xmlrpc-server</artifactId>
 248+ <version>3.0</version>
 249+ </dependency>
 250+
 251+ <dependency>
 252+ <groupId>xmlrpc</groupId>
 253+ <artifactId>xmlrpc-common</artifactId>
 254+ <version>3.0</version>
 255+ </dependency>
 256+
 257+ <!-- web services <dependency> <groupId>ws-commons-util</groupId> <artifactId>ws-commons-util</artifactId>
 258+ <version>1.0.1</version> </dependency> <dependency> <groupId>mysql</groupId>
 259+ <artifactId>mysql-connector-java</artifactId> <version>5.1.18</version> </dependency> -->
 260+
 261+
 262+ <dependency>
 263+ <groupId>MWdumper</groupId>
 264+ <artifactId>MWdumper</artifactId>
 265+ <version>0.9.2</version>
 266+ <scope>system</scope>
 267+ <systemPath>${project.basedir}/lib/mwdumper.jar</systemPath>
 268+ </dependency>
 269+
 270+ <!-- We need to have the ANTLR runtime jar when running and compiling. -->
 271+ <dependency>
 272+ <groupId>org.antlr</groupId>
 273+ <artifactId>antlr-runtime</artifactId>
 274+ <version>${antlr.version}</version>
 275+ <scope>compile</scope>
 276+ </dependency>
 277+ </dependencies>
 278+
 279+
284280 </project>

Status & tagging log