logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: log4j-1.2-api -> unresolved package org.apache.log4j
Date Tue, 20 Aug 2013 14:34:19 GMT
Can you attach patches to Jira issues? 

Ralph

On Aug 20, 2013, at 5:32 AM, Roland wrote:

> 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: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message