pom.xml revision 52
52N/A<?xml version="1.0" encoding="iso-8859-1"?>
52N/A<!--
52N/A DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
52N/A
52N/A Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
52N/A
52N/A The contents of this file are subject to the terms of either the GNU
52N/A General Public License Version 2 only ("GPL") or the Common Development
52N/A and Distribution License("CDDL") (collectively, the "License"). You
52N/A may not use this file except in compliance with the License. You can obtain
52N/A a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
52N/A or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
52N/A language governing permissions and limitations under the License.
52N/A
52N/A When distributing the software, include this License Header Notice in each
52N/A file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
52N/A Sun designates this particular file as subject to the "Classpath" exception
52N/A as provided by Sun in the GPL Version 2 section of the License file that
52N/A accompanied this code. If applicable, add the following below the License
52N/A Header, with the fields enclosed by brackets [] replaced by your own
52N/A identifying information: "Portions Copyrighted [year]
52N/A [name of copyright owner]"
52N/A
52N/A Contributor(s):
52N/A
52N/A If you wish your version of this file to be governed by only the CDDL or
52N/A only the GPL Version 2, indicate your decision by adding "[Contributor]
52N/A elects to include this software in this distribution under the [CDDL or GPL
52N/A Version 2] license." If you don't indicate a single choice of license, a
52N/A recipient has the option to distribute your version of this file under
52N/A either the CDDL, the GPL Version 2 or to extend the choice of license to
52N/A its licensees as provided above. However, if you add GPL Version 2 code
52N/A and therefore, elected the GPL Version 2 license, then the option applies
52N/A only if the new code is made subject to such option by the copyright
52N/A holder.
52N/A-->
52N/A
15N/A<project xmlns="http://maven.apache.org/POM/4.0.0"
15N/A xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
15N/A xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
15N/A http://maven.apache.org/maven-v4_0_0.xsd">
15N/A <parent>
15N/A <groupId>com.sun.mail</groupId>
15N/A <artifactId>all</artifactId>
15N/A <version>1.4.2-SNAPSHOT</version>
15N/A </parent>
15N/A <modelVersion>4.0.0</modelVersion>
15N/A <groupId>com.sun.mail</groupId>
15N/A <artifactId>javadoc</artifactId>
15N/A <packaging>pom</packaging>
15N/A <version>1.4.2-SNAPSHOT</version>
15N/A <name>JavaMail API javadocs</name>
15N/A <description>${project.name}</description>
15N/A
15N/A <build>
15N/A <plugins>
15N/A <!--
15N/A To allow us to generate javadocs that only include some
15N/A classes in certain packages, we need to copy the sources
15N/A to another location and run javadoc against that subset
15N/A of the sources. This ant task does the copy.
15N/A -->
15N/A <plugin>
15N/A <artifactId>maven-antrun-plugin</artifactId>
15N/A <inherited>false</inherited>
15N/A <executions>
15N/A <execution>
15N/A <phase>package</phase>
15N/A <configuration>
15N/A <tasks>
15N/A
15N/A <copy todir="target/javadoc">
15N/A <fileset dir="/mail/src/main/java">
15N/A <include name="**/*.html"/>
15N/A <include name="javax/mail/**"/>
15N/A </fileset>
15N/A <fileset dir="/mail/src/main/java"
15N/A includes="
15N/A com/sun/mail/imap/IMAPFolder.java,
15N/A com/sun/mail/imap/IMAPMessage.java,
15N/A com/sun/mail/imap/IMAPStore.java,
15N/A com/sun/mail/imap/IMAPSSLStore.java
15N/A com/sun/mail/imap/ACL.java,
15N/A com/sun/mail/imap/Rights.java,
15N/A com/sun/mail/imap/Quota.java,
15N/A com/sun/mail/pop3/POP3Store.java,
15N/A com/sun/mail/pop3/POP3SSLStore.java,
15N/A com/sun/mail/pop3/POP3Folder.java,
15N/A com/sun/mail/pop3/POP3Message.java,
15N/A com/sun/mail/smtp/SMTPMessage.java,
15N/A com/sun/mail/smtp/SMTPAddressFailedException.java,
15N/A com/sun/mail/smtp/SMTPAddressSucceededException.java,
15N/A com/sun/mail/smtp/SMTPSendFailedException.java,
15N/A com/sun/mail/smtp/SMTPTransport.java,
15N/A com/sun/mail/smtp/SMTPSSLTransport.java
15N/A "/>
15N/A <fileset dir="/dsn/src/main/java"
15N/A includes="
15N/A com/sun/mail/dsn/DeliveryStatus.java,
15N/A com/sun/mail/dsn/MessageHeaders.java,
15N/A com/sun/mail/dsn/MultipartReport.java
15N/A "/>
15N/A </copy>
15N/A
15N/A </tasks>
15N/A </configuration>
15N/A <goals>
15N/A <goal>run</goal>
15N/A </goals>
15N/A </execution>
15N/A </executions>
15N/A </plugin>
15N/A
15N/A <plugin>
15N/A <artifactId>maven-javadoc-plugin</artifactId>
15N/A <inherited>false</inherited>
15N/A <executions>
15N/A <execution>
15N/A <phase>package</phase>
15N/A <goals>
15N/A <goal>javadoc</goal>
15N/A </goals>
15N/A <configuration>
15N/A <!-- aggregate not really needed -->
15N/A <aggregate>false</aggregate>
15N/A <additionalJOption>-J-Xmx32m</additionalJOption>
15N/A <author>false</author>
15N/A <description>
15N/A JavaMail API documentation
15N/A </description>
15N/A <doctitle>
15N/A JavaMail API documentation
15N/A </doctitle>
15N/A <windowtitle>
15N/A JavaMail API documentation
15N/A </windowtitle>
15N/A <splitindex>true</splitindex>
15N/A <use>true</use>
15N/A <overview>
15N/A ${basedir}/target/javadoc/overview.html
15N/A </overview>
15N/A <groups>
15N/A <group>
15N/A <title>JavaMail API Packages</title>
15N/A <packages>javax.*</packages>
15N/A </group>
15N/A <group>
15N/A <title>Sun-specific Packages</title>
15N/A <packages>com.sun.*</packages>
15N/A </group>
15N/A </groups>
15N/A <subpackages>
15N/Ajavax:com.sun.mail.imap:com.sun.mail.pop3:com.sun.mail.smtp:com.sun.mail.dsn
15N/A </subpackages>
15N/A <!-- XXX - following should work, but doesn't -->
15N/A <excludePackageNames>
15N/A com.sun.mail.imap.protocol
15N/A </excludePackageNames>
15N/A <!-- have to kludge it with this instead... -->
15N/A <additionalparam>
15N/A -exclude com.sun.mail.imap.protocol
15N/A </additionalparam>
15N/A <sourcepath>${basedir}/target/javadoc</sourcepath>
15N/A </configuration>
15N/A </execution>
15N/A </executions>
15N/A </plugin>
15N/A </plugins>
15N/A
15N/A <!--
15N/A <resources>
15N/A <resource>
15N/A <directory>/src/main/resources</directory>
15N/A </resource>
15N/A </resources>
15N/A -->
15N/A </build>
15N/A
15N/A <dependencies>
15N/A <dependency>
15N/A <groupId>javax.mail</groupId>
15N/A <artifactId>mail</artifactId>
15N/A </dependency>
15N/A <dependency>
15N/A <groupId>com.sun.mail</groupId>
15N/A <artifactId>dsn</artifactId>
15N/A </dependency>
15N/A </dependencies>
15N/A</project>