You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/01/15 13:57:00 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/test plugin.jelly

dion        2003/01/15 04:56:59

  Modified:    src/plugins-build/test/xdocs properties.xml
               src/plugins-build/test plugin.jelly
  Log:
  Applied Patch for MAVEN-170 thanks to Ben Walding
  
  Revision  Changes    Path
  1.2       +14 -0     jakarta-turbine-maven/src/plugins-build/test/xdocs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/test/xdocs/properties.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- properties.xml	15 Aug 2002 05:03:05 -0000	1.1
  +++ properties.xml	15 Jan 2003 12:56:59 -0000	1.2
  @@ -48,6 +48,20 @@
             </td>
           </tr>
           <tr>
  +          <td>maven.test.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://jakarta.apache.org/ant/manual/CoreTasks/javac.html">javac</a>
  +              task.
  +            </p>
  +          </td>
  +        </tr>
  +        <tr>
             <td>maven.iutest.dest</td>
             <td>Yes</td>
             <td>
  
  
  
  1.29      +3 -0      jakarta-turbine-maven/src/plugins-build/test/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/test/plugin.jelly,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- plugin.jelly	12 Dec 2002 01:11:36 -0000	1.28
  +++ plugin.jelly	15 Jan 2003 12:56:59 -0000	1.29
  @@ -27,6 +27,9 @@
           debug="${maven.compile.debug}"
           deprecation="${maven.compile.deprecation}"
           optimize="${maven.compile.optimize}">
  +        <j:if test="${context.getVariable('maven.test.source') != null}">
  +		    <setProperty name="source" value="${maven.test.source}" />
  +		</j:if>
           <classpath>
             <pathelement path="${maven.build.dest}"/>
             <path refid="maven.dependency.classpath"/>