[
https://issues.apache.org/jira/browse/KARAF-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-5937.
-----------------------------------------
Resolution: Fixed
> karaf-maven-plugin verify doesn't explain why verification failed
> -----------------------------------------------------------------
>
> Key: KARAF-5937
> URL: https://issues.apache.org/jira/browse/KARAF-5937
> Project: Karaf
> Issue Type: Improvement
> Components: karaf
> Affects Versions: 4.2.1
> Reporter: Paul Campbell
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.2.2
>
>
> When invoking the verify goal of the karaf-maven-plugin, only the message of
> the outer exception is logged. e.g.
> {code:java}
> [INFO] — karaf-maven-plugin:4.2.1:verify
> (verify-brooklyn-ui-modularity-feature) @ brooklyn-ui-modularity-features —
> [INFO] Using repositories:
> https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@noreleases@snapshots,https://repository.apache.org/content/repositories/snapshots@id=jclouds-snapshots@snapshots,https://repo.maven.apache.org/maven2@id=central
> [WARNING] Unable to resolve framework features
> [WARNING] Unable to resolve framework features
> [WARNING] Unable to resolve framework features
> [INFO] Features verified: 3, failures: 3, ignored: 0
> [INFO] Failures: brooklyn-ui-modularity/1.0.0.SNAPSHOT,
> brooklyn-ui-proxy/1.0.0.SNAPSHOT,
> brooklyn-ui-modularity-prereqs/1.0.0.SNAPSHOT
> {code}
> The useful information to identify the cause of the failure is in the message
> of the exception's cause. e.g.
> {code:java}
> [INFO] --- karaf-maven-plugin:4.2.2-SNAPSHOT:verify
> (verify-brooklyn-ui-modularity-feature) @ brooklyn-ui-modularity-features ---
> [INFO] Using repositories:
> https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@noreleases@snapshots,https://repository.apache.org/content/repositories/snapshots@id=jclouds-snapshots@snapshots,https://repo.maven.apache.org/maven2@id=central
> [WARNING] Unable to resolve framework features:
> brooklyn-ui-modularity/1.0.0.SNAPSHOT
> [WARNING] Unable to resolve root: missing requirement [root] osgi.identity;
> osgi.identity=brooklyn-rest-resources; type=karaf.feature;
> filter:="(&(osgi.identity=brooklyn-rest-resources)(type=karaf.feature))"
> [caused by: Unable to resolve brooklyn-rest-resources/1.0.0.SNAPSHOT: missing
> requirement [brooklyn-rest-resources/1.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=org.apache.brooklyn.rest-resources; type=osgi.bundle;
> version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; resolution:=mandatory [caused by:
> Unable to resolve org.apache.brooklyn.rest-resources/1.0.0.SNAPSHOT: missing
> requirement [org.apache.brooklyn.rest-resources/1.0.0.SNAPSHOT]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=io.swagger.annotations)(version>=1.5.0)(!(version>=2.0.0)))"
> [caused by: Unable to resolve io.swagger.annotations/1.5.6: missing
> requirement [io.swagger.annotations/1.5.6] osgi.identity;
> osgi.identity="root#swagger-1.5.6"; type=karaf.subsystem;
> version="[0,0.0.0]"; resolution:=mandatory [caused by: Unable to resolve
> root#swagger-1.5.6: missing requirement [root#swagger-1.5.6] osgi.identity;
> osgi.identity=swagger; type=karaf.feature; version="[1.5.6,1.5.6]" [caused
> by: Unable to resolve swagger/1.5.6: missing requirement [swagger/1.5.6]
> osgi.identity; osgi.identity=io.swagger.core; type=osgi.bundle;
> version="[1.5.6,1.5.6]"; resolution:=mandatory [caused by: Unable to resolve
> io.swagger.core/1.5.6: missing requirement [io.swagger.core/1.5.6]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.dataformat.yaml)(version>=2.4.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve
> com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7: missing
> requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.23.0)(!(version>=2.0.0)))"]]]]]]]
> [WARNING] Unable to resolve framework features:
> brooklyn-ui-proxy/1.0.0.SNAPSHOT
> [WARNING] Unable to resolve root: missing requirement [root] osgi.identity;
> osgi.identity=brooklyn-osgi-launcher; type=karaf.feature;
> filter:="(&(osgi.identity=brooklyn-osgi-launcher)(type=karaf.feature))"
> [caused by: Unable to resolve brooklyn-osgi-launcher/1.0.0.SNAPSHOT: missing
> requirement [brooklyn-osgi-launcher/1.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=brooklyn-container-service; type=karaf.feature [caused by:
> Unable to resolve brooklyn-container-service/1.0.0.SNAPSHOT: missing
> requirement [brooklyn-container-service/1.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=io.fabric8.openshift-client; type=osgi.bundle;
> version="[1.4.27,1.4.27]"; resolution:=mandatory [caused by: Unable to
> resolve io.fabric8.openshift-client/1.4.27: missing requirement
> [io.fabric8.openshift-client/1.4.27] osgi.wiring.package;
> filter:="(osgi.wiring.package=io.fabric8.kubernetes.client)" [caused by:
> Unable to resolve io.fabric8.kubernetes-client/1.4.27: missing requirement
> [io.fabric8.kubernetes-client/1.4.27] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.dataformat.yaml)(version>=2.7.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve
> com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7: missing
> requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.23.0)(!(version>=2.0.0)))"]]]]]
> [WARNING] Unable to resolve framework features:
> brooklyn-ui-modularity-prereqs/1.0.0.SNAPSHOT
> [WARNING] Unable to resolve root: missing requirement [root] osgi.identity;
> osgi.identity=brooklyn-osgi-launcher; type=karaf.feature;
> filter:="(&(osgi.identity=brooklyn-osgi-launcher)(type=karaf.feature))"
> [caused by: Unable to resolve brooklyn-osgi-launcher/1.0.0.SNAPSHOT: missing
> requirement [brooklyn-osgi-launcher/1.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=brooklyn-container-service; type=karaf.feature [caused by:
> Unable to resolve brooklyn-container-service/1.0.0.SNAPSHOT: missing
> requirement [brooklyn-container-service/1.0.0.SNAPSHOT] osgi.identity;
> osgi.identity=io.fabric8.openshift-client; type=osgi.bundle;
> version="[1.4.27,1.4.27]"; resolution:=mandatory [caused by: Unable to
> resolve io.fabric8.openshift-client/1.4.27: missing requirement
> [io.fabric8.openshift-client/1.4.27] osgi.wiring.package;
> filter:="(osgi.wiring.package=io.fabric8.kubernetes.client)" [caused by:
> Unable to resolve io.fabric8.kubernetes-client/1.4.27: missing requirement
> [io.fabric8.kubernetes-client/1.4.27] osgi.wiring.package;
> filter:="(&(osgi.wiring.package=com.fasterxml.jackson.dataformat.yaml)(version>=2.7.0)(!(version>=3.0.0)))"
> [caused by: Unable to resolve
> com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7: missing
> requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.9.7]
> osgi.wiring.package;
> filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.23.0)(!(version>=2.0.0)))"]]]]]
> [INFO] Features verified: 3, failures: 3, ignored: 0
> [INFO] Failures: brooklyn-ui-modularity/1.0.0.SNAPSHOT,
> brooklyn-ui-proxy/1.0.0.SNAPSHOT,
> brooklyn-ui-modularity-prereqs/1.0.0.SNAPSHOT
> {code}
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)