Bug 1374887

Summary: pmd package does not include executable script
Product: [Fedora] Fedora Reporter: John Vandenberg <jayvdb>
Component: pmdAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: akurtako, mizdebsk, msimacek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 10:26:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Vandenberg 2016-09-10 03:13:30 UTC
Description of problem:
pmd provides a script to invoke pmd from the command line:
https://github.com/pmd/pmd/blob/master/pmd-dist/src/main/scripts/run.sh

It is not included in the released package.
coala static code analysis tool looks for "pmd" or "run.sh"
https://github.com/coala-analyzer/coala-bears/issues/804

Version-Release number of selected component (if applicable):
pmd-5.4.1-3.fc24 (latest build)

How reproducible:
Install pmd and try to run pmd

Steps to Reproduce:
1. Install pmd
2. Run $ pmd

Actual results:
Command not found

Expected results:
pmd runs.

Comment 1 John Vandenberg 2016-09-10 03:32:08 UTC
After the build is complete, run.sh can be found in the output at

pmd-dist/src/main/scripts/run.sh

and in the zip

pmd-dist/target/pmd-bin-5.5.2-SNAPSHOT.zip

When downloading the pre-build version, e.g. https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.5.1/pmd-bin-5.5.1.zip as mentioned on http://pmd.github.io/ , the run.sh is included as

pmd-bin-5.5.1/bin/run.sh

Comment 2 Mikolaj Izdebski 2016-12-09 10:26:09 UTC
FTR: This package was retired in Fedora 26.