https://bugzilla.redhat.com/show_bug.cgi?id=1250223 --- Comment #13 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> --- (In reply to gil cattaneo from comment #11) > if you use XMvn for build this package you should not replace the manifest > files with others. Are already generated by > org.apache.felix:maven-bundle-plugin Ack. Looks like the reason given in comment ("add missing OSGi metadata to manifests") is not needed anymore. diff --git tmp/manif1 tmp/manif2 index f98af18e06..1a64a90886 100644 --- tmp/manif1 +++ tmp/manif2 @@ -3,27 +3,68 @@ Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-SymbolicName: org.apache.lucene.core Archiver-Version: Plexus Archiver Built-By: mockbuild -Bnd-LastModified: 1438968871456 -Bundle-RequiredExecutionEnvironment: JavaSE-1.7 +Bnd-LastModified: 1438970844988 JavaPackages-ArtifactId: lucene-core Implementation-Vendor-Id: org.apache.lucene Specification-Title: Lucene Core Bundle-DocURL: http://www.apache.org/ Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))" -Import-Package: javax.management Export-Package: org.apache.lucene;version="4.10.4",org.apache.lucene.a - nalysis;version="4.10.4",org.apache.lucene.analysis.tokenattributes;v - ersion="4.10.4",org.apache.lucene.document;version="4.10.4",org.apach - e.lucene.index;version="4.10.4",org.apache.lucene.search;version="4.1 - 0.4",org.apache.lucene.search.payloads;version="4.10.4",org.apache.lu - cene.search.spans;version="4.10.4",org.apache.lucene.search.similarit - ies;version="4.10.4",org.apache.lucene.store;version="4.10.4",org.apa - che.lucene.util;version="4.10.4",org.apache.lucene.util.fst;version=" - 4.10.4",org.apache.lucene.util.packed;version="4.10.4",org.apache.luc - ene.util.mutable;version="4.10.4",org.apache.lucene.util.automaton;ve - rsion="4.10.4" -Bundle-Name: High-performance, full-featured text search engine -Bundle-Localization: plugin + nalysis;uses:="org.apache.lucene.analysis.tokenattributes,org.apache. + lucene.util,org.apache.lucene.util.automaton";version="4.10.4",org.ap + ache.lucene.analysis.tokenattributes;uses:="org.apache.lucene.util";v + ersion="4.10.4",org.apache.lucene.codecs;uses:="org.apache.lucene.ind + ex,org.apache.lucene.store,org.apache.lucene.util";version="4.10.4",o + rg.apache.lucene.codecs.blocktree;uses:="org.apache.lucene.codecs,org + .apache.lucene.index,org.apache.lucene.store,org.apache.lucene.util,o + rg.apache.lucene.util.automaton";version="4.10.4",org.apache.lucene.c + odecs.compressing;uses:="org.apache.lucene.codecs,org.apache.lucene.i + ndex,org.apache.lucene.store,org.apache.lucene.util";version="4.10.4" + ,org.apache.lucene.codecs.lucene3x;uses:="org.apache.lucene.codecs,or + g.apache.lucene.index,org.apache.lucene.store";version="4.10.4",org.a + pache.lucene.codecs.lucene40;uses:="org.apache.lucene.codecs,org.apac + he.lucene.index,org.apache.lucene.store,org.apache.lucene.util";versi + on="4.10.4",org.apache.lucene.codecs.lucene41;uses:="org.apache.lucen + e.codecs,org.apache.lucene.codecs.compressing,org.apache.lucene.index + ,org.apache.lucene.store,org.apache.lucene.util";version="4.10.4",org + .apache.lucene.codecs.lucene410;uses:="org.apache.lucene.codecs,org.a + pache.lucene.index";version="4.10.4",org.apache.lucene.codecs.lucene4 + 2;uses:="org.apache.lucene.codecs,org.apache.lucene.codecs.compressin + g,org.apache.lucene.index";version="4.10.4",org.apache.lucene.codecs. + lucene45;uses:="org.apache.lucene.codecs,org.apache.lucene.index";ver + sion="4.10.4",org.apache.lucene.codecs.lucene46;uses:="org.apache.luc + ene.codecs,org.apache.lucene.index,org.apache.lucene.store";version=" + 4.10.4",org.apache.lucene.codecs.lucene49;uses:="org.apache.lucene.co + decs,org.apache.lucene.index";version="4.10.4",org.apache.lucene.code + cs.perfield;uses:="org.apache.lucene.codecs,org.apache.lucene.index"; + version="4.10.4",org.apache.lucene.document;uses:="org.apache.lucene. + analysis,org.apache.lucene.index,org.apache.lucene.util";version="4.1 + 0.4",org.apache.lucene.index;uses:="org.apache.lucene.analysis,org.ap + ache.lucene.codecs,org.apache.lucene.codecs.blocktree,org.apache.luce + ne.document,org.apache.lucene.search,org.apache.lucene.search.similar + ities,org.apache.lucene.store,org.apache.lucene.util,org.apache.lucen + e.util.automaton";version="4.10.4",org.apache.lucene.search;uses:="or + g.apache.lucene.document,org.apache.lucene.index,org.apache.lucene.se + arch.similarities,org.apache.lucene.store,org.apache.lucene.util,org. + apache.lucene.util.automaton,org.apache.lucene.util.packed";version=" + 4.10.4",org.apache.lucene.search.payloads;uses:="org.apache.lucene.in + dex,org.apache.lucene.search,org.apache.lucene.search.similarities,or + g.apache.lucene.search.spans,org.apache.lucene.util";version="4.10.4" + ,org.apache.lucene.search.similarities;uses:="org.apache.lucene.index + ,org.apache.lucene.search,org.apache.lucene.util";version="4.10.4",or + g.apache.lucene.search.spans;uses:="org.apache.lucene.index,org.apach + e.lucene.search,org.apache.lucene.search.similarities,org.apache.luce + ne.util";version="4.10.4",org.apache.lucene.store;uses:="org.apache.l + ucene.util";version="4.10.4",org.apache.lucene.util;uses:="org.apache + .lucene.analysis,org.apache.lucene.index,org.apache.lucene.search,org + .apache.lucene.store";version="4.10.4",org.apache.lucene.util.automat + on;uses:="org.apache.lucene.index,org.apache.lucene.util";version="4. + 10.4",org.apache.lucene.util.fst;uses:="org.apache.lucene.store,org.a + pache.lucene.util";version="4.10.4",org.apache.lucene.util.mutable;us + es:="org.apache.lucene.util";version="4.10.4",org.apache.lucene.util. + packed;uses:="org.apache.lucene.index,org.apache.lucene.search,org.ap + ache.lucene.store,org.apache.lucene.util";version="4.10.4" +Bundle-Name: Lucene Core Extension-Name: org.apache.lucene JavaPackages-GroupId: org.apache.lucene Bundle-Description: Apache Lucene Java Core @@ -33,7 +74,7 @@ Implementation-Version: 4.10.4 NO-REVISION-AVAILABLE - mockbuild - ${n JavaPackages-Version: 4.10.4 Bundle-ManifestVersion: 2 Specification-Vendor: The Apache Software Foundation -Bundle-Vendor: fedoraproject.org +Bundle-Vendor: The Apache Software Foundation Tool: Bnd-2.4.1 Implementation-Vendor: The Apache Software Foundation Bundle-Version: 4.10.4 (In reply to gil cattaneo from comment #10) > this is no a compact package, you must use: > %mvn_compat_version 'org.apache.lucene:*' %{version} %{majorversion} > where majorversion is equal to 4 Hm, how do I do that? I tried adding: %mvn_compat_version 'org.apache.lucene:*' %{version} 4 at the end of %prep, but then the build fails, because the provides between different poms are not satisfied anymore: -[INFO maven.req] java-headless >= 1:1.7, jpackage-utils -Provides: lucene4 = 0:4.10.4-1.fc24 lucene4-core = 0:4.10.4-1.fc24 mvn(org.apache.lucene:lucene-core) = 4.10 .4 mvn(org.apache.lucene:lucene-core-aggregator:pom:) = 4.10.4 mvn(org.apache.lucene:lucene-core:pom:) = 4.10 .4 osgi(org.apache.lucene.core) = 4.10.4 +[INFO maven.req] jpackage-utils, java-headless >= 1:1.7 +Provides: lucene4 = 0:4.10.4-1.fc24 lucene4-core = 0:4.10.4-1.fc24 mvn(org.apache.lucene:lucene-core-aggrega tor:pom:4) = 4.10.4 mvn(org.apache.lucene:lucene-core-aggregator:pom:4.10.4) = 4.10.4 mvn(org.apache.lucene:l ucene-core:4) = 4.10.4 mvn(org.apache.lucene:lucene-core:4.10.4) = 4.10.4 mvn(org.apache.lucene:lucene-core:p om:4) = 4.10.4 mvn(org.apache.lucene:lucene-core:pom:4.10.4) = 4.10.4 osgi(org.apache.lucene.core) = 4.10.4 +[INFO maven.req] from POM(s): +Traceback (most recent call last): + File "/usr/lib/rpm/maven.req", line 394, in <module> + builder = TagBuilder() + File "/usr/lib/rpm/maven.req", line 77, in __init__ + self.print_pom_requires(metadata) + File "/usr/lib/rpm/maven.req", line 164, in print_pom_requires + .format(reqs=", ".join([x.get_mvn_str() for x in unresolvable]))) +Exception: Unable to generate requires on unresolvable artifacts: org.apache.lucene:lucene-solr-grandparent: -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review