[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-23 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56712 ] 

Brett Porter commented on WAGON-30:
---

FWIW, this is unrelated to '.'

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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



[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-23 Thread Samuel Le Berrigaud (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56674 ] 

Samuel Le Berrigaud commented on WAGON-30:
--

Creating the directories make it work! right.

I think this is more a pb of the path that is used to create the directory. The 
maven site plugin call the putDirectory(File, String) method with "." as the 
second argument... This adds a trailing "." to the directory path to create 
such as "/my/directory/.". Then the File.mkdirs method fails on Linux (don't 
know about the windows platforms).

I looked for an already known bug in the JIRA maven-site-plugin but didn't find 
anthing yet. 

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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



[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-23 Thread Yann Le Du (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56656 ] 

Yann Le Du commented on WAGON-30:
-

Yes, I did that and the patch indeed solved the problem, but only when the 
directory already exists.
The case when the directory doesn't exist still fails, please try a site:deploy.

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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



[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-23 Thread Mike Perham (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56654 ] 

Mike Perham commented on WAGON-30:
--

Yann, did you update the jar in M2_HOME/lib?  The patch worked for me.  Samuel, 
no.

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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



[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-22 Thread Samuel Le Berrigaud (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56589 ] 

Samuel Le Berrigaud commented on WAGON-30:
--

Sorry hit "Enter" involuntarily...

Does maven uses first the libraries that are in local repository in precendence 
to those in the MAVEN_HOME/lib... I think this could explain why it doesn't 
work for me... 

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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



[jira] Commented: (WAGON-30) wagon-file failed when used by maven-site-plugin

2006-01-22 Thread Samuel Le Berrigaud (JIRA)
[ http://jira.codehaus.org/browse/WAGON-30?page=comments#action_56588 ] 

Samuel Le Berrigaud commented on WAGON-30:
--


I tried with wagon-file jar placed in my MAVEN_HOME/lib directory (replacing 
wagon-file-1.0-alpha-6.jar) but it didn't work anymore.

I tried to run the "site:deploy" goal with maven 2.0.1 then, and it also fails. 
Same error as the one shown on the mailing list thread !

I was just wondering it this is to do with some wagon library in my local 
repository. Does maven prefer

> wagon-file failed when used by maven-site-plugin
> 
>
>  Key: WAGON-30
>  URL: http://jira.codehaus.org/browse/WAGON-30
>  Project: wagon
> Type: Bug

> Versions: 1.0-alpha-6
> Reporter: Gilles Scokart
>  Attachments: wagon-file-1.0-alpha-7-SNAPSHOT.jar, wagon-file.patch, 
> wagon-provider-test.patch
>
>
> When maven-site-plugin try a deploy on a file URL, an error is triggered.  
> This is because maven-site-plugin call "wagon.putDirectory( inputDirectory, 
> "." );" which fails.
> See 
> http://www.nabble.com/With-maven-2.0.2-site%3Adeploy-doesn%27t-work-t934716.html
> In attachment, you can find a patch adding a test case, and the patch fixing 
> the bug.

-- 
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


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