Skip to main content

Source code file content

Revision: 57029

GLASSFISH-18987 Remove call to getService in critical path
» Project Revision History

» Checkout URL

svn / tags / source-build-3.1.1 / scripts / mail.xml

Size: 1250 bytes, 1 line
<?xml version="1.0" encoding="iso-8859-1"?>

<project name="JavaMail source integration" default="build" basedir="..">

    <import file="${basedir}/build.xml"/>

    <target name="checkout" depends="init,check.hg" unless="skipCheckout">
        <hg.clone repo="${mail.hg.url}" tag="${mail.hg.tag}" dest="mail"/>
    </target>
    
    <target name="build" depends="checkout" >
        <delete>
            <fileset dir="${glassfish.external.dir}/mail" includes="**/*.jar"/>
        </delete>
        
        <!-- 
            Skip the javadoc submodule
        -->
        <mvn.install dir="${glassfish.external.dir}/mail" skip-test="true">
            <extra-args>
                <arg line="-am"/>
                <arg line="-pl mail,mailapi,mailapijar,smtp,imap,pop3,dsn,oldmail"/>
            </extra-args>
        </mvn.install>
    </target>

    <target name="mail.publish" >
        <mvn.publish.remote.pom
            file="${glassfish.external.dir}/mail/target/mail-${mail.version}.jar"
            pom="${glassfish.external.dir}/mail/pom.xml">
            <extra-args>
                <arg line="-DaltDeploymentRepository=${altDeploymentRepository}"/>
            </extra-args>
        </mvn.publish.remote.pom>
    </target>
</project>
 
 
Close
loading
Please Confirm
Close