|Subject:||Re: where to put log4j.properties|
|From:||Wayne Fay (wayn...@gmail.com)|
|Date:||Mar 23, 2007 11:44:52 am|
As Eric stated, src/main/resources is the "standard placement" for this.
On 3/23/07, Phill Moran <pjmo...@rogers.com> wrote:
src/main/resources or src/main/java/resources? Is there a standard placement for this.
-----Original Message----- From: Eric Redmond [mailto:eric...@gmail.com] Sent: March 23, 2007 11:48 AM To: Maven Users List Subject: Re: where to put log4j.properties
On 3/23/07, Adam Hardy <adam...@cyberspaceroad.com> 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?
-- Eric Redmond http://codehaus.org/~eredmond