pandurangpatil / gwt-mvn-helper Goto Github PK
View Code? Open in Web Editor NEWMaven plugin to help generate Request Factory and overlay type interfaces
Maven plugin to help generate Request Factory and overlay type interfaces
One need to keep all classes inside one maven artifact module. Which means I cannot keep few classes ( for which proxy interfaces need to be generated ) in one module. Generate proxy for those classes in respective module and keep other classes on another module which inturn refer to first on modules.
pattern(regexp = "^http[s]?[:][/][/][A-Za-z0-9]+(.[A-Za-z0-9]+)(.[A-Za-z]{2,})[:]?[\d][/]?(.?)", message = "invalidURL")
or
pattern(regexp = "\S+", message = "noWhiteSpace")
RequestFactory generator fails to generate respective Px interface as Thoughtworks library fails to parse the respective .java file with following error
[ERROR] Failed to generate Request Factory interface/s com.thoughtworks.qdox.parser.ParseException: Illegal escape character 'S' @[169,25] in file:/media/work/projects/3a4users/code/user-admin/user-persistence/src/main/java/open/pandurang/useradmin/persistance/server/entity/Application.java at com.thoughtworks.qdox.parser.impl.Parser.yyerror(Parser.java:1018) at com.thoughtworks.qdox.parser.impl.Parser.convertString(Parser.java:1126) at com.thoughtworks.qdox.parser.impl.Parser.toString(Parser.java:1233) at com.thoughtworks.qdox.parser.impl.Parser.yyparse(Parser.java:1800) at com.thoughtworks.qdox.parser.impl.Parser.parse(Parser.java:999) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:353) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:381) at com.thoughtworks.qdox.JavaDocBuilder.addSource(JavaDocBuilder.java:377) at com.thoughtworks.qdox.JavaDocBuilder.createSourceClass(JavaDocBuilder.java:152) at com.thoughtworks.qdox.JavaClassContext.getClassByName(JavaClassContext.java:59) at com.thoughtworks.qdox.model.Type.getJavaClass(Type.java:290) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getFinalTypeString(RequestFactoryMojo.java:744) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getMappedType(RequestFactoryMojo.java:655) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.generateEntityProxy(RequestFactoryMojo.java:588) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.scanAndGenerateRequestFactory(RequestFactoryMojo.java:303) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.execute(RequestFactoryMojo.java:241) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
mvn-helper-plugin:1.0-SNAPSHOT:requestFactory (default) @ mvn-helper-test --- [ERROR] Failed to generate Request Factory interface/s org.apache.maven.plugin.MojoExecutionException: Type "open.pandurang.gwt.requestfactory.helper.Enum.UserStatus" is nigther of supported type nor request factory proxy type at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getFinalTypeString(RequestFactoryMojo.java:759) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.getMappedType(RequestFactoryMojo.java:630) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.generateEntityProxy(RequestFactoryMojo.java:578) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.scanAndGenerateRequestFactory(RequestFactoryMojo.java:300) at open.pandurang.gwt.helper.requestfactory.RequestFactoryMojo.execute(RequestFactoryMojo.java:240) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.