? changelog.patch
Index: src/plugins-build/changelog/plugin.jelly
===================================================================
RCS file: /home/cvspublic/jakarta-turbine-maven/src/plugins-build/changelog/plugin.jelly,v
retrieving revision 1.12
diff -u -r1.12 plugin.jelly
--- src/plugins-build/changelog/plugin.jelly	30 Oct 2002 17:55:28 -0000	1.12
+++ src/plugins-build/changelog/plugin.jelly	1 Nov 2002 18:40:43 -0000
@@ -20,7 +20,7 @@
       <j:set var="maven.mode.online" value="true" />
     </j:if>
     <j:choose>
-      <j:when test="${maven.mode.online}">
+      <j:when test="${maven.mode.online} &amp; ${pom.repository.connection} != null">
       <define:taglib uri="changelog">
         <define:jellybean
           name="changelog"
@@ -43,7 +43,14 @@
       </j:when>
 
       <j:otherwise>
-        <echo>The Changelog is available in the online mode only.</echo>
+        <j:choose>
+          <j:when test="${pom.repository.connection} == ''">
+            <echo>The Changelog requires the pom.repository.connection to be set.</echo>
+          </j:when>
+          <j:otherwise>
+            <echo>The Changelog is available in the online mode only.</echo>
+          </j:otherwise>
+        </j:choose>
       </j:otherwise>
     </j:choose>
 

