{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/162","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/162/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/162/events","html_url":"https://github.com/capitalone/Hygieia/issues/162","id":115125444,"number":162,"title":"Running mvn install package gives errors","user":{"login":"joshku","id":4039616,"avatar_url":"https://avatars.githubusercontent.com/u/4039616?v=3","gravatar_id":"","url":"https://api.github.com/users/joshku","html_url":"https://github.com/joshku","followers_url":"https://api.github.com/users/joshku/followers","following_url":"https://api.github.com/users/joshku/following{/other_user}","gists_url":"https://api.github.com/users/joshku/gists{/gist_id}","starred_url":"https://api.github.com/users/joshku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshku/subscriptions","organizations_url":"https://api.github.com/users/joshku/orgs","repos_url":"https://api.github.com/users/joshku/repos","events_url":"https://api.github.com/users/joshku/events{/privacy}","received_events_url":"https://api.github.com/users/joshku/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jdamick","id":12317,"avatar_url":"https://avatars.githubusercontent.com/u/12317?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamick","html_url":"https://github.com/jdamick","followers_url":"https://api.github.com/users/jdamick/followers","following_url":"https://api.github.com/users/jdamick/following{/other_user}","gists_url":"https://api.github.com/users/jdamick/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamick/subscriptions","organizations_url":"https://api.github.com/users/jdamick/orgs","repos_url":"https://api.github.com/users/jdamick/repos","events_url":"https://api.github.com/users/jdamick/events{/privacy}","received_events_url":"https://api.github.com/users/jdamick/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-04T19:09:21Z","updated_at":"2015-11-05T03:02:56Z","closed_at":null,"body":"I did a fresh pull of the code from GitHub and tried to do the command `mvn clean install package` and I got the following output as a result:\r\n```\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO]\r\n[INFO] com.capitalone.dashboard:Hygieia ................... SUCCESS [  1.015 s]\r\n[INFO] com.capitalone.dashboard:core ...................... FAILURE [ 11.820 s]\r\n[INFO] com.capitalone.dashboard:api ....................... SKIPPED\r\n[INFO] com.capitalone.dashboard:jenkins-build-collector ... SKIPPED\r\n[INFO] com.capitalone.dashboard:sonar-codequality-collector SKIPPED\r\n[INFO] com.capitalone.dashboard:subversion-collector ...... SKIPPED\r\n[INFO] com.capitalone.dashboard:github-scm-collector ...... SKIPPED\r\n[INFO] com.capitalone.dashboard:versionone-feature-collector SKIPPED\r\n[INFO] com.capitalone.dashboard:udeploy-deployment-collector SKIPPED\r\n[INFO] com.capitalone.dashboard:jira-feature-collector .... SKIPPED\r\n[INFO] com.capitalone.dashboard:jenkins-cucumber-test-collector SKIPPED\r\n[INFO] com.capitalone.dashboard:UI ........................ SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 13.855 s\r\n[INFO] Finished at: 2015-11-04T13:52:38-05:00\r\n[INFO] Final Memory: 41M/356M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.5:check (default) on project core: You have 21 PMD violations. For more details see: /home/ibmadmin/Hygieia/core/target/pmd.xml -> [Help 1]\r\n[ERROR]\r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR]\r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException\r\n[ERROR]\r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :core\r\n```\r\nWhen I researched further I opened up the pmd.xml file that was referenced in the error message and here are the following errors:\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<pmd version=\"5.3.2\" timestamp=\"2015-11-04T13:52:37.418\">\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QApplication.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QAuthentication.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QBaseModel.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QBinaryArtifact.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QBuild.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QCodeQuality.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QCollector.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QCollectorItem.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QCommit.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QComponent.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QDashboard.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QEnvironmentComponent.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QEnvironmentStatus.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QFeature.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QFeatureHistory.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QScope.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QScopeOwner.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QService.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QTestResult.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QTestSuite.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n<file name=\"/home/ibmadmin/Hygieia/core/target/generated-sources/java/com/capitalone/dashboard/model/QWidget.java\">\r\n<violation beginline=\"10\" endline=\"10\" begincolumn=\"8\" endcolumn=\"44\" rule=\"DuplicateImports\" ruleset=\"Import Statements\" package=\"com.capitalone.dashboard.model\" externalInfoUrl=\"http://pmd.sourceforge.net/pmd-5.3.2/pmd-java/rules/java/imports.html#DuplicateImports\" priority=\"4\">\r\nAvoid duplicate imports such as 'com.mysema.query.types.path.PathInits'\r\n</violation>\r\n</file>\r\n</pmd>\r\n```"},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/153941033","html_url":"https://github.com/capitalone/Hygieia/issues/162#issuecomment-153941033","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/162","id":153941033,"user":{"login":"jdamick","id":12317,"avatar_url":"https://avatars.githubusercontent.com/u/12317?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamick","html_url":"https://github.com/jdamick","followers_url":"https://api.github.com/users/jdamick/followers","following_url":"https://api.github.com/users/jdamick/following{/other_user}","gists_url":"https://api.github.com/users/jdamick/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamick/subscriptions","organizations_url":"https://api.github.com/users/jdamick/orgs","repos_url":"https://api.github.com/users/jdamick/repos","events_url":"https://api.github.com/users/jdamick/events{/privacy}","received_events_url":"https://api.github.com/users/jdamick/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T03:02:56Z","updated_at":"2015-11-05T03:02:56Z","body":"thank you for the report, i'm seeing this as well on the install "}}