{"action":"created","issue":{"url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/78","repository_url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin","labels_url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/78/comments","events_url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/78/events","html_url":"https://github.com/davidB/yuicompressor-maven-plugin/issues/78","id":53192874,"number":78,"title":"Maven Yui Compressor Plugin :String Index out of Range","user":{"login":"crajarshi","id":6407611,"avatar_url":"https://avatars.githubusercontent.com/u/6407611?v=3","gravatar_id":"","url":"https://api.github.com/users/crajarshi","html_url":"https://github.com/crajarshi","followers_url":"https://api.github.com/users/crajarshi/followers","following_url":"https://api.github.com/users/crajarshi/following{/other_user}","gists_url":"https://api.github.com/users/crajarshi/gists{/gist_id}","starred_url":"https://api.github.com/users/crajarshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crajarshi/subscriptions","organizations_url":"https://api.github.com/users/crajarshi/orgs","repos_url":"https://api.github.com/users/crajarshi/repos","events_url":"https://api.github.com/users/crajarshi/events{/privacy}","received_events_url":"https://api.github.com/users/crajarshi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2014-12-31T17:04:45Z","updated_at":"2016-07-23T09:35:34Z","closed_at":null,"body":"My pom file is as below :- \r\n```\r\n<plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-war-plugin</artifactId>\r\n                <version>2.3</version>\r\n                <executions>\r\n                    <execution>\r\n                        <!--<id>default-war</id>-->\r\n                        <phase>package</phase>\r\n                        <goals>\r\n                            <goal>war</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <warSourceDirectory>src/main/minified</warSourceDirectory>\r\n                            <encoding>UTF-8</encoding>\r\n                        </configuration>\r\n                    </execution>\r\n                </executions>\r\n                <configuration>\r\n                    <failOnMissingWebXml>false</failOnMissingWebXml>\r\n        <warSourceDirectory>src/main/minified</warSourceDirectory>\r\n        <encoding>UTF-8</encoding>\r\n        <webResources>\r\n            <resource>\r\n                <directory>${project.build.directory}/min</directory>\r\n            </resource>\r\n        </webResources>\r\n    </configuration>\r\n            </plugin>\r\n            <plugin>\r\n    <groupId>net.alchim31.maven</groupId>\r\n    <artifactId>yuicompressor-maven-plugin</artifactId>\r\n    <version>1.5.1</version>\r\n    <executions>\r\n        <execution>\r\n            <id>compressyui</id>\r\n            <phase>process-resources</phase>\r\n            <goals>\r\n                <goal>compress</goal>\r\n            </goals>\r\n            <configuration>\r\n                <nosuffix>true</nosuffix>\r\n                <warSourceDirectory>src/main/minified</warSourceDirectory>\r\n                <webappDirectory>${project.build.directory}/min</webappDirectory>\r\n                <jswarn>false</jswarn>\r\n                <nosuffix>true</nosuffix>\r\n            </configuration>\r\n        </execution>\r\n    </executions>\r\n</plugin>\r\n```\r\n----------------------------------\r\nAnd when I do a maven clean and build in Netbeans I get the following output and failure.\r\n\r\nCan anyone please help what's wrong here :-\r\n```\r\n***--- yuicompressor-maven-plugin:1.5.1:compress (compressyui) @ icoreWeb ---\r\naccountmgmt.css (28786b) -> accountmgmt.css (20283b)[70%]\r\nfields.css (10674b) -> fields.css (7808b)[73%]\r\nfooter.css (5406b) -> footer.css (3790b)[70%]\r\napex-popup.css (2789b) -> apex-popup.css (1985b)[71%]\r\napex.css (62931b) -> apex.css (45028b)[71%]\r\nbookingDisclosure.css (683b) -> bookingDisclosure.css (505b)[73%]\r\nfields.css (9684b) -> fields.css (6622b)[68%]\r\napex.css (6439b) -> apex.css (4899b)[76%]\r\nie.css (7071b) -> ie.css (4878b)[68%]\r\nrwd.css (25589b) -> rwd.css (17455b)[68%]\r\ncircle.css (457b) -> circle.css (288b)[63%]\r\ncontentOne.css (1105b) -> contentOne.css (699b)[63%]\r\ncontentOneHeader.css (56b) -> contentOneHeader.css (36b)[64%]\r\ndisclosure.css (11116b) -> disclosure.css (8832b)[79%]\r\nfooter.css (4983b) -> footer.css (3676b)[73%]\r\nhispanicFieldStyle.css (2663b) -> hispanicFieldStyle.css (1627b)[61%]\r\n------------------------------------------------------------------------\r\nBUILD FAILURE\r\n------------------------------------------------------------------------\r\nTotal time: 8.435s\r\nFinished at: Tue Dec 30 16:20:20 EST 2014\r\nFinal Memory: 31M/64M\r\n------------------------------------------------------------------------\r\nFailed to execute goal net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress (compressyui) on project icoreWeb: Execution compressyui of goal net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress failed: String index out of range: 76892 -> [Help 1]\r\n\r\nTo see the full stack trace of the errors, re-run Maven with the -e switch.\r\nRe-run Maven using the -X switch to enable full debug logging.\r\n\r\nFor more information about the errors and possible solutions, please read the following articles:\r\n[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException***\r\n```\r\n\r\nis this a problem with the plugin? what can be the possible solution? I can't use any other plugin as those are not in our nexus repository. Please help me understand what is wrong here"},"comment":{"url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/comments/234709393","html_url":"https://github.com/davidB/yuicompressor-maven-plugin/issues/78#issuecomment-234709393","issue_url":"https://api.github.com/repos/davidB/yuicompressor-maven-plugin/issues/78","id":234709393,"user":{"login":"shreeshkatyayan","id":3911768,"avatar_url":"https://avatars.githubusercontent.com/u/3911768?v=3","gravatar_id":"","url":"https://api.github.com/users/shreeshkatyayan","html_url":"https://github.com/shreeshkatyayan","followers_url":"https://api.github.com/users/shreeshkatyayan/followers","following_url":"https://api.github.com/users/shreeshkatyayan/following{/other_user}","gists_url":"https://api.github.com/users/shreeshkatyayan/gists{/gist_id}","starred_url":"https://api.github.com/users/shreeshkatyayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreeshkatyayan/subscriptions","organizations_url":"https://api.github.com/users/shreeshkatyayan/orgs","repos_url":"https://api.github.com/users/shreeshkatyayan/repos","events_url":"https://api.github.com/users/shreeshkatyayan/events{/privacy}","received_events_url":"https://api.github.com/users/shreeshkatyayan/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T09:35:34Z","updated_at":"2016-07-23T09:35:34Z","body":"Facing similar issue here.\r\n\r\n`[INFO] --- yuicompressor-maven-plugin:1.5.1:compress (compress) @ LybrateWeb ---\r\n[INFO] medidart-new-srp.css (72252b) -> medidart-new-srp.css (62622b)[86%]\r\n[INFO] style.css (73018b) -> style.css (63262b)[86%]\r\n[INFO] angular-material.min.css (284415b) -> angular-material.min.css (284335b)[99%]\r\n[INFO] app.min.css (139978b) -> app.min.css (138572b)[98%]\r\n[INFO] em-wt.css (2803b) -> em-wt.css (2217b)[79%]\r\n[INFO] v-accordion.min.css (2859b) -> v-accordion.min.css (2172b)[75%]\r\n[INFO] bootstrap-modals.css (3672b) -> bootstrap-modals.css (3065b)[83%]\r\n[INFO] bootstrap-responsive.css (22117b) -> bootstrap-responsive.css (16848b)[76%]\r\n[INFO] bootstrap.css (124231b) -> bootstrap.css (103324b)[83%]\r\n[INFO] bootstrap.min.css (103309b) -> bootstrap.min.css (103309b)[100%]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Lybrate ........................................... SUCCESS [0.246s]\r\n[INFO] Lybrate Base ...................................... SUCCESS [11.483s]\r\n[INFO] Lybrate Core ...................................... SUCCESS [35.380s]\r\n[INFO] Lybrate Services .................................. SUCCESS [29.539s]\r\n[INFO] Lybrate Web Application ........................... FAILURE [46.333s]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 2:03.211s\r\n[INFO] Finished at: Sat Jul 23 14:35:41 IST 2016\r\n[INFO] Final Memory: 98M/439M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress (compress) on project LybrateWeb: Execution compress of goal net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress failed: String index out of range: 39325 -> [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/PluginExecutionException`\r\n\r\nAny help?"}}
{"actor":{"display_login":"shreeshkatyayan"}}