Piwik doesn't track jars and wars by default as download items. You can choose to track them or to add more extensions.
See Changing the List of File Extensions to Track as "Downloads" in the JavaScript Tracking section of Piwik online documentation.