I tested version 2.0 beta 9 (trunk) but the error is still there. Either the
documentation should be changed or the packages of common-logging-api should
be exported.
...
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<inherited>true</inherited>
<configuration>
<instructions>
<Bundle-SymbolicName>${osgi.symbolicName}</Bundle-SymbolicName>
<Import-Package>${osgi.import}</Import-Package>
<Export-Package>${osgi.export}</Export-Package>
<Bundle-DocURL>${project.url}</Bundle-DocURL>
<Embed-Dependency>
commons-logging-api;version=1.1;scope=compile|runtime;inline=false
</Embed-Dependency>
<_exportcontents>
org.apache.commons.logging;version=1.1
</_exportcontents>
</instructions>
</configuration>
</plugin>
...
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/log4j-1-2-api-unresolved-package-org-apache-log4j-tp39509p39967.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]