src/main/resources or src/main/java/resources? Is there a standard placement for
this.  

-----Original Message-----
From: Eric Redmond [mailto:[EMAIL PROTECTED] 
Sent: March 23, 2007 11:48 AM
To: Maven Users List
Subject: Re: where to put log4j.properties

src/main/resources

On 3/23/07, Adam Hardy <[EMAIL PROTECTED]> wrote:
>
> I am running the 'mvn site' and one of the reports is not working. To 
> get more info on the issue I'm trying to get logging working for it.
> Currently I see log4j complain like this:
>
> [INFO] Generate "Jira Report" report.
> log4j:WARN No appenders could be found for logger 
> (org.apache.commons.httpclient.HttpClient).
> log4j:WARN Please initialize the log4j system properly.
> [INFO] JIRA lives at: https://support.nomadsoft.com/jira
> [INFO] Login URL:
>
> https://support.nomadsoft.com/jira/login.jsp?os_destination=/secure/&o
> s_username=adam.hardy&os_password=*****
> [ERROR] Error trying to login into JIRA. Cause is:
> sun.security.validator.ValidatorException: PKIX path building failed:
> sun.security.provider.certpath.SunCe
> rtPathBuilderException: unable to find valid certification path to 
> requested target
>
>
> I figure I need to add my own log4j.properties to the classpath at 
> that stage in the built, possibly by configuring the maven-site-plugin 
> somehow like this:
>
>    <build>
>      <plugins>
>        <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-site-plugin</artifactId>
>         <configuration>
>           <something/>
>         </configuration>
>
> but what do i put there to incorporate my log4j.properties onto the 
> classpath?
>
>
> Thanks
> Adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Eric Redmond
http://codehaus.org/~eredmond


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

Reply via email to