{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/qulice/issues/400","labels_url":"https://api.github.com/repos/teamed/qulice/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/teamed/qulice/issues/400/comments","events_url":"https://api.github.com/repos/teamed/qulice/issues/400/events","html_url":"https://github.com/teamed/qulice/issues/400","id":57101288,"number":400,"title":"mvn qulice:check -Pqulice fails to read license","user":{"login":"darkled","id":3275813,"avatar_url":"https://avatars.githubusercontent.com/u/3275813?v=3","gravatar_id":"","url":"https://api.github.com/users/darkled","html_url":"https://github.com/darkled","followers_url":"https://api.github.com/users/darkled/followers","following_url":"https://api.github.com/users/darkled/following{/other_user}","gists_url":"https://api.github.com/users/darkled/gists{/gist_id}","starred_url":"https://api.github.com/users/darkled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkled/subscriptions","organizations_url":"https://api.github.com/users/darkled/orgs","repos_url":"https://api.github.com/users/darkled/repos","events_url":"https://api.github.com/users/darkled/events{/privacy}","received_events_url":"https://api.github.com/users/darkled/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/teamed/qulice/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/teamed/qulice/labels/@krzyk","name":"@krzyk","color":"009801"},{"url":"https://api.github.com/repos/teamed/qulice/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/teamed/qulice/labels/DEV","name":"DEV","color":"bfd4f3"}],"state":"open","locked":false,"assignee":{"login":"krzyk","id":105730,"avatar_url":"https://avatars.githubusercontent.com/u/105730?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyk","html_url":"https://github.com/krzyk","followers_url":"https://api.github.com/users/krzyk/followers","following_url":"https://api.github.com/users/krzyk/following{/other_user}","gists_url":"https://api.github.com/users/krzyk/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyk/subscriptions","organizations_url":"https://api.github.com/users/krzyk/orgs","repos_url":"https://api.github.com/users/krzyk/repos","events_url":"https://api.github.com/users/krzyk/events{/privacy}","received_events_url":"https://api.github.com/users/krzyk/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-02-09T22:38:00Z","updated_at":"2015-09-05T17:38:11Z","closed_at":null,"body":"Running locally under windows 7 `mvn qulice:check -Pqulice -e` on a project with `LICENSE.txt` inside the project folder leads to the following error:\r\n```\r\n[INFO] --- qulice-maven-plugin:0.12:check (default-cli) @ aProject ---\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 6.774 s\r\n[INFO] Finished at: 2015-02-10T01:30:57+03:00\r\n[INFO] Final Memory: 15M/308M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.12:check (default-cli) on project aProject: Execution default-cli of goal com.qulice:qulice-maven-plugin:0.12:check failed: Failed to read license: Unknown host D -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.qulice:qulice-maven-plugin:0.12:check (default-cli) on project aProject: Execution default-cli of goal com.qulice:qulice-maven-plugin:0.12:check failed: Failed to read license\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)\r\n        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\r\n        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)\r\n        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)\r\n        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)\r\n        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)\r\n        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)\r\n        at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\nCaused by: org.apache.maven.plugin.PluginExecutionException: Execution default-cli of goal com.qulice:qulice-maven-plugin:0.12:check failed: Failed to read license\r\n        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n        ... 19 more\r\nCaused by: java.lang.IllegalStateException: Failed to read license\r\n        at com.qulice.checkstyle.CheckstyleValidator.header(CheckstyleValidator.java:151)\r\n        at com.qulice.checkstyle.CheckstyleValidator.configuration(CheckstyleValidator.java:120)\r\n        at com.qulice.checkstyle.CheckstyleValidator.validate(CheckstyleValidator.java:86)\r\n        at com.qulice.maven.CheckMojo.run(CheckMojo.java:83)\r\n        at com.qulice.maven.CheckMojo.doExecute(CheckMojo.java:59)\r\n        at com.qulice.maven.AbstractQuliceMojo.execute(AbstractQuliceMojo.java:175)\r\n        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)\r\n        ... 20 more\r\nCaused by: java.net.UnknownHostException: D\r\n        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)\r\n        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)\r\n        at java.net.Socket.connect(Socket.java:579)\r\n        at java.net.Socket.connect(Socket.java:528)\r\n        at sun.net.ftp.impl.FtpClient.doConnect(FtpClient.java:958)\r\n        at sun.net.ftp.impl.FtpClient.tryConnect(FtpClient.java:918)\r\n        at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:1013)\r\n        at sun.net.ftp.impl.FtpClient.connect(FtpClient.java:999)\r\n        at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:294)\r\n        at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:393)\r\n        at java.net.URL.openStream(URL.java:1037)\r\n        at com.qulice.checkstyle.CheckstyleValidator.header(CheckstyleValidator.java:148)\r\n        ... 26 more\r\n[ERROR]\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/PluginExecutionException\r\n```\r\n\r\nIt seems that the method `com.qulice.checkstyle.CheckstyleValidator.header(Environment)` builds a wrong URL."},"comment":{"url":"https://api.github.com/repos/teamed/qulice/issues/comments/137980390","html_url":"https://github.com/teamed/qulice/issues/400#issuecomment-137980390","issue_url":"https://api.github.com/repos/teamed/qulice/issues/400","id":137980390,"user":{"login":"darkled","id":3275813,"avatar_url":"https://avatars.githubusercontent.com/u/3275813?v=3","gravatar_id":"","url":"https://api.github.com/users/darkled","html_url":"https://github.com/darkled","followers_url":"https://api.github.com/users/darkled/followers","following_url":"https://api.github.com/users/darkled/following{/other_user}","gists_url":"https://api.github.com/users/darkled/gists{/gist_id}","starred_url":"https://api.github.com/users/darkled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkled/subscriptions","organizations_url":"https://api.github.com/users/darkled/orgs","repos_url":"https://api.github.com/users/darkled/repos","events_url":"https://api.github.com/users/darkled/events{/privacy}","received_events_url":"https://api.github.com/users/darkled/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T17:38:11Z","updated_at":"2015-09-05T17:38:11Z","body":"@krzyk it looks very confusing, I think we need to say it explicitly in one or two sentences."}}