I have not tried running in verbose mode yet, I can try that. but here is an example output:
[bnd] # addAll 'bin' with ;,
[bnd] # addAll 'x.y.z.core.bnd' with ,
[bnd] Warnings
[bnd] Imports that lack version ranges: [com.google.protobuf, javax.xml.bind, javax.xml.bind.annotation, javax.xml.bind.annotation.adapters, javax.xml.datatype, org.osgi.framework, org.osgi.service.cm, org.osgi.service.component, org.osgi.service.event, org.osgi.service.log, org.osgi.service.metatype]
[bnd] Used bundle version 1.16 for exported package x.y.z.core
[bnd] Used bundle version 1.16 for exported package x.y.z.core.asset.capability.proto
[bnd] # x.y.z.core (x.y.z.core-api.jar) 1601 As you can see the bnd filename is at the top of the output, but the warnings are listed out line by line. I'm trying to treat each line as a separate warning, so I can track the warnings over time and to know when a new one comes up. For Jenkins, I would need a regular expression that finds each warning (each line in the output), but also contains the filename (at least). I don't see the line number in the output at all, so I'm going that isn't possible to log.
For instance, here is an example of output I use for our Jade parsing tool that I can easily write a regex for:
[JadeGenerator.py] WARNING: assetDirectoryServiceMessages.proto@25: Enum type "Activated" does not have a matching data type.
[JadeGenerator.py] WARNING: assetDirectoryServiceMessages.proto@28: Enum type "Activating" does not have a matching data type.
[JadeGenerator.py] WARNING: assetDirectoryServiceMessages.proto@31: Enum type "Deactivated" does not have a matching data type.
Each line contains the file and the line number making it easy to log the warning in Jenkins.