henning     2004/07/04 09:49:44

  Modified:    extensions/maven-plugin/src/plugin Tag: TURBINE_2_3_BRANCH
                        plugin.jelly
  Log:
  Avoid another NullPointerException
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.23  +1 -1      
jakarta-turbine-2/extensions/maven-plugin/src/plugin/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-2/extensions/maven-plugin/src/plugin/plugin.jelly,v
  retrieving revision 1.1.2.22
  retrieving revision 1.1.2.23
  diff -u -r1.1.2.22 -r1.1.2.23
  --- plugin.jelly      4 Jul 2004 16:47:57 -0000       1.1.2.22
  +++ plugin.jelly      4 Jul 2004 16:49:44 -0000       1.1.2.23
  @@ -509,7 +509,7 @@
   
       <j:if test="${context.getVariable('turbine.plugin.target.lib') != null 
&amp;&amp; context.getVariable('turbine.plugin.target.lib') != ''}">
         <j:forEach var="dep" items="${pom.dependencies}">
  -        <j:if test="${dep.getProperty('war.bundle').equalsIgnoreCase('true')}">
  +        <j:if test="${dep.getProperty('war.bundle') != null &amp;&amp; 
dep.getProperty('war.bundle').equalsIgnoreCase('true')}">
             <copy todir="${turbine.plugin.target.lib}"
                   
file="${maven.repo.local}/${dep.getArtifactDirectory()}/jars/${dep.getArtifact()}"/>
           </j:if>  
  
  
  

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

Reply via email to