I need to add a "META-INF/services/org.apache.commons.logging.LogFactory"
to tell commons-logging to use log4j (a pretty basic thing I think). I
thought I was suppose to add it to the main/resources/ directory. As many
of you know, it copies everything from here to the WEB-INF/classes
directory.
AppServices
|-- pom.xml
|-- src
| |-- main
| | |-- java
| | |-- resources
| | | `-- META-INF
| | | `-- services
| | | `-- org.apache.commons.logging.LogFactory
| | `-- webapp
| |
| `-- test
| `-- java
| `-- ...
`-- target
|-- classes
`-- AppServices
|-- META-INF
`-- WEB-INF
`-- classes
`-- META-INF
`-- services
`-- org.apache.commons.logging.LogFactory
Is this a bug? Am I putting the "META-INF/services" in the wrong place? I
am currently using Maven 2.0.9.
Thank you!
The information contained in this e-mail and any accompanying documents may
contain information that is confidential or otherwise protected from
disclosure. If you are not the intended recipient of this message, or if this
message has been addressed to you in error, please immediately alert the sender
by reply e-mail and then delete this message, including any attachments. Any
dissemination, distribution or other use of the contents of this message by
anyone other than the intended recipient is strictly prohibited. All messages
sent to and from this e-mail address may be monitored as permitted by
applicable law and regulations to ensure compliance with our internal policies
and to protect our business. E-mails are not secure and cannot be guaranteed to
be error free as they can be intercepted, amended, lost or destroyed, or
contain viruses. You are deemed to have accepted these risks if you communicate
with us by e-mail.