sorry, the last post belongs to a other issue of log4j-jcl but it is
similary. The log4j 1.2 api can not be resolved. Again, the documentation is
wrong or the api has to be included in the export.
This is the right pom-configuration
<properties>
<osgi.export.log4j1.2>org.apache.log4j;version=1.2,org.apache.log4j.helpers;version=1.2,org.apache.log4j.config;version=1.2,org.apache.log4j.spi;version=1.2,org.apache.log4j.xml;version=1.2</osgi.export.log4j1.2>
</properties>
...
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<inherited>true</inherited>
<configuration>
<instructions>
...
<Export-Package>${osgi.export.log4j1.2}</Export-Package>
...
</instructions>
</configuration>
</plugin>
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/log4j-1-2-api-unresolved-package-org-apache-log4j-tp39509p39968.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]