You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gisbert Amm <gi...@webde.de> on 2006/04/03 15:50:44 UTC

[M1] Checkstyle plugin: how to retrieve config via https

We want to retrieve the Checkstyle config via https out of our 
Subversion repository. In the docs I did not find any possibility to set 
the user and password. When I simply tried it with the https-URL I got 
the error "unable to create checker". Is it possible to use Checkstyle 
like that and how?

Regards,
Gisbert Amm

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M1] Checkstyle plugin: how to retrieve config via https

Posted by Gisbert Amm <gi...@webde.de>.
Nope. Same error:

org.apache.commons.jelly.JellyTagException: 
/home/myuser/.maven/cache/maven-checkstyle-plugin-3.0/plugin.jelly:163:63: 
&lt;ant:checkstyle&gt; Unable to create a Checker: unable to read 
https://myuser:mypasswd@myhost:myport/path/to/webde_checks.xml

For the moment I've worked around it in the httpd.conf of the subversion 
server allowing all users coming from the Cruisecontrol buildhost to 
access the repo without password. However, I'd rather make the 
checkstyle plugin authorize itself properly.

-Gisbert

Arnaud HERITIER wrote:
> 
>   I don't know if it works but can you test something like that :
> 
> In your project's properties :
> 
> maven.checkstyle.propertiesURL=https://${maven.svn.username
> }:${maven.svn.password
> }@yourHost/....
> 
> 
> In your private properties :
> 
> maven.svn.username=??
> maven.svn.password=???
> 
> 
> On 4/3/06, Gisbert Amm <gi...@webde.de> wrote:
> 
>>We want to retrieve the Checkstyle config via https out of our
>>Subversion repository. In the docs I did not find any possibility to set
>>the user and password. When I simply tried it with the https-URL I got
>>the error "unable to create checker". Is it possible to use Checkstyle
>>like that and how?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [M1] Checkstyle plugin: how to retrieve config via https

Posted by Arnaud HERITIER <ah...@gmail.com>.
Hi Gisbert

  Sorry for the delay

  I don't know if it works but can you test something like that :

In your project's properties :

maven.checkstyle.propertiesURL=https://${maven.svn.username
}:${maven.svn.password
}@yourHost/....


In your private properties :

maven.svn.username=??
maven.svn.password=???

Arnaud


On 4/3/06, Gisbert Amm <gi...@webde.de> wrote:
>
> We want to retrieve the Checkstyle config via https out of our
> Subversion repository. In the docs I did not find any possibility to set
> the user and password. When I simply tried it with the https-URL I got
> the error "unable to create checker". Is it possible to use Checkstyle
> like that and how?
>
> Regards,
> Gisbert Amm
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>