directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Seelmann <m...@stefan-seelmann.de>
Subject OSGi Import-Package, was Re: svn commit: r1804948 [1/3]
Date Mon, 11 Dec 2017 19:09:21 GMT
Hi,

I wanted to ask what the reason was to explicitely declare all the
<Import-Package> instructions in the pom.xmls? I thought the
maven-bundle-plugin automaticaly imports everything in the generated
manifest.mf.

I ask because when running Studio tests it complains about missing
imports. I already fixed 10 but there are more.

Kind Regards,
Stefan


On 08/14/2017 12:24 AM, elecharny@apache.org wrote:
> Author: elecharny
> Date: Sun Aug 13 22:24:19 2017
> New Revision: 1804948
> 
> URL: http://svn.apache.org/viewvc?rev=1804948&view=rev
> Log:
> o Added the OSGi Import-Package/Export-Package elements
> o Switched to 2.0.0-AM25-SNAPSHOT
> 
> Removed:
>     directory/apacheds/branches/apacheds-value/result.txt
> Modified:
>     directory/apacheds/branches/apacheds-value/all/pom.xml
>     directory/apacheds/branches/apacheds-value/apache-felix/ApacheDS-OSGI.launch
>     directory/apacheds/branches/apacheds-value/core-annotations/pom.xml
>     directory/apacheds/branches/apacheds-value/core-api/pom.xml
>     directory/apacheds/branches/apacheds-value/core-avl/pom.xml
>     directory/apacheds/branches/apacheds-value/core-constants/pom.xml
>     directory/apacheds/branches/apacheds-value/core-integ/pom.xml
>     directory/apacheds/branches/apacheds-value/core-jndi/pom.xml
>     directory/apacheds/branches/apacheds-value/core-shared/pom.xml
>     directory/apacheds/branches/apacheds-value/core/pom.xml
>     directory/apacheds/branches/apacheds-value/http-directory-bridge/pom.xml
>     directory/apacheds/branches/apacheds-value/http-integration/pom.xml
>     directory/apacheds/branches/apacheds-value/i18n/pom.xml
>     directory/apacheds/branches/apacheds-value/installers-maven-plugin/pom.xml
>     directory/apacheds/branches/apacheds-value/installers/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptor-kerberos/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/admin/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/authn/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/authz/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/changelog/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/collective/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/event/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/exception/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/hash/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/journal/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/logger/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/normalization/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/number/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/operational/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/referral/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/schema/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/subtree/pom.xml
>     directory/apacheds/branches/apacheds-value/interceptors/trigger/pom.xml
>     directory/apacheds/branches/apacheds-value/jdbm-partition/pom.xml
>     directory/apacheds/branches/apacheds-value/kerberos-client/pom.xml
>     directory/apacheds/branches/apacheds-value/kerberos-codec/pom.xml
>     directory/apacheds/branches/apacheds-value/kerberos-test/pom.xml
>     directory/apacheds/branches/apacheds-value/ldap-client-test/pom.xml
>     directory/apacheds/branches/apacheds-value/ldif-partition/pom.xml
>     directory/apacheds/branches/apacheds-value/mavibot-partition/pom.xml
>     directory/apacheds/branches/apacheds-value/osgi-integ/pom.xml
>     directory/apacheds/branches/apacheds-value/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-dhcp/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-dns/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-kerberos/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-ldap/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-ntp/pom.xml
>     directory/apacheds/branches/apacheds-value/protocol-shared/pom.xml
>     directory/apacheds/branches/apacheds-value/server-annotations/pom.xml
>     directory/apacheds/branches/apacheds-value/server-config/pom.xml
>     directory/apacheds/branches/apacheds-value/server-integ/pom.xml
>     directory/apacheds/branches/apacheds-value/server-jndi/pom.xml
>     directory/apacheds/branches/apacheds-value/service-builder/pom.xml
>     directory/apacheds/branches/apacheds-value/service/ApacheDS.launch
>     directory/apacheds/branches/apacheds-value/service/pom.xml
>     directory/apacheds/branches/apacheds-value/test-framework/pom.xml
>     directory/apacheds/branches/apacheds-value/wrapper/pom.xml
>     directory/apacheds/branches/apacheds-value/xdbm-partition/pom.xml
> 
...
> Modified: directory/apacheds/branches/apacheds-value/core-annotations/pom.xml
> URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/core-annotations/pom.xml?rev=1804948&r1=1804947&r2=1804948&view=diff
> ==============================================================================
> --- directory/apacheds/branches/apacheds-value/core-annotations/pom.xml (original)
> +++ directory/apacheds/branches/apacheds-value/core-annotations/pom.xml Sun Aug 13 22:24:19
2017
> @@ -22,7 +22,7 @@
>      <parent>
>      <groupId>org.apache.directory.server</groupId>
>      <artifactId>apacheds-parent</artifactId>
> -    <version>2.0.0-M25-SNAPSHOT</version>
> +    <version>2.0.0.AM25-SNAPSHOT</version>
>    </parent>
>    
>    <artifactId>apacheds-core-annotations</artifactId>
> @@ -154,8 +154,44 @@
>            <instructions>
>              <Bundle-SymbolicName>${project.groupId}.core.annotations</Bundle-SymbolicName>
>              <Export-Package>
> -                {local-packages};version=${project.version};-noimport:=true
> +                org.apache.directory.server.core.annotations;version=${project.version},
> +                org.apache.directory.server.core.factory;version=${project.version}
>              </Export-Package>
> +            <Import-Package>
> +                org.apache.directory.api.ldap.model.constants;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.entry;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.exception;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.ldif;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.name;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.schema;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.schema.comparators;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.model.schema.registries;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.schema.extractor;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.schema.extractor.impl;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.schema.loader;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.ldap.schema.manager.impl;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.util;version=${org.apache.directory.api.version},
> +                org.apache.directory.api.util.exception;version=${org.apache.directory.api.version},
> +                org.apache.directory.server.constants;version=${project.version},
> +                org.apache.directory.server.core;version=${project.version},
> +                org.apache.directory.server.core.annotations;version=${project.version},
> +                org.apache.directory.server.core.api;version=${project.version},
> +                org.apache.directory.server.core.api.interceptor;version=${project.version},
> +                org.apache.directory.server.core.api.partition;version=${project.version},
> +                org.apache.directory.server.core.api.schema;version=${project.version},
> +                org.apache.directory.server.core.authn;version=${project.version},
> +                org.apache.directory.server.core.factory;version=${project.version},
> +                org.apache.directory.server.core.partition.impl.avl;version=${project.version},
> +                org.apache.directory.server.core.partition.impl.btree;version=${project.version},
> +                org.apache.directory.server.core.partition.impl.btree.jdbm;version=${project.version},
> +                org.apache.directory.server.core.partition.impl.btree.mavibot;version=${project.version},
> +                org.apache.directory.server.core.partition.ldif;version=${project.version},
> +                org.apache.directory.server.i18n;version=${project.version},
> +                org.apache.directory.server.xdbm;version=${project.version},
> +                org.apache.directory.server.xdbm.impl.avl;version=${project.version},
> +                org.junit.runner;version=${junit.version},
> +                org.slf4j;version=${slf4j.log4j12.version}
> +            </Import-Package>
>            </instructions>
>          </configuration>
>        </plugin>

Mime
View raw message