Index: plugin.jelly
===================================================================
--- plugin.jelly	(revision 227271)
+++ plugin.jelly	(working copy)
@@ -39,19 +39,19 @@
         pattern="${maven.xdoc.date.format}"
         locale="${maven.xdoc.date.locale}"/>
     </tstamp>    
-    <j:if test="not ${maven.pdf.projectLogo.startsWith('http://')}">
-      <maven:makeAbsolutePath 
-        var="maven.pdf.projectLogo" 
-        basedir="${maven.xdoc.src}" 
-        path="${maven.pdf.projectLogo}" 
-        trim="true"/>
+    <j:set var="image" value="${maven.pdf.projectLogo}"/>
+    <j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
+      <j:if test="${image.startsWith('/')}" trim="yes">
+        <j:set var="image" value="${image.substring(1)}"/>
+      </j:if>
+      <j:set var="maven.pdf.projectLogo" value="${image}"/>
     </j:if>
-    <j:if test="not ${maven.pdf.companyLogo.startsWith('http://')}">
-      <maven:makeAbsolutePath 
-        var="maven.pdf.companyLogo" 
-        basedir="${maven.xdoc.src}" 
-        path="${maven.pdf.companyLogo}" 
-        trim="true"/>
+    <j:set var="image" value="${maven.pdf.companyLogo}"/>
+    <j:if test="${!image.startsWith('http://') and !image.startsWith('https://')}">
+      <j:if test="${image.startsWith('/')}" trim="yes">
+        <j:set var="image" value="${image.substring(1)}"/>
+      </j:if>
+      <j:set var="maven.pdf.companyLogo" value="${image}"/>
     </j:if>
 
     <!-- internal variables -->

