You could put the config file into a jar project, and depend on that
project as a build extension, and use a relative url to that file.

-Stephen

On 9/30/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
On 9/30/06, Andreas Guther <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to