Modified: james/mpt/trunk/pom.xml URL: http://svn.apache.org/viewvc/james/mpt/trunk/pom.xml?rev=1186135&r1=1186134&r2=1186135&view=diff ============================================================================== --- james/mpt/trunk/pom.xml (original) +++ james/mpt/trunk/pom.xml Wed Oct 19 12:06:29 2011 @@ -1,532 +1,537 @@ <?xml version="1.0" encoding="ISO-8859-15"?> <!-- - 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 + 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. + 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"> - <modelVersion>4.0.0</modelVersion> - <parent> - <artifactId>james-project</artifactId> +<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"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <artifactId>james-project</artifactId> + <groupId>org.apache.james</groupId> + <version>1.6</version> + <relativePath></relativePath> + </parent> + <groupId>org.apache.james</groupId> - <version>1.6</version> - </parent> - <groupId>org.apache.james</groupId> - <artifactId>apache-james-mpt-project</artifactId> - <name>Apache JAMES MPT Project</name> - <version>0.2-SNAPSHOT</version> - <description>Functional test framework specialised for the ASCII line-base protocols common in mail.</description> - <url>http://james.apache.org/mpt/</url> - <inceptionYear>2008</inceptionYear> - <packaging>pom</packaging> - - <prerequisites> - <maven>3.0.2</maven> - </prerequisites> - - <issueManagement> - <system>JIRA</system> - <url>http://issues.apache.org/jira/browse/MPT</url> - </issueManagement> - - <modules> - <module>main</module> - <module>antlib</module> - <module>app</module> - <module>assemble</module> - <module>mavenplugin</module> - </modules> - - <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/james/mpt/trunk</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mpt/trunk</developerConnection> - <url>http://svn.apache.org/viewcvs.cgi/james/mpt/trunk?root=Apache-SVN</url> - </scm> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>3.0-beta-3</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>1.4</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <version>2.5</version> - </plugin> - <plugin> - <goals>org.apache.maven.plugins</goals> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.7</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <version>2.7</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.4.3</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.3.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <version>2.4</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.8</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>cobertura-maven-plugin</artifactId> - <version>2.4</version> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <version>0.7</version> - </plugin> - <plugin> - <groupId>org.apache.felix</groupId> - <artifactId>maven-bundle-plugin</artifactId> - <version>2.2.0</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>taglist-maven-plugin</artifactId> - <version>2.2</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>2.3.2</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>emma-maven-plugin</artifactId> - <version>1.0-alpha-3</version> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <optimize>true</optimize> - <source>${target.jdk}</source> - <target>${target.jdk}</target> - <encoding>iso8859-1</encoding> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <configuration> - <archive> - <manifest> - <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> - <addDefaultImplementationEntries>true</addDefaultImplementationEntries> - </manifest> - </archive> - </configuration> - <executions> - <execution> - <goals> - <goal>test-jar</goal> - </goals> - </execution> - </executions> - </plugin> - -<!-- - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-doap-plugin</artifactId> - <executions> - <execution> - <id>site</id> - <phase>site</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - <configuration> - <doapOptions> - <programmingLanguage>java</programmingLanguage> - <category>mail</category> - <download-page>http://james.apache.org/download.cgi</download-page> - </doapOptions> - - <asfExtOptions> - <included>true</included> - <pmc>http://james.apache.org</pmc> - <name>Apache JAMES</name> - </asfExtOptions> - - </configuration> - </plugin> - --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-source-plugin</artifactId> - <executions> - <execution> - <id>attach-sources</id> - <goals> - <goal>jar</goal> - </goals> - </execution> - </executions> - </plugin> - - <!-- Site generation --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <executions> - <execution> - <id>attach-descriptor</id> - <goals> - <goal>attach-descriptor</goal> - </goals> - <configuration> - <siteDirectory>${basedir}/src/site</siteDirectory> - <generateReports>false</generateReports> - </configuration> - </execution> - </executions> - <configuration> - <siteDirectory>${maven-site-plugin.siteDirectory}</siteDirectory> - <generateReports>${maven-site-plugin.generateReports}</generateReports> - <reportPlugins> - <!-- Order matters. First project-info-reports, second jxr. --> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <reports> - <report>dependencies</report> - <report>dependency-management</report> - <report>dependency-convergence</report> - <report>distribution-management</report> - <report>index</report> - <report>license</report> - <report>mailing-list</report> - <report>modules</report> - <report>plugin-management</report> - <report>plugins</report> - <report>project-team</report> - <report>scm</report> - <report>summary</report> - </reports> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jxr-plugin</artifactId> - <configuration> - <aggregate>true</aggregate> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <configuration> - <aggregate>true</aggregate> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes> - <exclude>NOTICE.*</exclude> - <exclude>LICENSE.*</exclude> - <!-- Generated by Maven --> - <exclude>release.properties</exclude> - <exclude>dist/**/*</exclude> - <!-- Eclipse --> - <exclude>**/.*</exclude> - <exclude>.*/**/*</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <configuration> - <aggregate>true</aggregate> - <targetJdk>${target.jdk}</targetJdk> - <rulesets> - <ruleset>/rulesets/basic.xml</ruleset> - <ruleset>/rulesets/unusedcode.xml</ruleset> - <ruleset>/rulesets/imports.xml</ruleset> - </rulesets> - <format>xml</format> - <linkXref>true</linkXref> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <minmemory>256m</minmemory> - <maxmemory>1g</maxmemory> - <linksource>true</linksource> - <tags> - <tag> - <name>note</name> - <placement>a</placement> - <head>NOTE</head> - </tag> - <tag> - <name>todo</name> - <placement>a</placement> - <head>TODO</head> - </tag> - <tag> - <name>warning</name> - <placement>a</placement> - <head>WARNING</head> - </tag> - </tags> - <source>1.5</source> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>aggregate</report> - <report>test-aggregate</report> - </reports> - </reportSet> - </reportSets> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>emma-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <configuration> - <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> - <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation> - <!-- required by dashboard plugin and hudson --> - <xmlOutput>true</xmlOutput> - <effort>Max</effort> - <findbugsXmlOutput>true</findbugsXmlOutput> - <findbugsXmlWithMessages>true</findbugsXmlWithMessages> - </configuration> - </plugin> - <!-- - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-changes-plugin</artifactId> - <configuration> - <onlyCurrentVersion>true</onlyCurrentVersion> - <resolutionIds>Fixed</resolutionIds> - <statusIds>Resolved,Closed</statusIds> - <columnNames>Type,Key,Summary,Status,Resolution,Fix Version</columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>jira-report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - --> - </reportPlugins> - </configuration> - </plugin> - </plugins> - </build> + <artifactId>apache-james-mpt-project</artifactId> + <version>0.2-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Apache JAMES MPT Project</name> + <description>Functional test framework specialised for the ASCII line-base protocols common in mail.</description> + <url>http://james.apache.org/mpt/</url> + <inceptionYear>2008</inceptionYear> - <mailingLists> - <mailingList> + <mailingLists> + <mailingList> <name>Apache James Server User Lists</name> <subscribe>[email protected]</subscribe> <unsubscribe>[email protected]</unsubscribe> <post>[email protected]</post> <archive>http://mail-archives.apache.org/mod_mbox/james-server-user/</archive> - </mailingList> - <mailingList> + </mailingList> + <mailingList> <name>Apache James Server Developer Lists</name> <subscribe>[email protected]</subscribe> <unsubscribe>[email protected]</unsubscribe> <post>[email protected]</post> <archive>http://mail-archives.apache.org/mod_mbox/james-server-dev/</archive> - </mailingList> - </mailingLists> + </mailingList> + </mailingLists> + + <prerequisites> + <maven>3.0.2</maven> + </prerequisites> + + <modules> + <module>main</module> + <module>antlib</module> + <module>app</module> + <module>assemble</module> + <module>mavenplugin</module> + </modules> + + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/james/mpt/trunk</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/james/mpt/trunk</developerConnection> + <url>http://svn.apache.org/viewcvs.cgi/james/mpt/trunk?root=Apache-SVN</url> + </scm> + <issueManagement> + <system>JIRA</system> + <url>http://issues.apache.org/jira/browse/MPT</url> + </issueManagement> + + <distributionManagement> + <site> + <id>${james.www.id}</id> + <url>${james.mpt.www}</url> + </site> + </distributionManagement> + + <properties> + <!-- + The website is committed to subversion. This property can be overriden + to upload the site to a local staging location. + For example, adding the following to ~/.m2/settings.xml will upload + to localhost: + + <profiles> + <profile> + <id>main</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <james.www>scp://localhost/www</james.www> + <james.www.id>localhost</james.www.id> + ... + --> + <!-- General location for site stage --> + <james.www>scp://people.apache.org/www/james.apache.org/</james.www> + <!-- Project specific location, allowing specific override --> + <james.mpt.www>${james.www}/mpt/</james.mpt.www> + <!-- Overridding this value allows single set of loopback settings to be maintained --> + <james.www.id>mpt-website</james.www.id> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <target.jdk>1.5</target.jdk> + </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-antlib</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-antlib</artifactId> + <version>${project.version}</version> + <classifier>tests</classifier> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-app</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-app</artifactId> + <version>${project.version}</version> + <classifier>tests</classifier> + <scope>test</scope> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-main</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>apache-james-mpt-main</artifactId> + <version>${project.version}</version> + <classifier>tests</classifier> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.1</version> + <exclusions> + <exclusion> + <artifactId>logkit</artifactId> + <groupId>logkit</groupId> + </exclusion> + <exclusion> + <artifactId>avalon-framework</artifactId> + <groupId>avalon-framework</groupId> + </exclusion> + <exclusion> + <artifactId>log4j</artifactId> + <groupId>log4j</groupId> + </exclusion> + <exclusion> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + </dependency> + <dependency> + <groupId>jmock</groupId> + <artifactId>jmock</artifactId> + <version>1.1.0</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + <version>1.7.1</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-antunit</artifactId> + <version>1.1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.1</version> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>3.0-beta-3</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <version>1.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.5</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.7</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>2.7</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.4.3</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.3.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.8</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>cobertura-maven-plugin</artifactId> + <version>2.4</version> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.7</version> + </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>2.2.0</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>taglist-maven-plugin</artifactId> + <version>2.2</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>2.3.2</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>emma-maven-plugin</artifactId> + <version>1.0-alpha-3</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <optimize>true</optimize> + <source>${target.jdk}</source> + <target>${target.jdk}</target> + <encoding>iso8859-1</encoding> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + </manifest> + </archive> + </configuration> + <executions> + <execution> + <goals> + <goal>test-jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-doap-plugin</artifactId> + <executions> + <execution> + <id>site</id> + <phase>site</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <configuration> + <doapOptions> + <programmingLanguage>java</programmingLanguage> + <category>mail</category> + <download-page>http://james.apache.org/download.cgi</download-page> + </doapOptions> + + <asfExtOptions> + <included>true</included> + <pmc>http://james.apache.org</pmc> + <name>Apache JAMES</name> + </asfExtOptions> - <distributionManagement> - <site> - <id>${james.www.id}</id> - <url>${james.mpt.www}</url> - </site> - </distributionManagement> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-antlib</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-antlib</artifactId> - <version>${project.version}</version> - <classifier>tests</classifier> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-app</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-app</artifactId> - <version>${project.version}</version> - <classifier>tests</classifier> - <scope>test</scope> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-main</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>apache-james-mpt-main</artifactId> - <version>${project.version}</version> - <classifier>tests</classifier> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.1</version> - <exclusions> - <exclusion> - <artifactId>logkit</artifactId> - <groupId>logkit</groupId> - </exclusion> - <exclusion> - <artifactId>avalon-framework</artifactId> - <groupId>avalon-framework</groupId> - </exclusion> - <exclusion> - <artifactId>log4j</artifactId> - <groupId>log4j</groupId> - </exclusion> - <exclusion> - <groupId>javax.servlet</groupId> - <artifactId>servlet-api</artifactId> - </exclusion> - </exclusions> - </dependency> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>3.8.1</version> - </dependency> - <dependency> - <groupId>jmock</groupId> - <artifactId>jmock</artifactId> - <version>1.1.0</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant</artifactId> - <version>1.7.1</version> - </dependency> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant-antunit</artifactId> - <version>1.1</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-cli</groupId> - <artifactId>commons-cli</artifactId> - <version>1.1</version> - </dependency> - </dependencies> - </dependencyManagement> - - <properties> - <!-- - The website is committed to subversion. This property can be overriden - to upload the site to a local staging location. - For example, adding the following to ~/.m2/settings.xml will upload - to localhost: - - <profiles> - <profile> - <id>main</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <james.www>scp://localhost/www</james.www> - <james.www.id>localhost</james.www.id> - ... - --> - <!-- General location for site stage --> - <james.www>scp://people.apache.org/www/james.apache.org/</james.www> - <!-- Project specific location, allowing specific override --> - <james.mpt.www>${james.www}/mpt/</james.mpt.www> - <!-- Overridding this value allows single set of loopback settings to be maintained --> - <james.www.id>mpt-website</james.www.id> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <target.jdk>1.5</target.jdk> - </properties> + </configuration> + </plugin> + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + <!-- Site generation --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <executions> + <execution> + <id>attach-descriptor</id> + <goals> + <goal>attach-descriptor</goal> + </goals> + <configuration> + <siteDirectory>${basedir}/src/site</siteDirectory> + <generateReports>false</generateReports> + </configuration> + </execution> + </executions> + <configuration> + <siteDirectory>${maven-site-plugin.siteDirectory}</siteDirectory> + <generateReports>${maven-site-plugin.generateReports}</generateReports> + <reportPlugins> + <!-- Order matters. First project-info-reports, second jxr. --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <reports> + <report>dependencies</report> + <report>dependency-management</report> + <report>dependency-convergence</report> + <report>distribution-management</report> + <report>index</report> + <report>license</report> + <report>mailing-list</report> + <report>modules</report> + <report>plugin-management</report> + <report>plugins</report> + <report>project-team</report> + <report>scm</report> + <report>summary</report> + </reports> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jxr-plugin</artifactId> + <configuration> + <aggregate>true</aggregate> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + <configuration> + <aggregate>true</aggregate> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes> + <exclude>NOTICE.*</exclude> + <exclude>LICENSE.*</exclude> + <!-- Generated by Maven --> + <exclude>release.properties</exclude> + <exclude>dist/**/*</exclude> + <!-- Eclipse --> + <exclude>**/.*</exclude> + <exclude>.*/**/*</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <configuration> + <aggregate>true</aggregate> + <targetJdk>${target.jdk}</targetJdk> + <rulesets> + <ruleset>/rulesets/basic.xml</ruleset> + <ruleset>/rulesets/unusedcode.xml</ruleset> + <ruleset>/rulesets/imports.xml</ruleset> + </rulesets> + <format>xml</format> + <linkXref>true</linkXref> + <sourceEncoding>utf-8</sourceEncoding> + <minimumTokens>100</minimumTokens> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <minmemory>256m</minmemory> + <maxmemory>1g</maxmemory> + <linksource>true</linksource> + <tags> + <tag> + <name>note</name> + <placement>a</placement> + <head>NOTE</head> + </tag> + <tag> + <name>todo</name> + <placement>a</placement> + <head>TODO</head> + </tag> + <tag> + <name>warning</name> + <placement>a</placement> + <head>WARNING</head> + </tag> + </tags> + <source>1.5</source> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>aggregate</report> + <report>test-aggregate</report> + </reports> + </reportSet> + </reportSets> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>emma-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <configuration> + <xrefLocation>${project.reporting.outputDirectory}/../xref</xrefLocation> + <xrefTestLocation>${project.reporting.outputDirectory}/../xref-test</xrefTestLocation> + <!-- required by dashboard plugin and hudson --> + <xmlOutput>true</xmlOutput> + <effort>Max</effort> + <findbugsXmlOutput>true</findbugsXmlOutput> + <findbugsXmlWithMessages>true</findbugsXmlWithMessages> + </configuration> + </plugin> + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-changes-plugin</artifactId> + <configuration> + <onlyCurrentVersion>true</onlyCurrentVersion> + <resolutionIds>Fixed</resolutionIds> + <statusIds>Resolved,Closed</statusIds> + <columnNames>Type,Key,Summary,Status,Resolution,Fix Version</columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>jira-report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + --> + </reportPlugins> + </configuration> + </plugin> + </plugins> + </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
