You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/05/30 08:39:22 UTC
[jira] [Closed] (OAK-6090) Move exercise code to separate packages
to avoid build warnings
[ https://issues.apache.org/jira/browse/OAK-6090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davide Giannella closed OAK-6090.
---------------------------------
Bulk close for 1.7.0
> Move exercise code to separate packages to avoid build warnings
> ---------------------------------------------------------------
>
> Key: OAK-6090
> URL: https://issues.apache.org/jira/browse/OAK-6090
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: exercise
> Reporter: angela
> Assignee: angela
> Priority: Minor
> Labels: technical_debt
> Fix For: 1.7.0, 1.8
>
>
> building the {{oak-exercise}} module generates warnings due to occupation of same package space:
> {quote}
> [WARNING] Bundle org.apache.jackrabbit:oak-exercise:bundle:1.8-SNAPSHOT : Split package, multiple jars provide the same package:org/apache/jackrabbit/oak/security/authentication
> Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning
> Package found in [Jar:., Jar:oak-core, Jar:oak-core]
> Class path [Jar:., Jar:jcr, Jar:oak-jcr, Jar:oak-core-spi, Jar:oak-store-spi, Jar:oak-api, Jar:oak-core, Jar:oak-blob, Jar:jackrabbit-data, Jar:jcl-over-slf4j, Jar:oak-blob-plugins, Jar:commons-codec, Jar:commons-io, Jar:oak-commons, Jar:oak-auth-external, Jar:jackrabbit-api, Jar:jackrabbit-jcr-commons, Jar:jsr305, Jar:org.apache.felix.scr.annotations, Jar:org.apache.felix.jaas, Jar:org.osgi.core, Jar:org.osgi.compendium, Jar:guava, Jar:slf4j-api, Jar:junit, Jar:hamcrest-core, Jar:mongo-java-driver, Jar:logback-classic, Jar:logback-core, Jar:jul-to-slf4j, Jar:h2, Jar:jackrabbit-jcr-tests, Jar:concurrent, Jar:oak-commons, Jar:oak-jcr, Jar:oak-core, Jar:geronimo-jta_1.0.1B_spec]
> [WARNING] Bundle org.apache.jackrabbit:oak-exercise:bundle:1.8-SNAPSHOT : Split package, multiple jars provide the same package:org/apache/jackrabbit/oak/security/authorization/restriction
> Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning
> Package found in [Jar:., Jar:oak-core, Jar:oak-core]
> Class path [Jar:., Jar:jcr, Jar:oak-jcr, Jar:oak-core-spi, Jar:oak-store-spi, Jar:oak-api, Jar:oak-core, Jar:oak-blob, Jar:jackrabbit-data, Jar:jcl-over-slf4j, Jar:oak-blob-plugins, Jar:commons-codec, Jar:commons-io, Jar:oak-commons, Jar:oak-auth-external, Jar:jackrabbit-api, Jar:jackrabbit-jcr-commons, Jar:jsr305, Jar:org.apache.felix.scr.annotations, Jar:org.apache.felix.jaas, Jar:org.osgi.core, Jar:org.osgi.compendium, Jar:guava, Jar:slf4j-api, Jar:junit, Jar:hamcrest-core, Jar:mongo-java-driver, Jar:logback-classic, Jar:logback-core, Jar:jul-to-slf4j, Jar:h2, Jar:jackrabbit-jcr-tests, Jar:concurrent, Jar:oak-commons, Jar:oak-jcr, Jar:oak-core, Jar:geronimo-jta_1.0.1B_spec]
> [WARNING] Bundle org.apache.jackrabbit:oak-exercise:bundle:1.8-SNAPSHOT : Split package, multiple jars provide the same package:org/apache/jackrabbit/oak/security/principal
> Use Import/Export Package directive -split-package:=(merge-first|merge-last|error|first) to get rid of this warning
> Package found in [Jar:., Jar:oak-core, Jar:oak-core]
> Class path [Jar:., Jar:jcr, Jar:oak-jcr, Jar:oak-core-spi, Jar:oak-store-spi, Jar:oak-api, Jar:oak-core, Jar:oak-blob, Jar:jackrabbit-data, Jar:jcl-over-slf4j, Jar:oak-blob-plugins, Jar:commons-codec, Jar:commons-io, Jar:oak-commons, Jar:oak-auth-external, Jar:jackrabbit-api, Jar:jackrabbit-jcr-commons, Jar:jsr305, Jar:org.apache.felix.scr.annotations, Jar:org.apache.felix.jaas, Jar:org.osgi.core, Jar:org.osgi.compendium, Jar:guava, Jar:slf4j-api, Jar:junit, Jar:hamcrest-core, Jar:mongo-java-driver, Jar:logback-classic, Jar:logback-core, Jar:jul-to-slf4j, Jar:h2, Jar:jackrabbit-jcr-tests, Jar:concurrent, Jar:oak-commons, Jar:oak-jcr, Jar:oak-core, Jar:geronimo-jta_1.0.1B_spec]
> {quote}
> Moving the exercises and the sample code to an _execise_ package space would also make it really obvious that this is not part of the productive code base.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)