[jira] (MDEP-372) Running the copy-dependencies command with copyPom and useRepositoryLayout does not copy the POM into the right location

2012-08-31 Thread Marco Huber (JIRA)
Marco Huber created MDEP-372:


 Summary: Running the copy-dependencies command with copyPom and 
useRepositoryLayout does not copy the POM into the right location
 Key: MDEP-372
 URL: https://jira.codehaus.org/browse/MDEP-372
 Project: Maven 2.x Dependency Plugin
  Issue Type: Bug
  Components: copy-dependencies
Affects Versions: 2.5.1
 Environment: Windows7, Java6, Maven 3.0.3
Reporter: Marco Huber


If I run the copy-dependencies plugin with the following command, the 
dependencies are copied into the right location 
(C:/temp/junit/junit/3.8.1/junit-3.8.1.jar) but the POMs are copied only at the 
root location (C:/temp) and not in the layout of the repository.

mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:copy-dependencies 
-Dmdep.copyPom=true -Dmdep.useRepositoryLayout=true -DoutputDirectory=C:\temp

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Commented: (MPDF-7) Relative images are not recognised in sub folders

2009-04-08 Thread Marco Huber (JIRA)

[ 
http://jira.codehaus.org/browse/MPDF-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=172412#action_172412
 ] 

Marco Huber commented on MPDF-7:


Found out something more about why [../images/overview.png] is not going.
I debugged and see in the {{FoAggregateSink}} (from _doxia-module-fo_) that the 
{{docName}} attribute is ./overview\overview.
The call of the {{resolveLinkRelativeToBase}} returns the wrong value.
The code line

 {{String base = docName.substring( 0, docName.lastIndexOf( / ) );}}

return ..

Because of the backslash in the docName the string is cutted after the ..



 Relative images are not recognised in sub folders
 -

 Key: MPDF-7
 URL: http://jira.codehaus.org/browse/MPDF-7
 Project: Maven 2.x PDF Plugin
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Maven 2.1.0, Windows XP Pro, Java 1.6
Reporter: Marco Huber
 Attachments: output-2009-04-07.log, output.log, pdf-test.fo, 
 pdf-test.zip


 If parts of the documentation located in sub folders under the apt folder 
 images are not recognised
 Example:
 (file under apt/administration/overview.apt)
 // SNIPPED START 
   Following the overview
 [./../images/overview.png]
 //  SNIPPED END
 The created html pages are correct. If I create the pdf I got
 ERROR [org.apache.fop.fo.FONode:83] 2009-04-03 11:35:05,250 - Image not 
 found: ./../images/overview.png
 I enclosed an sample project that shows the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MPDF-7) Relative images are not recognised in sub folders

2009-04-07 Thread Marco Huber (JIRA)

 [ 
http://jira.codehaus.org/browse/MPDF-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Huber updated MPDF-7:
---

Attachment: pdf-test.fo
output-2009-04-07.log

Maven downloaded the new snapshot (including doxia) but I get allready the same 
warnings. The created PDF contains no image.

I attached the log from the running and the created .fo file. There are only 

fo:external-graphic src=./../images/overview.png ...

references. Both the leading ./. 

 Relative images are not recognised in sub folders
 -

 Key: MPDF-7
 URL: http://jira.codehaus.org/browse/MPDF-7
 Project: Maven 2.x PDF Plugin
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Maven 2.1.0, Windows XP Pro, Java 1.6
Reporter: Marco Huber
 Attachments: output-2009-04-07.log, output.log, pdf-test.fo, 
 pdf-test.zip


 If parts of the documentation located in sub folders under the apt folder 
 images are not recognised
 Example:
 (file under apt/administration/overview.apt)
 // SNIPPED START 
   Following the overview
 [./../images/overview.png]
 //  SNIPPED END
 The created html pages are correct. If I create the pdf I got
 ERROR [org.apache.fop.fo.FONode:83] 2009-04-03 11:35:05,250 - Image not 
 found: ./../images/overview.png
 I enclosed an sample project that shows the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] Updated: (MPDF-7) Relative images are not recognised in sub folders

2009-04-06 Thread Marco Huber (JIRA)

 [ 
http://jira.codehaus.org/browse/MPDF-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marco Huber updated MPDF-7:
---

Attachment: output.log

I attached the output. As far I can see I use  version 1.0-20090309.102020-2.
Its the latest in the snapshot repo of apache.

 Relative images are not recognised in sub folders
 -

 Key: MPDF-7
 URL: http://jira.codehaus.org/browse/MPDF-7
 Project: Maven 2.x PDF Plugin
  Issue Type: Bug
Affects Versions: 1.0
 Environment: Maven 2.1.0, Windows XP Pro, Java 1.6
Reporter: Marco Huber
 Attachments: output.log, pdf-test.zip


 If parts of the documentation located in sub folders under the apt folder 
 images are not recognised
 Example:
 (file under apt/administration/overview.apt)
 // SNIPPED START 
   Following the overview
 [./../images/overview.png]
 //  SNIPPED END
 The created html pages are correct. If I create the pdf I got
 ERROR [org.apache.fop.fo.FONode:83] 2009-04-03 11:35:05,250 - Image not 
 found: ./../images/overview.png
 I enclosed an sample project that shows the issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira