evenisse    2003/04/05 00:03:18

  Modified:    .        build-bootstrap.xml
  Added:       src/plugins-build/clean .cvsignore plugin.jelly
                        plugin.properties project.properties project.xml
               src/plugins-build/clean/xdocs .cvsignore changes.xml
                        goals.xml index.xml navigation.xml properties.xml
               src/plugins-build/jar .cvsignore plugin.jelly
                        plugin.properties project.properties project.xml
               src/plugins-build/jar/xdocs .cvsignore changes.xml goals.xml
                        index.xml navigation.xml properties.xml
  Log:
  Split java plugin in clean, jar and java plugin.
  
  Revision  Changes    Path
  1.192     +2 -0      maven/build-bootstrap.xml
  
  Index: build-bootstrap.xml
  ===================================================================
  RCS file: /home/cvs/maven/build-bootstrap.xml,v
  retrieving revision 1.191
  retrieving revision 1.192
  diff -u -r1.191 -r1.192
  --- build-bootstrap.xml       30 Mar 2003 22:59:57 -0000      1.191
  +++ build-bootstrap.xml       5 Apr 2003 08:03:17 -0000       1.192
  @@ -180,6 +180,8 @@
   
       <copy todir="${maven.bootstrap.install.dir}/plugins">
         <fileset dir="src/plugins-build">
  +        <include name="clean/**"/>
  +        <include name="jar/**"/>
           <include name="java/**"/>
           <include name="test/**"/>
           <include name="license/**"/>
  
  
  
  1.1                  maven/src/plugins-build/clean/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  target
  velocity.log
  maven.log
  
  
  
  1.1                  maven/src/plugins-build/clean/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  <?xml version="1.0"?>
  
  <project 
    xmlns:j="jelly:core"
    xmlns:ant="jelly:ant">
  
    <goal name="clean" description="Remove all project artifacts"
      prereqs="clean:clean"/>
  
    <goal name="clean:clean"
          description="Remove all project artifacts">
      <ant:delete dir="${maven.build.dir}"/>
      <ant:delete file="${basedir}/velocity.log" quiet="true" failonerror="false"/>
    </goal>
  
  </project>
  
  
  
  1.1                  maven/src/plugins-build/clean/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P L U G I N P R O P E R T I E S
  # -------------------------------------------------------------------
  
  
  
  1.1                  maven/src/plugins-build/clean/project.properties
  
  Index: project.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P R O J E C T  P R O P E R T I E S
  # -------------------------------------------------------------------
  
  
  
  1.1                  maven/src/plugins-build/clean/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
    <extend>${basedir}/../project.xml</extend>
    <pomVersion>3</pomVersion>
    <id>maven-clean-plugin</id>
    <name>Maven Clean Plug-in</name>
    <currentVersion>1.0-SNAPSHOT</currentVersion>
    <description/>
    <shortDescription>Java Project Management Tools</shortDescription>
    <url>http://maven.apache.org/reference/plugins/clean/</url>
  
    <siteDirectory>/www/maven.apache.org/reference/plugins/clean/</siteDirectory>
  
    <repository>
      <connection>scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:maven/src/plugins-build/clean/</connection>
      <url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/clean/</url>
    </repository>
  
    <developers/>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  stylesheets
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Changes</title>
      <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
    </properties>
  
    <body>
      
      <release version="1.0" date="in cvs">
        <action dev="evenisse" type="add">
          Initial plugin created. Goals are move from java plugin.
        </action>
      </release>
      
    </body>
  </document>
  
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/goals.xml
  
  Index: goals.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Clean Plug-in Goals</title>
      <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
    </properties>
  
    <body>
      <section name="Goals">
        <table>
          <tr><th>Goal</th><th>Description</th></tr>
          <tr>
            <td>clean</td>
            <td>
              This goal is a shortcut to the <code>clean:clean</code> goal
            </td>
          </tr>
          <tr>
            <td>clean:clean</td>
            <td>
              Removes the <a href="properties.html">maven.build.dir</a> and 
              <a href="properties.html">maven.test.reportsDirectory</a> directories
            </td>
          </tr>
        </table>
      </section>
   </body>
  </document>
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Clean Plug-in</title>
      <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
    </properties>
  
    <body>
      <section name="Clean Java Plug-in">
        <p>
          This plug-in provides functionality for cleaning output directory.
        </p>
      </section>
   </body>
  </document>
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="Maven Java Plugin">
  
    <title>Maven Java Plugin</title>
  
    <body>
      <links>
        <item name="Maven" href="http://maven.apache.org/"/>
      </links>
      <menu name="Overview">
        <item name="Goals"              href="/goals.html" />
        <item name="Properties"              href="/properties.html" />
      </menu>
    </body>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/clean/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <document>
  
    <properties>
      <title>Properties</title>
      <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
    </properties>
  
    <body>
      <section name="Settings">
          No properties.
      </section>
    </body>
  </document>
  
  
  
  1.1                  maven/src/plugins-build/jar/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  target
  velocity.log
  maven.log
  
  
  
  1.1                  maven/src/plugins-build/jar/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  <?xml version="1.0"?>
  
  <project 
    xmlns:j="jelly:core"
    xmlns:ant="jelly:ant"
    xmlns:license="license"
    xmlns:maven="jelly:maven"
    xmlns:deploy="deploy"
    xmlns:resources="resources"
    xmlns:util="jelly:util"
    xmlns:doc="doc"
    xmlns:m="maven">
  
    <!-- ================================================================== -->
    <!-- J A R                                                              -->
    <!-- ================================================================== -->
    <goal name="jar" prereqs="jar:jar" 
      description="Create the deliverable jar file."/>
      
    <goal name="jar:jar"
          description="Create the deliverable jar file."
          prereqs="test:test">
  
      <ant:available property="maven.jar.manifest.available" 
        file="${maven.jar.manifest}"/>
  
      <ant:jar
        jarfile="${maven.build.dir}/${maven.final.name}.jar"
        basedir="${maven.build.dest}"
        excludes="${maven.jar.excludes}"> 
        
        <j:if test="${maven.jar.manifest.available}">
          <ant:setProperty name="manifest" value="${maven.jar.manifest}" />
        </j:if>
  
        <j:set var="licenseFileName"><license:fileName/></j:set>
        <util:file name="${licenseFileName}" var="licenseFile"/>
        <ant:metainf dir="${licenseFile.canonicalFile.parent}">
          <ant:include name="${licenseFile.canonicalFile.name}"/>
        </ant:metainf>
        <ant:manifest>
          <ant:attribute name="Built-By" value="${user.name}"/>
          <ant:attribute name="Created-By" value="Apache Jakarta Maven"/>
          <ant:attribute name="Package" value="${pom.package}"/>
          <ant:attribute name="Build-Jdk" value="${java.version}"/>
          <!-- added supplementary entries -->
          <ant:attribute name="Extension-Name" value="${pom.artifactId}"/>
          <ant:attribute name="Specification-Version" 
value="${pom.specificationVersion}"/>
          <ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/>
          <ant:attribute name="Specification-Title" value="${pom.shortDescription}"/>
          <ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/>
          <ant:attribute name="Implementation-Vendor" 
value="${pom.organization.name}"/>
          <ant:attribute name="Implementation-Vendor-Id" 
value="${pom.organization.identifier}"/>
          <j:set var="mainclass" 
value="${pom.getPluginContext('maven-java-plugin').getVariable('maven.jar.mainclass')}"/>
          <j:if test="${!empty(mainclass)}">
              <ant:attribute name="Main-Class" value="${mainclass}"/>
          </j:if>        
        </ant:manifest>
      </ant:jar>
    </goal>
  
    <!-- ================================================================== -->
    <!-- S N A P S H O T  J A R                                             -->
    <!-- ================================================================== -->
  
    <goal
      name="jar:snapshot"
      description="Create a snapshot jar, ie 'id-YYYYMMDD.hhmmss.jar'">
  
      <maven:snapshot project="${pom}"/>    
  
      <j:set var="maven.final.name" value="${snapshotSignature}"/>
      <ant:echo>Building snapshot JAR: ${maven.final.name}</ant:echo>
      
      <attainGoal name="jar:jar"/>
      
    </goal>
  
    <!-- ================================================================== -->
    <!-- D E P L O Y  S N A P S H O T                                       -->
    <!-- ================================================================== -->
  
    <goal
      name="jar:deploy-snapshot"
      description="Deploy a snapshot jar to the remote repository">
  
      <m:user-check user="${maven.username}"/>
      <attainGoal name="jar:snapshot"/>
      <ant:property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
      <ant:property name="dir" 
        value="${maven.repo.central.directory}/${pom.artifactDirectory}/jars"/>
      
      <util:replace var="jarToDeploy" oldChar="\" 
newChar="/">${maven.build.dir}/${maven.jar.to.deploy}</util:replace>
      <util:replace var="forwardSlashBaseDir" oldChar="\" newChar="/" 
value="${basedir}"/>
      <j:if test="${!forwardSlashBaseDir.endsWith('/')}">
        <j:set var="base" value="${forwardSlashBaseDir}/" />
      </j:if>
      <j:set var="relativePath">${jarToDeploy.substring(base.length())}</j:set>
      
      <deploy:artifact
        artifact="${relativePath}"
        type="jars"
        assureDirectoryCommand="mkdir -p"
        siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp 
maven ${maven.jar.to.deploy}; ln -sf ${maven.jar.to.deploy} 
${pom.artifactId}-SNAPSHOT.jar; echo ${snapshotVersion} > 
${pom.artifactId}-snapshot-version"
      />
                      
    </goal>
  
    <!-- ================================================================== -->
    <!-- D E P L O Y  J A R                                                 -->
    <!-- ================================================================== -->
  
    <goal
      name="jar:deploy"
      description="Deploy a jar to the remote repository">
  
      <m:user-check user="${maven.username}"/>
      <attainGoal name="jar:jar"/>
      <ant:property name="maven.jar.to.deploy" value="${maven.final.name}.jar"/>
      
      <j:set var="sl" value="/"/>
      <util:replace var="jarToDeploy" oldChar="\" 
newChar="/">${maven.build.dir}/${maven.jar.to.deploy}</util:replace>
      <util:replace var="forwardSlashBaseDir" oldChar="\" newChar="/" 
value="${basedir}"/>
      <j:if test="${!forwardSlashBaseDir.endsWith('/')}">
        <j:set var="base" value="${forwardSlashBaseDir}/" />
      </j:if>
      <j:set var="relativePath">${jarToDeploy.substring(base.length())}</j:set>
  
      <deploy:artifact
        artifact="${relativePath}"
        type="jars"
        assureDirectoryCommand="mkdir -p"
        siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp 
maven ${maven.jar.to.deploy}"
      />
  
    </goal>
  
    <!-- ================================================================== -->
    <!-- I N S T A L L   J A R                                              -->
    <!-- ================================================================== -->
  
    <goal name="jar:install" prereqs="jar:jar"
      description="Install the jar in the local repository">
      
      <ant:echo>
      id = '${pom.artifactId}'
      groupId = '${pom.groupId}'
      artifactDirectory = '${pom.artifactDirectory}'
      </ant:echo>
      
      <ant:property name="jardir__" 
value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
      <ant:mkdir dir="${jardir__}"/>    
      <ant:copy 
        file="${maven.build.dir}/${maven.final.name}.jar"
        todir="${jardir__}"
        overwrite="true"
      />
    </goal>
  
    <!-- ================================================================== -->
    <!-- I N S T A L L  S N A P S H O T                                       -->
    <!-- ================================================================== -->
  
    <goal
      name="jar:install-snapshot" prereqs="jar:snapshot"
      description="Install a snapshot jar in the local repository">
  
      <ant:property name="jardir__" 
value="${maven.repo.local}/${pom.artifactDirectory}/jars"/>
      <ant:mkdir dir="${jardir__}"/>
      <ant:copy
        file="${maven.build.dir}/${maven.final.name}.jar"
        tofile="${jardir__}/${pom.artifactId}-SNAPSHOT.jar"
        overwrite="true"
      />
      <ant:copy
        file="${maven.build.dir}/${maven.final.name}.jar"
        tofile="${jardir__}/${maven.final.name}.jar"
      />
    </goal>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/jar/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P L U G I N P R O P E R T I E S
  # -------------------------------------------------------------------
  
  
  
  1.1                  maven/src/plugins-build/jar/project.properties
  
  Index: project.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P R O J E C T  P R O P E R T I E S
  # -------------------------------------------------------------------
  
  
  
  1.1                  maven/src/plugins-build/jar/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  
  <project>
    <extend>${basedir}/../project.xml</extend>
    <pomVersion>3</pomVersion>
    <id>maven-jar-plugin</id>
    <name>Maven Jar Plug-in</name>
    <currentVersion>1.0-SNAPSHOT</currentVersion>
    <description/>
    <shortDescription>Java Project Management Tools</shortDescription>
    <url>http://maven.apache.org/reference/plugins/jar/</url>
  
    <siteDirectory>/www/maven.apache.org/reference/plugins/jar/</siteDirectory>
  
    <repository>
      <connection>scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:maven/src/plugins-build/jar/</connection>
      <url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/jar/</url>
    </repository>
  
    <developers/>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  stylesheets
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
    <properties>
      <title>Changes</title>
      <author email="[EMAIL PROTECTED]">Emmanuel Venisse</author>
    </properties>
  
    <body>
      
      <release version="1.0" date="in cvs">
        <action dev="evenisse" type="add">
          Initial plugin created. Goals are move from java plugin.
        </action>
      </release>
    </body>
  </document>
  
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/goals.xml
  
  Index: goals.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Java Plug-in Goals</title>
      <author email="[EMAIL PROTECTED]">dIon Gillard</author>
      <author email="[EMAIL PROTECTED]">Kurt Schrader</author>
    </properties>
  
    <body>
      <section name="Goals">
        <table>
          <tr><th>Goal</th><th>Description</th></tr>
          <tr>
            <td>java:prepare-filesystem</td>
            <td>
              Creates the directories necessary for compilation
            </td>
          </tr>
          <tr>
            <td>java:compile</td>
            <td>
              <p>
                Compiles the Java source code for the project
              </p>
              <p>
                The source code directory is specified in the 
                <a 
href="http://maven.apache.org/reference/project-descriptor.html#build";>build</a>
                element of your <code>project.xml</code>
                file.
              </p>
            </td>
          </tr>
          <tr>
            <td>java:jar-resources</td>
            <td>
              <p>
                Copies any resources that must be present in the deployed JAR
                file, from the directory specified by 
                <a href="properties.html">maven.jarResources.basedir</a> to the
                build directory, where class files are stored.
              </p>
              <p>
                The <a href="properties.html">maven.jar.resources.set</a>
                property is used to determine which files from the base directory
                are included
              </p>
            </td>
          </tr>
          <tr>
            <td>java:jar</td>
            <td>
              Creates a jar file in the Maven build directory with the
              form <code>${project.id}-${project.currentVersion}.jar</code> where 
              the id and currentVersion are taken from the <code>project.xml</code>
              of  the project being built.
            </td>
          </tr>
          <tr>
            <td>jar:snapshot</td>
            <td>
              Creates a jar file in the Maven build directory with the
              form <code>${project.id}-YYYYMMDD.hhmmss.jar</code> where 
              <ul>
                <li>
                  id - taken from the <code>project.xml</code>
                  of the project being built
                </li>
                <li>YYYYMMDD - The current year in 8 digit format</li>
                <li>hhmmss - the current time in 6 digit format</li>
              </ul>
            </td>
          </tr>
          <tr>
            <td>jar:deploy-snapshot</td>
            <td>
              Deploy a snapshot jar to the remote repository
            </td>
          </tr>
          <tr>
            <td>jar:deploy</td>
            <td>
              Deploy a jar to the remote repository. The jar is built using
              the <code>java:jar</code> goal
            </td>
          </tr>
          <tr>
            <td>jar:install</td>
            <td>
              Install a jar into the local repository. The jar is built using
              the <code>java:jar</code> goal
            </td>
          </tr>
          <tr>
            <td>jar:install-snapshot</td>
            <td>
              Install a jar into the local repository. The jar is built using
              the <code>jar:snapshot</code> goal and copied into the local
              repository as the -SNAPSHOT version.
            </td>
          </tr>
          <tr>
            <td>clean</td>
            <td>
              This goal is a shortcut to the <code>clean:clean</code> goal
            </td>
          </tr>
          <tr>
            <td>clean:clean</td>
            <td>
              Removes the <a href="properties.html">maven.build.dir</a> and 
              <a href="properties.html">maven.test.reportsDirectory</a> directories
            </td>
          </tr>
        </table>
      </section>
   </body>
  </document>
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  <document>
  
    <properties>
      <title>Maven Java Plug-in</title>
      <author email="[EMAIL PROTECTED]">Jason van Zyl</author>
    </properties>
  
    <body>
      <section name="Maven Java Plug-in">
        <p>
          This plug-in provides your basic Javac and Jar facilities.
        </p>
        <p> 
          For more information on the functionality provided by this plugin,
          please see the <a href="goals.html">Goals</a> document.
        </p>
        <p>
          For more information on how to customise the functionality provided
          by this plugin, please see the <a href="properties.html">properties</a>
          document.
        </p>
      </section>
   </body>
  </document>
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="Maven Java Plugin">
  
    <title>Maven Java Plugin</title>
  
    <body>
      <links>
        <item name="Maven" href="http://maven.apache.org/"/>
        <item name="Java"  href="http://java.sun.com/"/>
      </links>
      <menu name="Overview">
        <item name="Goals"              href="/goals.html" />
        <item name="Properties"              href="/properties.html" />
      </menu>
    </body>
  </project>
  
  
  
  1.1                  maven/src/plugins-build/jar/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <document>
  
    <properties>
      <title>Properties</title>
      <author email="[EMAIL PROTECTED]">St�phane MOR</author>
      <author email="[EMAIL PROTECTED]">dIon Gillard</author>
    </properties>
  
    <body>
      <section name="Compile Settings">
        <table>
          <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
          <tr>
            <td>maven.compile.aspects</td>
            <td>Yes</td>
            <td>
              Specifies that Aspects are included during compilation.
              Used by the "java:compile" goal.
              The default value is <code>false</code>.  Please
              refer to the <a href="http://www.aspectj.org/";>AspectJ</a>
              web site for more information on Aspect-Oriented
              Programming.
            </td>
          </tr>
          <tr>
            <td>maven.compile.compilerargs</td>
            <td>Yes</td>
            <td>
              <p>
                Provides arguments to a compiler when <code>maven.compile.fork</code>
                is set to true
              </p>
              <p>
                Corresponds to the nested <code>compilerarg</code> element for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.debug</td>
            <td>Yes</td>
            <td>
              Specifies wether to include debugging information in the compiled
              class files; the default value is <code>on</code>.
              Used by the "java:compile" goal.
            </td>
          </tr>
          <tr>
            <td>maven.compile.deprecation</td>
            <td>Yes</td>
            <td>
              Specifies wether source should be compiled with deprecation
              information; the default value is <code>off</code>.
              Used by the "java:compile" goal.
            </td>
          </tr>
          <tr>
            <td>maven.compile.encoding</td>
            <td>Yes</td>
            <td>
              <p>
                Sets the encoding of the .java files being compiled
              </p>
              <p>
                Corresponds to the <code>encoding</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.executable</td>
            <td>Yes</td>
            <td>
              <p>
                Names the program to be invoked as the java compiler
              </p>
              <p>
                Corresponds to the <code>executable</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.fork</td>
            <td>Yes</td>
            <td>
              <p>
                Runs the compiler in a separate process
              </p>
              <p>
                Corresponds to the <code>fork</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.optimize</td>
            <td>Yes</td>
            <td>
              Specifies whether source should be compiled with optimization; the
              default value is <code>off</code>.  
              Used by the "java:compile" goal.
            </td>
          </tr>
          <tr>
            <td>maven.compile.source</td>
            <td>Yes</td>
            <td>
              <p>
                Provide source compatibility with a specific release
              </p>
              <p>
                Corresponds to the <code>source</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.src.set</td>
            <td>Yes</td>
            <td>
              The source directories maven uses to compile java code.
            </td>
          </tr>
          <tr>
            <td>maven.compile.target</td>
            <td>Yes</td>
            <td>
              <p>
                Generate class files for a specific JVM version
              </p>
              <p>
                Corresponds to the <code>target</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>maven.compile.verbose</td>
            <td>Yes</td>
            <td>
              <p>
                Asks the compiler for verbose output
              </p>
              <p>
                Corresponds to the <code>verbose</code> attribute for the ant 
                <a href="http://ant.apache.org/manual/CoreTasks/javac.html";>javac</a>
                task.
              </p>
            </td>
          </tr>
          <tr>
            <td>pom.build.sourceModifications</td>
            <td>Yes</td>
            <td>
              This property is the list of the
                        <source><![CDATA[
  <build>
    <sourceModification>
      <sourceModification>
        <className></className>
        <excludes>
          <exclude></exclude>
        </excludes>
      </sourceModification>
    </sourceModification>
  </build>
  ]]></source>
             source modifications in your
             <a href="http://maven.apache.org/reference/project-descriptor.html";>
             project descriptor</a>. This property is used during compilation to 
exclude or
             include classes from compilation depending on whether a named class is 
available
            </td>
          </tr>
        </table>
      </section>
      <section name="Jar Settings">
        <table>
          <tr>
            <td>maven.has.jar.resource.patterns</td>
            <td>Yes</td>
            <td>
              This is a calculated property based on the value of the
                        <source><![CDATA[
  <build>
    <resources>
    </resources>
  </build>
  ]]></source>
             section of your 
             <a href="http://maven.apache.org/reference/project-descriptor.html";>
             project descriptor</a>. If there are <code>includes</code> or 
<code>excludes</code>
             elements, this property will be set to true
            </td>
          </tr>
          <tr>
            <td>maven.jar.excludes</td>
            <td>Yes</td>
            <td>
              Specifies a list of patterns to exclude from the jar process.
              The default value is <code>**/package.html</code>, and is used
              by the "java:jar" goal.
            </td>
          </tr>
          <tr>
            <td>maven.jar.manifest</td>
            <td>Yes</td>
            <td>
              Specifies the manifest to be used in the creation of a jar.
              This file is 'merged' with the default manifest created by
              Maven. Any values specified in the file referenced by this 
              property will override Maven's defaults.
            </td>
          </tr>
          <tr>
            <td>maven.jar.mainclass</td>
            <td>Yes</td>
            <td>
              Specifies the Main-Class attribute for your manifest. If not set,
              no MainClass attribute will be added to the manifest.
            </td>
          </tr>
          <tr>
            <td>maven.jarResources.basedir</td>
            <td>Yes</td>
            <td>
              The base directory from which resources to be included in a jar can be 
found.
              Defaults to the base directory of the project.
            </td>
          </tr>
          <tr>
            <td>maven.jar.resources.set</td>
            <td>Yes</td>
            <td>
              This is the Ant <code>patternset</code> of all the <code>include</code>s 
and
              <code>exclude</code>s from the
                        <source><![CDATA[
  <build>
    <resources>
    </resources>
  </build>
  ]]></source>
              section of your
              <a href="http://maven.apache.org/reference/project-descriptor.html";>
              project descriptor</a>
            </td>
          </tr>
        </table>
      </section>
      <section name="Deploy Settings">
        <table>
          <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
          <tr>
            <td>maven.repo.central</td>
            <td>Yes</td>
            <td>
              Central repository for maven artifacts
            </td>
          </tr>
          <tr>
            <td>maven.repo.central.directory</td>
            <td>Yes</td>
            <td>
              Directory to deploy jars into on the remote repository
            </td>
          </tr>
          <tr>
            <td>maven.repo.local</td>
            <td>Yes</td>
            <td>
              The local repository to store maven artifacts, including jar file 
              dependencies
            </td>
          </tr>
          <tr>
            <td>maven.username</td>
            <td>Yes</td>
            <td>
              This is the user name used to log in to the remote repository
            </td>
          </tr>
        </table>
      </section>
      <section name="Other Settings">
        <table>
          <tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
          <tr>
            <td>maven.build.dest</td>
            <td>Yes</td>
            <td>The directory for compiled classes</td>
          </tr>
          <tr>
            <td>maven.build.dir</td>
            <td>Yes</td>
            <td>
              Used by the <code>java:jar</code> goal for
              <ul>
                <li>a temporary manifest file, if one is not specified</li>
                <li>the assembled jar file</li>
              </ul>
            </td>
          </tr>
          <tr>
            <td>maven.dependency.classpath</td>
            <td>Yes</td>
            <td>
              This property holds the Ant <code>path</code> of all the dependent jar
              files listed in the <code>dependencies</code> block of your 
              <a href="http://maven.apache.org/reference/project-descriptor.html";>
              project descriptor</a>
            </td>
          </tr>
          <tr>
            <td>maven.final.name</td>
            <td>Yes</td>
            <td>
              Usually this property is set to 
<code>${project.id}-${project.currentVersion}</code>
              but the snapshot goal overwrites it to be the snapshot signature
            </td>
          </tr>
          <tr>
            <td>user.name</td>
            <td>Yes</td>
            <td>
              Used by the <code>java:jar</code> goal as the default value of the
              <code>Built-By</code> attribute of the manifest if one is not specified.
            </td>
          </tr>
        </table>
      </section>
    </body>
  </document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to