| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --><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> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>13</version> |
| </parent> |
| |
| <groupId>org.apache.jspwiki</groupId> |
| <artifactId>jspwiki-builder</artifactId> |
| <modelVersion>4.0.0</modelVersion> |
| <name>Apache JSPWiki</name> |
| <version>2.10.0-SNAPSHOT</version> |
| <packaging>pom</packaging> |
| <description>Apache JSPWiki is a leading open source WikiWiki engine, feature-rich |
| and built around standard J2EE components (Java, servlets, JSP).</description> |
| <url>http://jspwiki.apache.org/</url> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <jdk.version>1.6</jdk.version> |
| <lucene.version>4.6.0</lucene.version> |
| </properties> |
| |
| <prerequisites> |
| <maven>3.0.4</maven> |
| </prerequisites> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/jspwiki/trunk</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/jspwiki/trunk</developerConnection> |
| <url>http://svn.apache.org/viewvc/jspwiki/trunk</url> |
| </scm> |
| |
| <modules> |
| <module>jspwiki-war</module> |
| <module>jspwiki-wikipages</module> |
| <module>jspwiki-it-tests</module><!-- IT tests are launched only if -Pintegration-tests is given --> |
| </modules> |
| |
| <dependencyManagement> <!-- defines what configuration is going to be used if, and only if, the dependency is used --> |
| <dependencies> <!-- ordered alphabetically by scope:groupId:artifactId --> |
| <!-- compile dependencies --> |
| <dependency> |
| <groupId>com.metaparadigm</groupId> |
| <artifactId>json-rpc</artifactId> |
| <version>1.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-fileupload</groupId> |
| <artifactId>commons-fileupload</artifactId> |
| <version>1.3</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-httpclient</groupId> |
| <artifactId>commons-httpclient</artifactId> |
| <version>3.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>2.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>2.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>ecs</groupId> |
| <artifactId>ecs</artifactId> |
| <version>1.4.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.mail</groupId> |
| <artifactId>mail</artifactId> |
| <version>1.4.7</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jstl</artifactId> |
| <version>1.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jdom</groupId> |
| <artifactId>jdom2</artifactId> |
| <version>2.0.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>jaxen</groupId> |
| <artifactId>jaxen</artifactId> |
| <version>1.1.4</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>1.2.17</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>1.7.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sourceforge</groupId> |
| <artifactId>akismet-java</artifactId> |
| <version>1.02</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sourceforge</groupId> |
| <artifactId>sandler</artifactId> |
| <version>0.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sf.ehcache</groupId> |
| <artifactId>ehcache-core</artifactId> |
| <version>2.6.6</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-queryparser</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-highlighter</artifactId> |
| <version>${lucene.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.lucene</groupId> |
| <artifactId>lucene-analyzers-common</artifactId> |
| <scope>compile</scope> |
| <version>${lucene.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.freshcookies</groupId> |
| <artifactId>freshcookies-security</artifactId> |
| <version>0.60</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jvnet.hudson</groupId> |
| <artifactId>org.suigeneris.jrcs.diff</artifactId> |
| <version>0.4.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.seleniumhq.selenium</groupId> |
| <artifactId>selenium-chrome-driver</artifactId> |
| <version>2.33.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.seleniumhq.selenium</groupId> |
| <artifactId>selenium-firefox-driver</artifactId> |
| <version>2.33.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.seleniumhq.selenium</groupId> |
| <artifactId>selenium-ie-driver</artifactId> |
| <version>2.33.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| <version>2.0.8</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>xmlrpc</groupId> |
| <artifactId>xmlrpc</artifactId> |
| <version>2.0.1</version> |
| </dependency> |
| |
| <!-- test dependencies --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>4.11</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>net.sourceforge.stripes</groupId> |
| <artifactId>stripes</artifactId> |
| <version>1.5.7</version> |
| </dependency> |
| |
| <!-- |
| Note: As Jetty activates during the build, can upgrade |
| only to the latest Jetty version that can run on the |
| minimum JDK JSPWiki supports: |
| http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html |
| --> |
| <dependency> |
| <groupId>org.eclipse.jetty.aggregate</groupId> |
| <artifactId>jetty-all</artifactId> |
| <version>8.1.12.v20130726</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hsqldb</groupId> |
| <artifactId>sqltool</artifactId> |
| <version>2.3.0</version> |
| </dependency> |
| |
| <!-- provided dependencies --> |
| <dependency> |
| <groupId>javax.servlet.jsp</groupId> |
| <artifactId>jsp-api</artifactId> |
| <version>2.1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| <version>2.5</version> |
| </dependency> |
| |
| <!-- runtime dependencies --> |
| <dependency> |
| <groupId>nekohtml</groupId> |
| <artifactId>nekohtml</artifactId> |
| <version>0.9.5</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <build> |
| <plugins> <!-- plugins executed with every build --> |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>enforcer-validations</id> |
| <goals><goal>enforce</goal></goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| |
| <pluginManagement> <!-- defines what configuration is going to be used if, and only if, the plugin is used --> |
| <plugins> <!-- ordered alphabetically by groupId (default first):artifactId --> |
| <plugin> <!-- default maven plugins have their version configured to make the build independent of the maven version used --> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>1.7</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>2.4</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>2.5</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.1</version> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <source>${jdk.version}</source> |
| <target>${jdk.version}</target> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.9</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| <additionalConfig> |
| <file> |
| <name>.checkstyle</name> |
| <location>./jspwiki-war/src/main/config/dev/jspwiki-checkstyle.xml</location> |
| </file> |
| <file> |
| <name>.settings/org.eclipse.jdt.core.prefs</name> |
| <location>./jspwiki-war/src/main/config/dev/jspwiki-eclipse-codestyle.xml</location> |
| </file> |
| </additionalConfig> |
| <additionalProjectnatures> |
| <projectnature>net.sourceforge.metrics.nature</projectnature> |
| <projectnature>net.sf.eclipsecs.core.CheckstyleNature</projectnature> |
| </additionalProjectnatures> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-idea-plugin</artifactId> |
| <version>2.2.1</version> |
| <configuration> |
| <downloadSources>true</downloadSources> |
| <downloadJavadocs>true</downloadJavadocs> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-enforcer-plugin</artifactId> |
| <version>1.3.1</version> |
| <configuration> |
| <fail>true</fail> |
| <rules> |
| <requireJavaVersion> |
| <message>MUST USE JDK 1.6</message> |
| <version>${jdk.version}</version> |
| </requireJavaVersion> |
| <requireMavenVersion> |
| <message>BUILD REQUIRES MAVEN 3</message> |
| <version>[3.0,)</version> |
| </requireMavenVersion> |
| </rules> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| <manifestEntries> |
| <Extension-Name>${project.artifactId}</Extension-Name> |
| </manifestEntries> |
| </archive> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <createChecksum>true</createChecksum> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.9.1</version> |
| <configuration> |
| <additionalparam> |
| -charset ${project.build.sourceEncoding} |
| -docencoding ${project.build.sourceEncoding} |
| -version |
| -author |
| -breakiterator |
| -linksource |
| -sourcetab 4 |
| -windowtitle "${project.name} ${project.version}" |
| -bottom "" |
| -doctitle "${project.name} ${project.version}" |
| -link {project.organization.url} |
| </additionalparam> |
| <bottom>Copyright © {inceptionYear}-{currentYear} ${project.organization.name}. All rights reserved.</bottom> |
| <doclet>org.jboss.apiviz.APIviz</doclet> |
| <docletArtifact> |
| <groupId>org.jboss.apiviz</groupId> |
| <artifactId>apiviz</artifactId> |
| <version>1.3.2.GA</version> |
| </docletArtifact> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| <quiet>true</quiet> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.7</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <encoding>${project.build.sourceEncoding}</encoding> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.2.1</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>2.16</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>2.16</version> |
| </plugin> |
| |
| <plugin> |
| <artifactId>maven-war-plugin</artifactId> |
| <version>2.4</version> |
| <configuration> |
| <archive> |
| <manifest> |
| <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
| <addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
| </manifest> |
| <manifestEntries> |
| <Extension-Name>${project.artifactId}</Extension-Name> |
| <Implementation-Version>${project.version}</Implementation-Version> |
| <Specification-Version>${project.version}</Specification-Version> |
| </manifestEntries> |
| </archive> |
| <archiveClasses>true</archiveClasses> |
| </configuration> |
| </plugin> |
| |
| <!-- wro4j Web Resource Optimizer for Java (http://http://code.google.com/p/wro4j/) |
| Merge and compress CSS and JS files using the WRO4J. |
| - use UglifyJS for JS compression |
| - use Less as advanced CSS preprocessor |
| --> |
| |
| <plugin> |
| <groupId>ro.isdc.wro4j</groupId> |
| <artifactId>wro4j-maven-plugin</artifactId> |
| <version>1.7.2</version> |
| </plugin> |
| |
| <!-- yuicompressor => replaced by wro4j |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>yuicompressor-maven-plugin</artifactId> |
| <version>1.3.2</version> |
| </plugin> |
| --> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jslint-maven-plugin</artifactId> |
| <version>1.0.1</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.10</version> |
| <configuration> |
| <excludes> |
| <exclude>mvn_cheat-sheet.txt</exclude> <!-- handy list of maven commands; will be moved to site once we've switched to Maven --> |
| <exclude>**/src/main/config/doc/LICENSE.*</exclude> <!-- 3rd party License files --> |
| <exclude>**/src/main/config/wikipages/**</exclude> <!-- Default wikipages --> |
| <exclude>**/src/main/config/dev/OldChangeLog</exclude> <!-- ChangeLog excluded by default, this is, well, an old ChangeLog --> |
| <exclude>**/src/main/webapp/scripts/*.js</exclude> <!-- minified files --> |
| <exclude>**/src/test/resources/TextFormattingRules.txt</exclude> <!-- test input data --> |
| <exclude>**/src/test/resources/test-repo/*.txt</exclude> <!-- web tests input data --> |
| <exclude>**/src/main/webapp/templates/default/images/SilkIconSet-readme.txt</exclude> <!-- license, required by Silk Icon set cfr. NOTICE, LICENSE, etc. --> |
| </excludes> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.tomcat.maven</groupId> |
| <artifactId>tomcat7-maven-plugin</artifactId> |
| <version>2.2</version> |
| <configuration> |
| <contextReloadable>true</contextReloadable> |
| <port>8080</port> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>clirr-maven-plugin</artifactId> |
| <version>2.6.1</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>cobertura-maven-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <formats> |
| <format>html</format> |
| <format>xml</format> |
| </formats> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>selenium-maven-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <background>true</background> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>sonar-maven-plugin</artifactId> |
| <version>2.2</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.sonar-plugins</groupId> |
| <artifactId>maven-report</artifactId> |
| <version>0.1</version> |
| </plugin> |
| |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| <configuration> |
| <lifecycleMappingMetadata> |
| <pluginExecutions> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>yuicompressor-maven-plugin</artifactId> |
| <versionRange>[1.3.2,)</versionRange> |
| <goals><goal>compress</goal></goals> |
| </pluginExecutionFilter> |
| <action><ignore /></action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <versionRange>[1.7,)</versionRange> |
| <goals><goal>run</goal></goals> |
| </pluginExecutionFilter> |
| <action><ignore /></action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>jslint-maven-plugin</artifactId> |
| <versionRange>[1.0.1,)</versionRange> |
| <goals><goal>jslint</goal></goals> |
| </pluginExecutionFilter> |
| <action><ignore /></action> |
| </pluginExecution> |
| <pluginExecution> |
| <pluginExecutionFilter> |
| <groupId>ro.isdc.wro4j</groupId> |
| <artifactId>wro4j-maven-plugin</artifactId> |
| <versionRange>[1.7.2,)</versionRange> |
| <goals><goal>run</goal></goals> |
| </pluginExecutionFilter> |
| <action><ignore /></action> |
| </pluginExecution> |
| </pluginExecutions> |
| </lifecycleMappingMetadata> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>build-wikipages-zip</id> |
| <activation> |
| <file> |
| <exists>../assembly/zip.xml</exists> |
| </file> |
| </activation> |
| <build> <!-- apache-release from project's parent pom enables assembly plugin on all modules, so to build the --> |
| <plugins> <!-- wikipages zip we must fall back to invoke it on each wikipage submodule. In order to reuse some --> |
| <plugin> <!-- build logic, we use a custom profile. Cfr with property on each jspwiki-wikipages submodule. --> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>create-wikipages-zip</id> |
| <phase>package</phase> |
| <goals><goal>single</goal></goals> |
| <configuration> |
| <appendAssemblyId>false</appendAssemblyId> |
| <descriptors> |
| <descriptor>../assembly/zip.xml</descriptor> |
| </descriptors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| |
| <organization> |
| <name>The Apache Software Foundation</name> |
| <url>http://www.apache.org/</url> |
| </organization> |
| |
| <licenses> |
| <license> |
| <name>The Apache Software License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| </license> |
| </licenses> |
| |
| <mailingLists> |
| <mailingList> |
| <name>Apache JSPWiki-dev List</name> |
| <subscribe>dev-subscribe@jspwiki.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@jspwiki.apache.org</unsubscribe> |
| <post>dev@jspwiki.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/jspwiki-dev/</archive> |
| </mailingList> |
| |
| <mailingList> |
| <name>Apache JSPWiki-user List</name> |
| <subscribe>user-subscribe@jspwiki.apache.org</subscribe> |
| <unsubscribe>user-unsubscribe@jspwiki.apache.org</unsubscribe> |
| <post>user@jspwiki.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/jspwiki-user/</archive> |
| </mailingList> |
| |
| <mailingList> |
| <name>Apache JSPWiki-commits List</name> |
| <subscribe>commits-subscribe@jspwiki.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@jspwiki.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/jspwiki-commits/</archive> |
| </mailingList> |
| </mailingLists> |
| |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://issues.apache.org/jira/browse/JSPWIKI</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>Jenkins</system> |
| <url>https://builds.apache.org/job/JSPWiki</url> |
| </ciManagement> |
| </project> |