{"action":"created","issue":{"url":"https://api.github.com/repos/groovy/GMavenPlus/issues/118","repository_url":"https://api.github.com/repos/groovy/GMavenPlus","labels_url":"https://api.github.com/repos/groovy/GMavenPlus/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/groovy/GMavenPlus/issues/118/comments","events_url":"https://api.github.com/repos/groovy/GMavenPlus/issues/118/events","html_url":"https://github.com/groovy/GMavenPlus/issues/118","id":392456505,"node_id":"MDU6SXNzdWUzOTI0NTY1MDU=","number":118,"title":"Unexpected token while trying to compile the java code ","user":{"login":"suneelkumar45","id":45988564,"node_id":"MDQ6VXNlcjQ1OTg4NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/45988564?v=4","gravatar_id":"","url":"https://api.github.com/users/suneelkumar45","html_url":"https://github.com/suneelkumar45","followers_url":"https://api.github.com/users/suneelkumar45/followers","following_url":"https://api.github.com/users/suneelkumar45/following{/other_user}","gists_url":"https://api.github.com/users/suneelkumar45/gists{/gist_id}","starred_url":"https://api.github.com/users/suneelkumar45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suneelkumar45/subscriptions","organizations_url":"https://api.github.com/users/suneelkumar45/orgs","repos_url":"https://api.github.com/users/suneelkumar45/repos","events_url":"https://api.github.com/users/suneelkumar45/events{/privacy}","received_events_url":"https://api.github.com/users/suneelkumar45/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-19T06:18:50Z","updated_at":"2018-12-24T18:47:24Z","closed_at":null,"author_association":"NONE","body":"Not sure this is anyone tried before or not. started working on a project which has combination of frameworks spring-boot+ Maven + groovy + jooq . In project jooq table creation takes minimum 5 mins every time when execute command mvn clean install. so decided very first time will create the jooq tables and from next time on wards will skip the generating sources. so used <skip>${jooq.codegen.skip}</skip> flag to skip the code generation.\r\n\r\nIssue  with gmaven plus plugin while trying to generate project sources very first time compiling the sources I get error unexpected token when it tries to compile the value with double quotes line. sample below.\r\nHow to resolve this error? \r\n\r\n[INFO] --- gmavenplus-plugin:1.6.1:compile (compile) @ ***---\r\n[INFO] Using Groovy 2.4.15 to perform compile.\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 01:20 min\r\n[INFO] Finished at: 2018-12-18T14:43:53+05:30\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.codehaus.gmavenplus:gmavenplus-plugin:1.6.1:compile (compile) on project ***: Error occurred while calling a method on a Groovy class from classpath.: InvocationTargetException: startup failed:\r\n[ERROR] target\\generated-sources\\jooq-postgres\\com\\**\\**\\jooq\\**\\Sequences.java: 18: unexpected token: http://www.jooq.org @ line 18, column 9.\r\n[ERROR]            \"http://www.jooq.org\",\r\n[ERROR]            ^\r\n[ERROR]\r\n[ERROR] 1 error\r\n\r\ncode -snippet :\r\n\r\n@Generated(\r\n    value = {\r\n        \"http://www.jooq.org\",\r\n        \"jOOQ version:3.11.4\"\r\n    },\r\n    comments = \"This class is generated by jOOQ\"\r\n)\r\n@SuppressWarnings({ \"all\", \"unchecked\", \"rawtypes\" })\r\nThis is My pom.xml configuration . any help is appreciated.\r\n\r\n<executions>\r\n  <execution>\r\n     <id>generate-sources</id>\r\n      <phase>generate-sources</phase>\r\n      <goals>\r\n         <goal>generate</goal>\r\n       </goals>\r\n    </execution>\r\n </executions>\r\n<configuration>\r\n  <skip>${jooq.codegen.skip}</skip>\r\n </configuration>\r\n\r\ngmaven plus plugin config :\r\n\r\n<plugins>\r\n            <!-- Groovy -->\r\n            <plugin>\r\n                <groupId>org.codehaus.gmavenplus</groupId>\r\n                <artifactId>gmavenplus-plugin</artifactId>\r\n                <version>${gmavenplus.plugin.version}</version>\r\n                <executions>\r\n                    <execution>\r\n                    \t<id>add-sources</id>\r\n                        <goals>\r\n                        \t<goal>addSources</goal>\r\n                        \t<goal>addTestSources</goal>\r\n                        </goals>\r\n                    </execution>\r\n                    <execution>\r\n                    \t<id>compile</id>\r\n                    \t<goals>\r\n                    \t\t<goal>compile</goal>\r\n                    \t</goals>\r\n                    </execution>\r\n                    <execution>\r\n                    \t<id>compile-tests</id>\r\n                    \t<goals>\r\n                    \t\t<goal>compileTests</goal>\r\n                    \t</goals>\r\n                    </execution>\r\n                </executions>\r\n                <configuration>\r\n                \t<sources>\r\n                \t\t<source>\r\n                \t\t\t<directory>target/generated-sources/jooq-postgres</directory>\r\n                \t\t</source>\r\n                \t</sources>\r\n                \t<testSources>\r\n                \t\t<testSource>\r\n                \t\t\t<directory>target/generated-sources/jooq-postgres</directory>\r\n                \t\t</testSource>\r\n                \t</testSources>\r\n                </configuration>\r\n            </plugin>\r\n\r\nThanks,\r\nSuneel\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/groovy/GMavenPlus/issues/comments/449762977","html_url":"https://github.com/groovy/GMavenPlus/issues/118#issuecomment-449762977","issue_url":"https://api.github.com/repos/groovy/GMavenPlus/issues/118","id":449762977,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTc2Mjk3Nw==","user":{"login":"suneelkumar45","id":45988564,"node_id":"MDQ6VXNlcjQ1OTg4NTY0","avatar_url":"https://avatars0.githubusercontent.com/u/45988564?v=4","gravatar_id":"","url":"https://api.github.com/users/suneelkumar45","html_url":"https://github.com/suneelkumar45","followers_url":"https://api.github.com/users/suneelkumar45/followers","following_url":"https://api.github.com/users/suneelkumar45/following{/other_user}","gists_url":"https://api.github.com/users/suneelkumar45/gists{/gist_id}","starred_url":"https://api.github.com/users/suneelkumar45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suneelkumar45/subscriptions","organizations_url":"https://api.github.com/users/suneelkumar45/orgs","repos_url":"https://api.github.com/users/suneelkumar45/repos","events_url":"https://api.github.com/users/suneelkumar45/events{/privacy}","received_events_url":"https://api.github.com/users/suneelkumar45/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T18:47:24Z","updated_at":"2018-12-24T18:47:24Z","author_association":"NONE","body":"Yes ...Jooq java generator ...generates the java code and annotates with @generated and @SuppressWarnings for each class. there is option in jooq to trun-off  generated annotation but not the supresswarnings. I suspect Groovy is complaining about the double quotes. is there a way can tell gmaven compiler not to do the strict validation? "}}
{"actor":{"display_login":"suneelkumar45"}}