| From | Sent On | Attachments |
|---|---|---|
| Craig McClanahan | Sep 30, 2006 2:43 pm | |
| Andreas Guther | Sep 30, 2006 3:21 pm | |
| Craig McClanahan | Sep 30, 2006 3:58 pm | |
| Stephen Duncan | Sep 30, 2006 4:18 pm | |
| Wendy Smoak | Sep 30, 2006 4:55 pm | |
| Andreas Guther | Sep 30, 2006 7:43 pm | |
| Barrie Treloar | Nov 22, 2006 5:50 pm |
| Subject: | Re: Checkstyle Behind A Firewall | |
|---|---|---|
| From: | Craig McClanahan (crai...@apache.org) | |
| Date: | Sep 30, 2006 3:58:00 pm | |
| List: | org.apache.maven.users | |
On 9/30/06, Andreas Guther <Andr...@markettools.com> wrote:
Looking at the content of the URL a checkstyle config xml file comes up. Did you try to overwrite the configuration and point to a checkstyle configuration file of your own?
I agree that the file is really there. The problem is that Checkstyle is not respecting the proxy settings to retrieve it, which causes a failure when trying to generate the website (from behind the firewall -- it works fine on a direct connection to the Internet).
I bet you can have that file somewhere behind your firewall and either
have a reltaive, absolute, or internal URL reference to it.
That would work for me, but it would break the build for everyone else.
Andreas
Craig
-----Original Message-----
From: crai...@gmail.com [mailto:crai...@gmail.com] On Behalf Of Craig McClanahan Sent: Saturday, September 30, 2006 2:44 PM To: Maven Users List Subject: Checkstyle Behind A Firewall
In the Maven2 build of Shale, I'm having a problem generating the site when running behind a firewall. A bit of research indicates that the problem relates to the following configuration setting for the Checkstyle plugin.
<plugin> <artifactId>maven-checkstyle-plugin</artifactId> <configuration> <configLocation> http://svn.apache.org/repos/asf/shale/maven/trunk/build/shale_checks.xml </configLocation> </configuration> </plugin>
This setting works fine when not behind a firewall ... but when I am, it fails (even though I have the correct proxy set up in by settings.xml file, and I can download from repositories normally). Is there any way to convince the Checkstyle plugin to use the http proxy for looking up this configuration resource?
Craig





